Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: ash/shell/content/client/shell_main_delegate.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shell/content/client/shell_content_browser_client.h ('k') | ash/shell/panel_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MAIN_DELEGATE_H_ 5 #ifndef ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_ 6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
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/app/content_main_delegate.h" 12 #include "content/public/app/content_main_delegate.h"
13 #include "content/shell/common/shell_content_client.h" 13 #include "content/shell/common/shell_content_client.h"
14 14
15 namespace content {
16 class ShellContentRendererClient;
17 class ShellContentUtilityClient;
18 }
19
20 namespace ash { 15 namespace ash {
21 namespace shell { 16 namespace shell {
22 17
23 class ShellContentBrowserClient; 18 class ShellContentBrowserClient;
24 19
25 class ShellMainDelegate : public content::ContentMainDelegate { 20 class ShellMainDelegate : public content::ContentMainDelegate {
26 public: 21 public:
27 ShellMainDelegate(); 22 ShellMainDelegate();
28 ~ShellMainDelegate() override; 23 ~ShellMainDelegate() override;
29 24
30 bool BasicStartupComplete(int* exit_code) override; 25 bool BasicStartupComplete(int* exit_code) override;
31 void PreSandboxStartup() override; 26 void PreSandboxStartup() override;
32 content::ContentBrowserClient* CreateContentBrowserClient() override; 27 content::ContentBrowserClient* CreateContentBrowserClient() override;
33 28
34 private: 29 private:
35 void InitializeResourceBundle(); 30 void InitializeResourceBundle();
36 31
37 std::unique_ptr<ShellContentBrowserClient> browser_client_; 32 std::unique_ptr<ShellContentBrowserClient> browser_client_;
38 content::ShellContentClient content_client_; 33 content::ShellContentClient content_client_;
39 34
40 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 35 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
41 }; 36 };
42 37
43 } // namespace shell 38 } // namespace shell
44 } // namespace ash 39 } // namespace ash
45 40
46 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_ 41 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/content/client/shell_content_browser_client.h ('k') | ash/shell/panel_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698