OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 net::X509Certificate* cert, | 81 net::X509Certificate* cert, |
82 int render_process_id, | 82 int render_process_id, |
83 int render_view_id) OVERRIDE; | 83 int render_view_id) OVERRIDE; |
84 virtual void RequestDesktopNotificationPermission( | 84 virtual void RequestDesktopNotificationPermission( |
85 const GURL& source_origin, | 85 const GURL& source_origin, |
86 int callback_context, | 86 int callback_context, |
87 int render_process_id, | 87 int render_process_id, |
88 int render_view_id) OVERRIDE; | 88 int render_view_id) OVERRIDE; |
89 virtual WebKit::WebNotificationPresenter::Permission | 89 virtual WebKit::WebNotificationPresenter::Permission |
90 CheckDesktopNotificationPermission( | 90 CheckDesktopNotificationPermission( |
91 const GURL& source_url, | 91 const GURL& source_origin, |
92 const content::ResourceContext& context) OVERRIDE; | 92 const content::ResourceContext& context, |
| 93 int render_process_id) OVERRIDE; |
93 virtual void ShowDesktopNotification( | 94 virtual void ShowDesktopNotification( |
94 const DesktopNotificationHostMsg_Show_Params& params, | 95 const DesktopNotificationHostMsg_Show_Params& params, |
95 int render_process_id, | 96 int render_process_id, |
96 int render_view_id, | 97 int render_view_id, |
97 bool worker) OVERRIDE; | 98 bool worker) OVERRIDE; |
98 virtual void CancelDesktopNotification( | 99 virtual void CancelDesktopNotification( |
99 int render_process_id, | 100 int render_process_id, |
100 int render_view_id, | 101 int render_view_id, |
101 int notification_id) OVERRIDE; | 102 int notification_id) OVERRIDE; |
102 virtual bool CanCreateWindow( | 103 virtual bool CanCreateWindow( |
103 const GURL& source_url, | 104 const GURL& source_origin, |
104 WindowContainerType container_type, | 105 WindowContainerType container_type, |
105 const content::ResourceContext& context) OVERRIDE; | 106 const content::ResourceContext& context, |
| 107 int render_process_id) OVERRIDE; |
106 virtual std::string GetWorkerProcessTitle( | 108 virtual std::string GetWorkerProcessTitle( |
107 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 109 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
108 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; | 110 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; |
109 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 111 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
110 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 112 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
111 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; | 113 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; |
112 virtual net::NetLog* GetNetLog() OVERRIDE; | 114 virtual net::NetLog* GetNetLog() OVERRIDE; |
113 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; | 115 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; |
114 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 116 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
115 virtual bool IsFastShutdownPossible() OVERRIDE; | 117 virtual bool IsFastShutdownPossible() OVERRIDE; |
(...skipping 17 matching lines...) Expand all Loading... |
133 #if defined(USE_NSS) | 135 #if defined(USE_NSS) |
134 virtual | 136 virtual |
135 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 137 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
136 const GURL& url) OVERRIDE; | 138 const GURL& url) OVERRIDE; |
137 #endif | 139 #endif |
138 }; | 140 }; |
139 | 141 |
140 } // namespace chrome | 142 } // namespace chrome |
141 | 143 |
142 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 144 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |