| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 const GURL& source_origin, | 184 const GURL& source_origin, |
| 185 content::RenderFrameHost* render_frame_host, | 185 content::RenderFrameHost* render_frame_host, |
| 186 const base::Callback<void(blink::WebNotificationPermission)>& callback) | 186 const base::Callback<void(blink::WebNotificationPermission)>& callback) |
| 187 override; | 187 override; |
| 188 blink::WebNotificationPermission CheckDesktopNotificationPermission( | 188 blink::WebNotificationPermission CheckDesktopNotificationPermission( |
| 189 const GURL& source_origin, | 189 const GURL& source_origin, |
| 190 content::ResourceContext* context, | 190 content::ResourceContext* context, |
| 191 int render_process_id) override; | 191 int render_process_id) override; |
| 192 void ShowDesktopNotification( | 192 void ShowDesktopNotification( |
| 193 const content::ShowDesktopNotificationHostMsgParams& params, | 193 const content::ShowDesktopNotificationHostMsgParams& params, |
| 194 content::RenderFrameHost* render_frame_host, | 194 content::BrowserContext* browser_context, |
| 195 int render_process_id, |
| 195 scoped_ptr<content::DesktopNotificationDelegate> delegate, | 196 scoped_ptr<content::DesktopNotificationDelegate> delegate, |
| 196 base::Closure* cancel_callback) override; | 197 base::Closure* cancel_callback) override; |
| 197 void RequestGeolocationPermission( | 198 void RequestGeolocationPermission( |
| 198 content::WebContents* web_contents, | 199 content::WebContents* web_contents, |
| 199 int bridge_id, | 200 int bridge_id, |
| 200 const GURL& requesting_frame, | 201 const GURL& requesting_frame, |
| 201 bool user_gesture, | 202 bool user_gesture, |
| 202 const base::Callback<void(bool)>& result_callback) override; | 203 const base::Callback<void(bool)>& result_callback) override; |
| 203 void CancelGeolocationPermissionRequest( | 204 void CancelGeolocationPermissionRequest( |
| 204 content::WebContents* web_contents, | 205 content::WebContents* web_contents, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 345 | 346 |
| 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 347 | 348 |
| 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 349 }; | 350 }; |
| 350 | 351 |
| 351 } // namespace chrome | 352 } // namespace chrome |
| 352 | 353 |
| 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |