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

Side by Side Diff: apps/shell/browser/shell_browser_main_parts.h

Issue 171523005: BACKUP: NativeAppWindowView - before splitting CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « apps/shell/browser/shell_apps_client.cc ('k') | apps/shell/browser/shell_browser_main_parts.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
6 #define APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 6 #define APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 namespace net { 33 namespace net {
34 class NetLog; 34 class NetLog;
35 } 35 }
36 36
37 namespace wm { 37 namespace wm {
38 class WMTestHelper; 38 class WMTestHelper;
39 } 39 }
40 40
41 namespace apps { 41 namespace apps {
42 42
43 class ShellAppsClient;
43 class ShellBrowserContext; 44 class ShellBrowserContext;
44 class ShellExtensionsClient; 45 class ShellExtensionsClient;
45 46
46 // Handles initialization of AppShell. 47 // Handles initialization of AppShell.
47 class ShellBrowserMainParts : public content::BrowserMainParts, 48 class ShellBrowserMainParts : public content::BrowserMainParts,
48 public aura::RootWindowObserver { 49 public aura::RootWindowObserver {
49 public: 50 public:
50 explicit ShellBrowserMainParts( 51 explicit ShellBrowserMainParts(
51 const content::MainFunctionParams& parameters); 52 const content::MainFunctionParams& parameters);
52 virtual ~ShellBrowserMainParts(); 53 virtual ~ShellBrowserMainParts();
(...skipping 30 matching lines...) Expand all
83 void CreateViewsDelegate(); 84 void CreateViewsDelegate();
84 void DestroyViewsDelegate(); 85 void DestroyViewsDelegate();
85 86
86 // Creates and initializes the ExtensionSystem. 87 // Creates and initializes the ExtensionSystem.
87 void CreateExtensionSystem(); 88 void CreateExtensionSystem();
88 89
89 scoped_ptr<ShellBrowserContext> browser_context_; 90 scoped_ptr<ShellBrowserContext> browser_context_;
90 scoped_ptr<ShellExtensionsClient> extensions_client_; 91 scoped_ptr<ShellExtensionsClient> extensions_client_;
91 scoped_ptr<extensions::ShellExtensionsBrowserClient> 92 scoped_ptr<extensions::ShellExtensionsBrowserClient>
92 extensions_browser_client_; 93 extensions_browser_client_;
94 scoped_ptr<ShellAppsClient> apps_client_;
93 scoped_ptr<net::NetLog> net_log_; 95 scoped_ptr<net::NetLog> net_log_;
94 96
95 // Enable a minimal set of views::corewm to be initialized. 97 // Enable a minimal set of views::corewm to be initialized.
96 scoped_ptr<wm::WMTestHelper> wm_test_helper_; 98 scoped_ptr<wm::WMTestHelper> wm_test_helper_;
97 99
98 scoped_ptr<aura::TestScreen> test_screen_; 100 scoped_ptr<aura::TestScreen> test_screen_;
99 101
100 scoped_ptr<views::Widget> webview_window_; 102 scoped_ptr<views::Widget> webview_window_;
101 103
102 scoped_ptr<content::ShellDevToolsDelegate> devtools_delegate_; 104 scoped_ptr<content::ShellDevToolsDelegate> devtools_delegate_;
103 105
104 // Owned by the BrowserContextKeyedService system. 106 // Owned by the BrowserContextKeyedService system.
105 extensions::ShellExtensionSystem* extension_system_; 107 extensions::ShellExtensionSystem* extension_system_;
106 108
107 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 109 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
108 }; 110 };
109 111
110 } // namespace apps 112 } // namespace apps
111 113
112 #endif // APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 114 #endif // APPS_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « apps/shell/browser/shell_apps_client.cc ('k') | apps/shell/browser/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698