| 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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 net::X509Certificate* cert, | 101 net::X509Certificate* cert, |
| 102 int render_process_id, | 102 int render_process_id, |
| 103 int render_view_id) OVERRIDE; | 103 int render_view_id) OVERRIDE; |
| 104 virtual void RequestDesktopNotificationPermission( | 104 virtual void RequestDesktopNotificationPermission( |
| 105 const GURL& source_origin, | 105 const GURL& source_origin, |
| 106 int callback_context, | 106 int callback_context, |
| 107 int render_process_id, | 107 int render_process_id, |
| 108 int render_view_id) OVERRIDE; | 108 int render_view_id) OVERRIDE; |
| 109 virtual WebKit::WebNotificationPresenter::Permission | 109 virtual WebKit::WebNotificationPresenter::Permission |
| 110 CheckDesktopNotificationPermission( | 110 CheckDesktopNotificationPermission( |
| 111 const GURL& source_url, | 111 const GURL& origin, |
| 112 const content::ResourceContext& context) OVERRIDE; | 112 const content::ResourceContext& context, |
| 113 int render_process_id) OVERRIDE; |
| 113 virtual void ShowDesktopNotification( | 114 virtual void ShowDesktopNotification( |
| 114 const DesktopNotificationHostMsg_Show_Params& params, | 115 const DesktopNotificationHostMsg_Show_Params& params, |
| 115 int render_process_id, | 116 int render_process_id, |
| 116 int render_view_id, | 117 int render_view_id, |
| 117 bool worker) OVERRIDE; | 118 bool worker) OVERRIDE; |
| 118 virtual void CancelDesktopNotification( | 119 virtual void CancelDesktopNotification( |
| 119 int render_process_id, | 120 int render_process_id, |
| 120 int render_view_id, | 121 int render_view_id, |
| 121 int notification_id) OVERRIDE; | 122 int notification_id) OVERRIDE; |
| 122 virtual bool CanCreateWindow( | 123 virtual bool CanCreateWindow( |
| 123 const GURL& source_url, | 124 const GURL& origin, |
| 124 WindowContainerType container_type, | 125 WindowContainerType container_type, |
| 125 const content::ResourceContext& context) OVERRIDE; | 126 const content::ResourceContext& context, |
| 127 int render_process_id) OVERRIDE; |
| 126 virtual std::string GetWorkerProcessTitle( | 128 virtual std::string GetWorkerProcessTitle( |
| 127 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 129 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
| 128 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; | 130 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; |
| 129 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 131 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 130 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 132 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
| 131 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; | 133 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; |
| 132 virtual net::NetLog* GetNetLog() OVERRIDE; | 134 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 133 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; | 135 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; |
| 134 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 136 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 135 virtual bool IsFastShutdownPossible() OVERRIDE; | 137 virtual bool IsFastShutdownPossible() OVERRIDE; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 166 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 168 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 167 #endif | 169 #endif |
| 168 | 170 |
| 169 private: | 171 private: |
| 170 ShellBrowserMainParts* shell_browser_main_parts_; | 172 ShellBrowserMainParts* shell_browser_main_parts_; |
| 171 }; | 173 }; |
| 172 | 174 |
| 173 } // namespace content | 175 } // namespace content |
| 174 | 176 |
| 175 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 177 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |