| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 content::RenderFrameHost* render_frame_host, | 209 content::RenderFrameHost* render_frame_host, |
| 210 content::DesktopNotificationDelegate* delegate, | 210 content::DesktopNotificationDelegate* delegate, |
| 211 base::Closure* cancel_callback) OVERRIDE; | 211 base::Closure* cancel_callback) OVERRIDE; |
| 212 virtual void RequestGeolocationPermission( | 212 virtual void RequestGeolocationPermission( |
| 213 content::WebContents* web_contents, | 213 content::WebContents* web_contents, |
| 214 int bridge_id, | 214 int bridge_id, |
| 215 const GURL& requesting_frame, | 215 const GURL& requesting_frame, |
| 216 bool user_gesture, | 216 bool user_gesture, |
| 217 base::Callback<void(bool)> result_callback, | 217 base::Callback<void(bool)> result_callback, |
| 218 base::Closure* cancel_callback) OVERRIDE; | 218 base::Closure* cancel_callback) OVERRIDE; |
| 219 virtual void RequestMidiSysExPermission( |
| 220 content::WebContents* web_contents, |
| 221 int bridge_id, |
| 222 const GURL& requesting_frame, |
| 223 bool user_gesture, |
| 224 base::Callback<void(bool)> result_callback, |
| 225 base::Closure* cancel_callback) OVERRIDE; |
| 219 virtual bool CanCreateWindow(const GURL& opener_url, | 226 virtual bool CanCreateWindow(const GURL& opener_url, |
| 220 const GURL& opener_top_level_frame_url, | 227 const GURL& opener_top_level_frame_url, |
| 221 const GURL& source_origin, | 228 const GURL& source_origin, |
| 222 WindowContainerType container_type, | 229 WindowContainerType container_type, |
| 223 const GURL& target_url, | 230 const GURL& target_url, |
| 224 const content::Referrer& referrer, | 231 const content::Referrer& referrer, |
| 225 WindowOpenDisposition disposition, | 232 WindowOpenDisposition disposition, |
| 226 const blink::WebWindowFeatures& features, | 233 const blink::WebWindowFeatures& features, |
| 227 bool user_gesture, | 234 bool user_gesture, |
| 228 bool opener_suppressed, | 235 bool opener_suppressed, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 prerender::PrerenderTracker* prerender_tracker_; | 324 prerender::PrerenderTracker* prerender_tracker_; |
| 318 | 325 |
| 319 friend class DisableWebRtcEncryptionFlagTest; | 326 friend class DisableWebRtcEncryptionFlagTest; |
| 320 | 327 |
| 321 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 328 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 322 }; | 329 }; |
| 323 | 330 |
| 324 } // namespace chrome | 331 } // namespace chrome |
| 325 | 332 |
| 326 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 333 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |