| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 const base::Callback<void(blink::WebNotificationPermission)>& callback) | 191 const base::Callback<void(blink::WebNotificationPermission)>& callback) |
| 192 OVERRIDE; | 192 OVERRIDE; |
| 193 virtual blink::WebNotificationPermission | 193 virtual blink::WebNotificationPermission |
| 194 CheckDesktopNotificationPermission( | 194 CheckDesktopNotificationPermission( |
| 195 const GURL& source_origin, | 195 const GURL& source_origin, |
| 196 content::ResourceContext* context, | 196 content::ResourceContext* context, |
| 197 int render_process_id) OVERRIDE; | 197 int render_process_id) OVERRIDE; |
| 198 virtual void ShowDesktopNotification( | 198 virtual void ShowDesktopNotification( |
| 199 const content::ShowDesktopNotificationHostMsgParams& params, | 199 const content::ShowDesktopNotificationHostMsgParams& params, |
| 200 content::RenderFrameHost* render_frame_host, | 200 content::RenderFrameHost* render_frame_host, |
| 201 content::DesktopNotificationDelegate* delegate, | 201 scoped_ptr<content::DesktopNotificationDelegate> delegate, |
| 202 base::Closure* cancel_callback) OVERRIDE; | 202 base::Closure* cancel_callback) OVERRIDE; |
| 203 virtual void RequestGeolocationPermission( | 203 virtual void RequestGeolocationPermission( |
| 204 content::WebContents* web_contents, | 204 content::WebContents* web_contents, |
| 205 int bridge_id, | 205 int bridge_id, |
| 206 const GURL& requesting_frame, | 206 const GURL& requesting_frame, |
| 207 bool user_gesture, | 207 bool user_gesture, |
| 208 base::Callback<void(bool)> result_callback, | 208 base::Callback<void(bool)> result_callback, |
| 209 base::Closure* cancel_callback) OVERRIDE; | 209 base::Closure* cancel_callback) OVERRIDE; |
| 210 virtual void RequestMidiSysExPermission( | 210 virtual void RequestMidiSysExPermission( |
| 211 content::WebContents* web_contents, | 211 content::WebContents* web_contents, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 353 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 354 | 354 |
| 355 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 355 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 356 | 356 |
| 357 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 357 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 358 }; | 358 }; |
| 359 | 359 |
| 360 } // namespace chrome | 360 } // namespace chrome |
| 361 | 361 |
| 362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |