OLD | NEW |
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 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void ShowDesktopNotification( | 131 virtual void ShowDesktopNotification( |
132 const content::ShowDesktopNotificationHostMsgParams& params, | 132 const content::ShowDesktopNotificationHostMsgParams& params, |
133 int render_process_id, | 133 int render_process_id, |
134 int render_view_id, | 134 int render_view_id, |
135 bool worker) OVERRIDE; | 135 bool worker) OVERRIDE; |
136 virtual void CancelDesktopNotification( | 136 virtual void CancelDesktopNotification( |
137 int render_process_id, | 137 int render_process_id, |
138 int render_view_id, | 138 int render_view_id, |
139 int notification_id) OVERRIDE; | 139 int notification_id) OVERRIDE; |
140 virtual bool CanCreateWindow( | 140 virtual bool CanCreateWindow( |
| 141 const GURL& opener_url, |
141 const GURL& origin, | 142 const GURL& origin, |
142 WindowContainerType container_type, | 143 WindowContainerType container_type, |
143 content::ResourceContext* context, | 144 content::ResourceContext* context, |
144 int render_process_id) OVERRIDE; | 145 int render_process_id) OVERRIDE; |
145 virtual std::string GetWorkerProcessTitle( | 146 virtual std::string GetWorkerProcessTitle( |
146 const GURL& url, content::ResourceContext* context) OVERRIDE; | 147 const GURL& url, content::ResourceContext* context) OVERRIDE; |
147 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 148 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
148 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; | 149 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; |
149 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 150 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
150 virtual net::NetLog* GetNetLog() OVERRIDE; | 151 virtual net::NetLog* GetNetLog() OVERRIDE; |
(...skipping 28 matching lines...) Expand all Loading... |
179 const GURL& url) OVERRIDE; | 180 const GURL& url) OVERRIDE; |
180 #endif | 181 #endif |
181 | 182 |
182 private: | 183 private: |
183 ShellBrowserMainParts* shell_browser_main_parts_; | 184 ShellBrowserMainParts* shell_browser_main_parts_; |
184 }; | 185 }; |
185 | 186 |
186 } // namespace content | 187 } // namespace content |
187 | 188 |
188 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |