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

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

Issue 2098553002: Geolocation: extract ContentBrowserClient methods specific to Geolocation into a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a TODO Created 4 years, 5 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
« 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const blink::WebWindowFeatures& features, 101 const blink::WebWindowFeatures& features,
102 bool user_gesture, 102 bool user_gesture,
103 bool opener_suppressed, 103 bool opener_suppressed,
104 content::ResourceContext* context, 104 content::ResourceContext* context,
105 int render_process_id, 105 int render_process_id,
106 int opener_render_view_id, 106 int opener_render_view_id,
107 int opener_render_frame_id, 107 int opener_render_frame_id,
108 bool* no_javascript_access) override; 108 bool* no_javascript_access) override;
109 void ResourceDispatcherHostCreated() override; 109 void ResourceDispatcherHostCreated() override;
110 net::NetLog* GetNetLog() override; 110 net::NetLog* GetNetLog() override;
111 content::AccessTokenStore* CreateAccessTokenStore() override; 111 content::GeolocationProvider::Delegate* CreateGeolocationDelegate() override;
112 bool IsFastShutdownPossible() override; 112 bool IsFastShutdownPossible() override;
113 void ClearCache(content::RenderFrameHost* rfh) override; 113 void ClearCache(content::RenderFrameHost* rfh) override;
114 void ClearCookies(content::RenderFrameHost* rfh) override; 114 void ClearCookies(content::RenderFrameHost* rfh) override;
115 base::FilePath GetDefaultDownloadDirectory() override; 115 base::FilePath GetDefaultDownloadDirectory() override;
116 std::string GetDefaultDownloadName() override; 116 std::string GetDefaultDownloadName() override;
117 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 117 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
118 bool AllowPepperSocketAPI( 118 bool AllowPepperSocketAPI(
119 content::BrowserContext* browser_context, 119 content::BrowserContext* browser_context,
120 const GURL& url, 120 const GURL& url,
121 bool private_api, 121 bool private_api,
(...skipping 22 matching lines...) Expand all
144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
145 145
146 JniDependencyFactory* native_factory_; 146 JniDependencyFactory* native_factory_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
149 }; 149 };
150 150
151 } // namespace android_webview 151 } // namespace android_webview
152 152
153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 153 #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