| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 virtual void ShowDesktopNotification( | 195 virtual void ShowDesktopNotification( |
| 196 const content::ShowDesktopNotificationHostMsgParams& params, | 196 const content::ShowDesktopNotificationHostMsgParams& params, |
| 197 content::RenderFrameHost* render_frame_host, | 197 content::RenderFrameHost* render_frame_host, |
| 198 scoped_ptr<content::DesktopNotificationDelegate> delegate, | 198 scoped_ptr<content::DesktopNotificationDelegate> delegate, |
| 199 base::Closure* cancel_callback) OVERRIDE; | 199 base::Closure* cancel_callback) OVERRIDE; |
| 200 virtual void RequestGeolocationPermission( | 200 virtual void RequestGeolocationPermission( |
| 201 content::WebContents* web_contents, | 201 content::WebContents* web_contents, |
| 202 int bridge_id, | 202 int bridge_id, |
| 203 const GURL& requesting_frame, | 203 const GURL& requesting_frame, |
| 204 bool user_gesture, | 204 bool user_gesture, |
| 205 base::Callback<void(bool)> result_callback, | 205 const base::Callback<void(bool)>& result_callback) OVERRIDE; |
| 206 base::Closure* cancel_callback) OVERRIDE; | 206 virtual void CancelGeolocationPermissionRequest( |
| 207 content::WebContents* web_contents, |
| 208 int bridge_id, |
| 209 const GURL& requesting_frame) OVERRIDE; |
| 207 virtual void RequestMidiSysExPermission( | 210 virtual void RequestMidiSysExPermission( |
| 208 content::WebContents* web_contents, | 211 content::WebContents* web_contents, |
| 209 int bridge_id, | 212 int bridge_id, |
| 210 const GURL& requesting_frame, | 213 const GURL& requesting_frame, |
| 211 bool user_gesture, | 214 bool user_gesture, |
| 212 base::Callback<void(bool)> result_callback, | 215 base::Callback<void(bool)> result_callback, |
| 213 base::Closure* cancel_callback) OVERRIDE; | 216 base::Closure* cancel_callback) OVERRIDE; |
| 214 virtual void DidUseGeolocationPermission(content::WebContents* web_contents, | 217 virtual void DidUseGeolocationPermission(content::WebContents* web_contents, |
| 215 const GURL& frame_url, | 218 const GURL& frame_url, |
| 216 const GURL& main_frame_url) OVERRIDE; | 219 const GURL& main_frame_url) OVERRIDE; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 352 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 350 | 353 |
| 351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 354 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 352 | 355 |
| 353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 356 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 354 }; | 357 }; |
| 355 | 358 |
| 356 } // namespace chrome | 359 } // namespace chrome |
| 357 | 360 |
| 358 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 361 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |