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 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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 virtual void ShowDesktopNotification( | 187 virtual void ShowDesktopNotification( |
188 const content::ShowDesktopNotificationHostMsgParams& params, | 188 const content::ShowDesktopNotificationHostMsgParams& params, |
189 int render_process_id, | 189 int render_process_id, |
190 int render_view_id, | 190 int render_view_id, |
191 bool worker) OVERRIDE; | 191 bool worker) OVERRIDE; |
192 virtual void CancelDesktopNotification( | 192 virtual void CancelDesktopNotification( |
193 int render_process_id, | 193 int render_process_id, |
194 int render_view_id, | 194 int render_view_id, |
195 int notification_id) OVERRIDE; | 195 int notification_id) OVERRIDE; |
196 virtual bool CanCreateWindow(const GURL& opener_url, | 196 virtual bool CanCreateWindow(const GURL& opener_url, |
| 197 const GURL& opener_top_level_frame_url, |
197 const GURL& source_origin, | 198 const GURL& source_origin, |
198 WindowContainerType container_type, | 199 WindowContainerType container_type, |
199 const GURL& target_url, | 200 const GURL& target_url, |
200 const content::Referrer& referrer, | 201 const content::Referrer& referrer, |
201 WindowOpenDisposition disposition, | 202 WindowOpenDisposition disposition, |
202 const WebKit::WebWindowFeatures& features, | 203 const WebKit::WebWindowFeatures& features, |
203 bool user_gesture, | 204 bool user_gesture, |
204 bool opener_suppressed, | 205 bool opener_suppressed, |
205 content::ResourceContext* context, | 206 content::ResourceContext* context, |
206 int render_process_id, | 207 int render_process_id, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 #endif | 272 #endif |
272 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 273 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
273 permissions_policy_delegate_; | 274 permissions_policy_delegate_; |
274 | 275 |
275 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 276 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
276 }; | 277 }; |
277 | 278 |
278 } // namespace chrome | 279 } // namespace chrome |
279 | 280 |
280 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 281 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |