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/shell/browser/shell_content_browser_client.h" | 8 #include "content/shell/browser/shell_content_browser_client.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 10 matching lines...) Expand all Loading... |
21 ~LayoutTestContentBrowserClient() override; | 21 ~LayoutTestContentBrowserClient() override; |
22 | 22 |
23 LayoutTestBrowserContext* GetLayoutTestBrowserContext(); | 23 LayoutTestBrowserContext* GetLayoutTestBrowserContext(); |
24 | 24 |
25 // Implements the PlatformNotificationService interface. | 25 // Implements the PlatformNotificationService interface. |
26 LayoutTestNotificationManager* GetLayoutTestNotificationManager(); | 26 LayoutTestNotificationManager* GetLayoutTestNotificationManager(); |
27 | 27 |
28 // ContentBrowserClient overrides. | 28 // ContentBrowserClient overrides. |
29 void RenderProcessWillLaunch(RenderProcessHost* host) override; | 29 void RenderProcessWillLaunch(RenderProcessHost* host) override; |
30 void ExposeInterfacesToRenderer( | 30 void ExposeInterfacesToRenderer( |
31 service_manager::InterfaceRegistry* registry, | 31 service_manager::BinderRegistry* registry, |
32 RenderProcessHost* render_process_host) override; | 32 RenderProcessHost* render_process_host) override; |
33 void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 33 void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
34 WebPreferences* prefs) override; | 34 WebPreferences* prefs) override; |
35 void ResourceDispatcherHostCreated() override; | 35 void ResourceDispatcherHostCreated() override; |
36 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 36 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
37 int child_process_id) override; | 37 int child_process_id) override; |
38 BrowserMainParts* CreateBrowserMainParts( | 38 BrowserMainParts* CreateBrowserMainParts( |
39 const MainFunctionParams& parameters) override; | 39 const MainFunctionParams& parameters) override; |
40 void GetQuotaSettings( | 40 void GetQuotaSettings( |
41 content::BrowserContext* context, | 41 content::BrowserContext* context, |
42 content::StoragePartition* partition, | 42 content::StoragePartition* partition, |
43 const storage::OptionalQuotaSettingsCallback& callback) override; | 43 const storage::OptionalQuotaSettingsCallback& callback) override; |
44 | 44 |
45 PlatformNotificationService* GetPlatformNotificationService() override; | 45 PlatformNotificationService* GetPlatformNotificationService() override; |
46 | 46 |
47 private: | 47 private: |
48 std::unique_ptr<LayoutTestNotificationManager> | 48 std::unique_ptr<LayoutTestNotificationManager> |
49 layout_test_notification_manager_; | 49 layout_test_notification_manager_; |
50 }; | 50 }; |
51 | 51 |
52 } // content | 52 } // content |
53 | 53 |
54 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ | 54 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_
H_ |
OLD | NEW |