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