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

Side by Side Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 26477002: Android WebView: post QuotaManager calls to UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing origin in url construction Created 7 years, 2 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 | Annotate | Revision Log
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/lib/main/aw_main_delegate.h" 5 #include "android_webview/lib/main/aw_main_delegate.h"
6 6
7 #include "android_webview/browser/aw_content_browser_client.h" 7 #include "android_webview/browser/aw_content_browser_client.h"
8 #include "android_webview/browser/gpu_memory_buffer_factory_impl.h" 8 #include "android_webview/browser/gpu_memory_buffer_factory_impl.h"
9 #include "android_webview/browser/in_process_view_renderer.h" 9 #include "android_webview/browser/in_process_view_renderer.h"
10 #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h" 10 #include "android_webview/browser/scoped_allow_wait_for_legacy_web_view_api.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 content_browser_client_.reset(new AwContentBrowserClient(this)); 122 content_browser_client_.reset(new AwContentBrowserClient(this));
123 return content_browser_client_.get(); 123 return content_browser_client_.get();
124 } 124 }
125 125
126 content::ContentRendererClient* 126 content::ContentRendererClient*
127 AwMainDelegate::CreateContentRendererClient() { 127 AwMainDelegate::CreateContentRendererClient() {
128 content_renderer_client_.reset(new AwContentRendererClient()); 128 content_renderer_client_.reset(new AwContentRendererClient());
129 return content_renderer_client_.get(); 129 return content_renderer_client_.get();
130 } 130 }
131 131
132 AwQuotaManagerBridge* AwMainDelegate::CreateAwQuotaManagerBridge( 132 scoped_refptr<AwQuotaManagerBridge> AwMainDelegate::CreateAwQuotaManagerBridge(
133 AwBrowserContext* browser_context) { 133 AwBrowserContext* browser_context) {
134 return new AwQuotaManagerBridgeImpl(browser_context); 134 return AwQuotaManagerBridgeImpl::Create(browser_context);
135 } 135 }
136 136
137 content::GeolocationPermissionContext* 137 content::GeolocationPermissionContext*
138 AwMainDelegate::CreateGeolocationPermission( 138 AwMainDelegate::CreateGeolocationPermission(
139 AwBrowserContext* browser_context) { 139 AwBrowserContext* browser_context) {
140 return AwGeolocationPermissionContext::Create(browser_context); 140 return AwGeolocationPermissionContext::Create(browser_context);
141 } 141 }
142 142
143 content::WebContentsViewDelegate* AwMainDelegate::CreateViewDelegate( 143 content::WebContentsViewDelegate* AwMainDelegate::CreateViewDelegate(
144 content::WebContents* web_contents) { 144 content::WebContents* web_contents) {
145 return AwWebContentsViewDelegate::Create(web_contents); 145 return AwWebContentsViewDelegate::Create(web_contents);
146 } 146 }
147 147
148 AwWebPreferencesPopulater* AwMainDelegate::CreateWebPreferencesPopulater() { 148 AwWebPreferencesPopulater* AwMainDelegate::CreateWebPreferencesPopulater() {
149 return new AwWebPreferencesPopulaterImpl(); 149 return new AwWebPreferencesPopulaterImpl();
150 } 150 }
151 151
152 } // namespace android_webview 152 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.h ('k') | android_webview/native/aw_quota_manager_bridge_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698