~abreu-alexandre/oxide/add-ua-to-downloadrequested

« back to all changes in this revision

Viewing changes to qt/core/browser/oxide_qt_web_context.cc

  • Committer: Chris Coulson
  • Date: 2014-11-13 09:17:40 UTC
  • Revision ID: chris.coulson@canonical.com-20141113091740-gs4lqu055sijwf05
Disable WebView.incognito in single-process mode - it won't work anyway

Show diffs side-by-side

added added

removed removed

Lines of Context:
499
499
}
500
500
 
501
501
// static
 
502
WebContext* WebContext::GetDefault() {
 
503
  WebContextAdapter* adapter = WebContextAdapter::GetDefault();
 
504
  if (!adapter) {
 
505
    return NULL;
 
506
  }
 
507
 
 
508
  return FromAdapter(adapter);
 
509
}
 
510
 
 
511
// static
502
512
void WebContext::DestroyDefault() {
503
513
  WebContextAdapter::DestroyDefault();
504
514
}