Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: android_webview/browser/aw_content_browser_client.cc

Issue 468033002: Remove worker process related codes from ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/aw_content_browser_client.h" 5 #include "android_webview/browser/aw_content_browser_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_browser_main_parts.h" 8 #include "android_webview/browser/aw_browser_main_parts.h"
9 #include "android_webview/browser/aw_browser_permission_request_delegate.h" 9 #include "android_webview/browser/aw_browser_permission_request_delegate.h"
10 #include "android_webview/browser/aw_contents_client_bridge_base.h" 10 #include "android_webview/browser/aw_contents_client_bridge_base.h"
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 // AwContentsClient.onCreateWindow callback). 496 // AwContentsClient.onCreateWindow callback).
497 // Note that if the embedder has blocked support for creating popup 497 // Note that if the embedder has blocked support for creating popup
498 // windows through AwSettings, then we won't get to this point as 498 // windows through AwSettings, then we won't get to this point as
499 // the popup creation will have been blocked at the WebKit level. 499 // the popup creation will have been blocked at the WebKit level.
500 if (no_javascript_access) { 500 if (no_javascript_access) {
501 *no_javascript_access = false; 501 *no_javascript_access = false;
502 } 502 }
503 return true; 503 return true;
504 } 504 }
505 505
506 std::string AwContentBrowserClient::GetWorkerProcessTitle(const GURL& url,
507 content::ResourceContext* context) {
508 NOTREACHED() << "Android WebView does not yet support web workers.";
509 return std::string();
510 }
511
512
513 void AwContentBrowserClient::ResourceDispatcherHostCreated() { 506 void AwContentBrowserClient::ResourceDispatcherHostCreated() {
514 AwResourceDispatcherHostDelegate::ResourceDispatcherHostCreated(); 507 AwResourceDispatcherHostDelegate::ResourceDispatcherHostCreated();
515 } 508 }
516 509
517 net::NetLog* AwContentBrowserClient::GetNetLog() { 510 net::NetLog* AwContentBrowserClient::GetNetLog() {
518 // TODO(boliu): Implement AwNetLog. 511 // TODO(boliu): Implement AwNetLog.
519 return NULL; 512 return NULL;
520 } 513 }
521 514
522 content::AccessTokenStore* AwContentBrowserClient::CreateAccessTokenStore() { 515 content::AccessTokenStore* AwContentBrowserClient::CreateAccessTokenStore() {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 582
590 #if defined(VIDEO_HOLE) 583 #if defined(VIDEO_HOLE)
591 content::ExternalVideoSurfaceContainer* 584 content::ExternalVideoSurfaceContainer*
592 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 585 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
593 content::WebContents* web_contents) { 586 content::WebContents* web_contents) {
594 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents); 587 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents);
595 } 588 }
596 #endif 589 #endif
597 590
598 } // namespace android_webview 591 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698