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

Side by Side Diff: content/shell/browser/shell_content_browser_client.h

Issue 1011953003: Refactor Permissions related method out of ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_type_enum_class
Patch Set: fix cros Created 5 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void ResourceDispatcherHostCreated() override; 51 void ResourceDispatcherHostCreated() override;
52 AccessTokenStore* CreateAccessTokenStore() override; 52 AccessTokenStore* CreateAccessTokenStore() override;
53 std::string GetDefaultDownloadName() override; 53 std::string GetDefaultDownloadName() override;
54 WebContentsViewDelegate* GetWebContentsViewDelegate( 54 WebContentsViewDelegate* GetWebContentsViewDelegate(
55 WebContents* web_contents) override; 55 WebContents* web_contents) override;
56 QuotaPermissionContext* CreateQuotaPermissionContext() override; 56 QuotaPermissionContext* CreateQuotaPermissionContext() override;
57 void SelectClientCertificate( 57 void SelectClientCertificate(
58 WebContents* web_contents, 58 WebContents* web_contents,
59 net::SSLCertRequestInfo* cert_request_info, 59 net::SSLCertRequestInfo* cert_request_info,
60 scoped_ptr<ClientCertificateDelegate> delegate) override; 60 scoped_ptr<ClientCertificateDelegate> delegate) override;
61 void RequestPermission(
62 PermissionType permission,
63 WebContents* web_contents,
64 int bridge_id,
65 const GURL& requesting_frame,
66 bool user_gesture,
67 const base::Callback<void(PermissionStatus)>& callback) override;
68 61
69 SpeechRecognitionManagerDelegate* CreateSpeechRecognitionManagerDelegate() 62 SpeechRecognitionManagerDelegate* CreateSpeechRecognitionManagerDelegate()
70 override; 63 override;
71 net::NetLog* GetNetLog() override; 64 net::NetLog* GetNetLog() override;
72 bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context, 65 bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context,
73 const GURL& current_url, 66 const GURL& current_url,
74 const GURL& new_url) override; 67 const GURL& new_url) override;
75 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 68 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
76 69
77 void OpenURL(BrowserContext* browser_context, 70 void OpenURL(BrowserContext* browser_context,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 #endif 110 #endif
118 111
119 base::Closure select_client_certificate_callback_; 112 base::Closure select_client_certificate_callback_;
120 113
121 ShellBrowserMainParts* shell_browser_main_parts_; 114 ShellBrowserMainParts* shell_browser_main_parts_;
122 }; 115 };
123 116
124 } // namespace content 117 } // namespace content
125 118
126 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 119 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_browser_context.cc ('k') | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698