OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "content/public/browser/permission_type.h" | 8 #include "content/public/browser/permission_type.h" |
9 #include "content/shell/browser/shell_content_browser_client.h" | 9 #include "content/shell/browser/shell_content_browser_client.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 // ContentBrowserClient overrides. | 29 // ContentBrowserClient overrides. |
30 void RenderProcessWillLaunch(RenderProcessHost* host) override; | 30 void RenderProcessWillLaunch(RenderProcessHost* host) override; |
31 void RequestPermission( | 31 void RequestPermission( |
32 PermissionType permission, | 32 PermissionType permission, |
33 WebContents* web_contents, | 33 WebContents* web_contents, |
34 int bridge_id, | 34 int bridge_id, |
35 const GURL& requesting_frame, | 35 const GURL& requesting_frame, |
36 bool user_gesture, | 36 bool user_gesture, |
37 const base::Callback<void(bool)>& result_callback) override; | 37 const base::Callback<void(bool)>& result_callback) override; |
38 PlatformNotificationService* GetPlatformNotificationService() override; | 38 PlatformNotificationService* GetPlatformNotificationService() override; |
| 39 void GetAdditionalNavigatorConnectServices( |
| 40 const scoped_refptr<NavigatorConnectContext>& context) override; |
39 | 41 |
40 private: | 42 private: |
41 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_; | 43 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_; |
42 }; | 44 }; |
43 | 45 |
44 } // content | 46 } // content |
45 | 47 |
46 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ | 48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ |
OLD | NEW |