| 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" | |
| 9 #include "content/shell/browser/shell_content_browser_client.h" | 8 #include "content/shell/browser/shell_content_browser_client.h" |
| 10 | 9 |
| 11 namespace content { | 10 namespace content { |
| 12 | 11 |
| 12 enum class PermissionType; |
| 13 class LayoutTestBrowserContext; | 13 class LayoutTestBrowserContext; |
| 14 class LayoutTestNotificationManager; | 14 class LayoutTestNotificationManager; |
| 15 | 15 |
| 16 class LayoutTestContentBrowserClient : public ShellContentBrowserClient { | 16 class LayoutTestContentBrowserClient : public ShellContentBrowserClient { |
| 17 public: | 17 public: |
| 18 // Gets the current instance. | 18 // Gets the current instance. |
| 19 static LayoutTestContentBrowserClient* Get(); | 19 static LayoutTestContentBrowserClient* Get(); |
| 20 | 20 |
| 21 LayoutTestContentBrowserClient(); | 21 LayoutTestContentBrowserClient(); |
| 22 ~LayoutTestContentBrowserClient() override; | 22 ~LayoutTestContentBrowserClient() override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 40 void GetAdditionalNavigatorConnectServices( | 40 void GetAdditionalNavigatorConnectServices( |
| 41 const scoped_refptr<NavigatorConnectContext>& context) override; | 41 const scoped_refptr<NavigatorConnectContext>& context) override; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_; | 44 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // content | 47 } // content |
| 48 | 48 |
| 49 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ | 49 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ |
| OLD | NEW |