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

Side by Side Diff: chrome/browser/chrome_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
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool opener_suppressed, 201 bool opener_suppressed,
202 content::ResourceContext* context, 202 content::ResourceContext* context,
203 int render_process_id, 203 int render_process_id,
204 int opener_render_view_id, 204 int opener_render_view_id,
205 int opener_render_frame_id, 205 int opener_render_frame_id,
206 bool* no_javascript_access) override; 206 bool* no_javascript_access) override;
207 void ResourceDispatcherHostCreated() override; 207 void ResourceDispatcherHostCreated() override;
208 content::SpeechRecognitionManagerDelegate* 208 content::SpeechRecognitionManagerDelegate*
209 CreateSpeechRecognitionManagerDelegate() override; 209 CreateSpeechRecognitionManagerDelegate() override;
210 net::NetLog* GetNetLog() override; 210 net::NetLog* GetNetLog() override;
211 content::AccessTokenStore* CreateAccessTokenStore() override; 211
212 content::GeolocationProvider::Delegate* CreateGeolocationDelegate() override;
213
212 bool IsFastShutdownPossible() override; 214 bool IsFastShutdownPossible() override;
213 void OverrideWebkitPrefs(content::RenderViewHost* rvh, 215 void OverrideWebkitPrefs(content::RenderViewHost* rvh,
214 content::WebPreferences* prefs) override; 216 content::WebPreferences* prefs) override;
215 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; 217 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override;
216 void ClearCache(content::RenderFrameHost* rfh) override; 218 void ClearCache(content::RenderFrameHost* rfh) override;
217 void ClearCookies(content::RenderFrameHost* rfh) override; 219 void ClearCookies(content::RenderFrameHost* rfh) override;
218 base::FilePath GetDefaultDownloadDirectory() override; 220 base::FilePath GetDefaultDownloadDirectory() override;
219 std::string GetDefaultDownloadName() override; 221 std::string GetDefaultDownloadName() override;
220 base::FilePath GetShaderDiskCacheDirectory() override; 222 base::FilePath GetShaderDiskCacheDirectory() override;
221 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 223 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Vector of additional ChromeContentBrowserClientParts. 345 // Vector of additional ChromeContentBrowserClientParts.
344 // Parts are deleted in the reverse order they are added. 346 // Parts are deleted in the reverse order they are added.
345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 347 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
346 348
347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 349 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
348 350
349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
350 }; 352 };
351 353
352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698