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

Side by Side Diff: extensions/shell/app/shell_main_delegate.h

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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 | « extensions/shell/app/shell_main.cc ('k') | extensions/shell/app/shell_main_delegate.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_APP_SHELL_MAIN_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
6 #define APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/app/content_main_delegate.h" 10 #include "content/public/app/content_main_delegate.h"
11 11
12 namespace content { 12 namespace content {
13 class BrowserContext; 13 class BrowserContext;
14 class ContentBrowserClient; 14 class ContentBrowserClient;
15 class ContentClient; 15 class ContentClient;
16 class ContentRendererClient; 16 class ContentRendererClient;
17 } 17 }
18 18
19 namespace apps { 19 namespace extensions {
20 class ShellBrowserMainDelegate; 20 class ShellBrowserMainDelegate;
21 class ShellRendererMainDelegate; 21 class ShellRendererMainDelegate;
22 22
23 class ShellMainDelegate : public content::ContentMainDelegate { 23 class ShellMainDelegate : public content::ContentMainDelegate {
24 public: 24 public:
25 ShellMainDelegate(); 25 ShellMainDelegate();
26 virtual ~ShellMainDelegate(); 26 virtual ~ShellMainDelegate();
27 27
28 // ContentMainDelegate implementation: 28 // ContentMainDelegate implementation:
29 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; 29 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
(...skipping 18 matching lines...) Expand all
48 // process needs data from resources.pak. 48 // process needs data from resources.pak.
49 static bool ProcessNeedsResourceBundle(const std::string& process_type); 49 static bool ProcessNeedsResourceBundle(const std::string& process_type);
50 50
51 scoped_ptr<content::ContentClient> content_client_; 51 scoped_ptr<content::ContentClient> content_client_;
52 scoped_ptr<content::ContentBrowserClient> browser_client_; 52 scoped_ptr<content::ContentBrowserClient> browser_client_;
53 scoped_ptr<content::ContentRendererClient> renderer_client_; 53 scoped_ptr<content::ContentRendererClient> renderer_client_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
56 }; 56 };
57 57
58 } // namespace apps 58 } // namespace extensions
59 59
60 #endif // APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 60 #endif // EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/app/shell_main.cc ('k') | extensions/shell/app/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698