OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | |
9 | |
10 #include "base/compiler_specific.h" | |
11 #include "content/public/browser/content_browser_client.h" | 8 #include "content/public/browser/content_browser_client.h" |
12 | 9 |
13 namespace content { | 10 namespace content { |
14 class ShellBrowserContext; | 11 class ShellBrowserContext; |
15 class ShellBrowserMainParts; | 12 class ShellBrowserMainParts; |
16 class ShellResourceDispatcherHostDelegate; | |
17 } | 13 } |
18 | 14 |
19 namespace ash { | 15 namespace wm { |
20 namespace shell { | 16 namespace shell { |
21 | 17 |
22 class ShellBrowserMainParts; | 18 class ShellBrowserMainParts; |
23 | 19 |
24 class ShellContentBrowserClient : public content::ContentBrowserClient { | 20 class ShellContentBrowserClient : public content::ContentBrowserClient { |
25 public: | 21 public: |
26 ShellContentBrowserClient(); | 22 ShellContentBrowserClient(); |
27 virtual ~ShellContentBrowserClient(); | 23 virtual ~ShellContentBrowserClient(); |
28 | 24 |
29 // Overridden from content::ContentBrowserClient: | 25 // Overridden from content::ContentBrowserClient: |
30 virtual content::BrowserMainParts* CreateBrowserMainParts( | 26 virtual content::BrowserMainParts* CreateBrowserMainParts( |
31 const content::MainFunctionParams& parameters) OVERRIDE; | 27 const content::MainFunctionParams& parameters) OVERRIDE; |
32 | 28 |
33 content::ShellBrowserContext* browser_context(); | 29 content::ShellBrowserContext* browser_context(); |
34 | 30 |
35 private: | 31 private: |
36 ShellBrowserMainParts* shell_browser_main_parts_; | 32 ShellBrowserMainParts* shell_browser_main_parts_; |
37 | 33 |
38 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); | 34 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |
39 }; | 35 }; |
40 | 36 |
41 } // namespace shell | 37 } // namespace shell |
42 } // namespace ash | 38 } // namespace wm |
43 | 39 |
44 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 40 #endif // WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |