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
3 // found in the LICENSE file.
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_
8 #include "content/shell/browser/shell_content_browser_client.h"
12 class LayoutTestBrowserContext
;
13 class LayoutTestNotificationManager
;
15 class LayoutTestContentBrowserClient
: public ShellContentBrowserClient
{
17 // Gets the current instance.
18 static LayoutTestContentBrowserClient
* Get();
20 LayoutTestContentBrowserClient();
21 ~LayoutTestContentBrowserClient() override
;
23 LayoutTestBrowserContext
* GetLayoutTestBrowserContext();
25 // Implements the PlatformNotificationService interface.
26 LayoutTestNotificationManager
* GetLayoutTestNotificationManager();
28 // ContentBrowserClient overrides.
29 void RenderProcessWillLaunch(RenderProcessHost
* host
) override
;
31 PlatformNotificationService
* GetPlatformNotificationService() override
;
32 void GetAdditionalNavigatorConnectServices(
33 const scoped_refptr
<NavigatorConnectContext
>& context
) override
;
36 scoped_ptr
<LayoutTestNotificationManager
> layout_test_notification_manager_
;
41 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_