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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2197613003: gpu: Introduce GpuChannelEstablishFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge Created 4 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_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 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 content::WebPreferences* prefs) override; 215 content::WebPreferences* prefs) override;
216 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; 216 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override;
217 void ClearCache(content::RenderFrameHost* rfh) override; 217 void ClearCache(content::RenderFrameHost* rfh) override;
218 void ClearCookies(content::RenderFrameHost* rfh) override; 218 void ClearCookies(content::RenderFrameHost* rfh) override;
219 base::FilePath GetDefaultDownloadDirectory() override; 219 base::FilePath GetDefaultDownloadDirectory() override;
220 std::string GetDefaultDownloadName() override; 220 std::string GetDefaultDownloadName() override;
221 base::FilePath GetShaderDiskCacheDirectory() override; 221 base::FilePath GetShaderDiskCacheDirectory() override;
222 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 222 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
223 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 223 content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
224 int plugin_process_id) override; 224 int plugin_process_id) override;
225 gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory() override;
225 bool AllowPepperSocketAPI( 226 bool AllowPepperSocketAPI(
226 content::BrowserContext* browser_context, 227 content::BrowserContext* browser_context,
227 const GURL& url, 228 const GURL& url,
228 bool private_api, 229 bool private_api,
229 const content::SocketPermissionRequest* params) override; 230 const content::SocketPermissionRequest* params) override;
230 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, 231 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context,
231 const GURL& url) override; 232 const GURL& url) override;
232 std::unique_ptr<content::VpnServiceProxy> GetVpnServiceProxy( 233 std::unique_ptr<content::VpnServiceProxy> GetVpnServiceProxy(
233 content::BrowserContext* browser_context) override; 234 content::BrowserContext* browser_context) override;
234 ui::SelectFilePolicy* CreateSelectFilePolicy( 235 ui::SelectFilePolicy* CreateSelectFilePolicy(
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // Vector of additional ChromeContentBrowserClientParts. 345 // Vector of additional ChromeContentBrowserClientParts.
345 // Parts are deleted in the reverse order they are added. 346 // Parts are deleted in the reverse order they are added.
346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 347 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
347 348
348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 349 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
349 350
350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
351 }; 352 };
352 353
353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698