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

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

Issue 489763002: MacViews: Gets a webview working in views_examples_with_content_exe Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 6 years, 3 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "android_webview/browser/aw_web_preferences_populater.h" 8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 18 matching lines...) Expand all
29 29
30 // Overriden methods from ContentBrowserClient. 30 // Overriden methods from ContentBrowserClient.
31 virtual void AddCertificate(net::CertificateMimeType cert_type, 31 virtual void AddCertificate(net::CertificateMimeType cert_type,
32 const void* cert_data, 32 const void* cert_data,
33 size_t cert_size, 33 size_t cert_size,
34 int render_process_id, 34 int render_process_id,
35 int render_frame_id) OVERRIDE; 35 int render_frame_id) OVERRIDE;
36 virtual content::BrowserMainParts* CreateBrowserMainParts( 36 virtual content::BrowserMainParts* CreateBrowserMainParts(
37 const content::MainFunctionParams& parameters) OVERRIDE; 37 const content::MainFunctionParams& parameters) OVERRIDE;
38 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( 38 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
39 content::WebContents* web_contents) OVERRIDE; 39 content::WebContents* web_contents,
40 gfx::NativeView context) OVERRIDE;
40 virtual void RenderProcessWillLaunch( 41 virtual void RenderProcessWillLaunch(
41 content::RenderProcessHost* host) OVERRIDE; 42 content::RenderProcessHost* host) OVERRIDE;
42 virtual net::URLRequestContextGetter* CreateRequestContext( 43 virtual net::URLRequestContextGetter* CreateRequestContext(
43 content::BrowserContext* browser_context, 44 content::BrowserContext* browser_context,
44 content::ProtocolHandlerMap* protocol_handlers, 45 content::ProtocolHandlerMap* protocol_handlers,
45 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; 46 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
46 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 47 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
47 content::BrowserContext* browser_context, 48 content::BrowserContext* browser_context,
48 const base::FilePath& partition_path, 49 const base::FilePath& partition_path,
49 bool in_memory, 50 bool in_memory,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 184 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
184 185
185 JniDependencyFactory* native_factory_; 186 JniDependencyFactory* native_factory_;
186 187
187 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 188 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
188 }; 189 };
189 190
190 } // namespace android_webview 191 } // namespace android_webview
191 192
192 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 193 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698