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

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

Issue 696063008: Refactor ShellDesktopController and ShellNativeAppWindow to allow for non-aura implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: + Created 6 years, 1 month 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 | « extensions/shell/BUILD.gn ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
6 #define EXTENSIONS_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"
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 ShellMainDelegate(); 24 ShellMainDelegate();
25 ~ShellMainDelegate() override; 25 ~ShellMainDelegate() override;
26 26
27 // ContentMainDelegate implementation: 27 // ContentMainDelegate implementation:
28 bool BasicStartupComplete(int* exit_code) override; 28 bool BasicStartupComplete(int* exit_code) override;
29 void PreSandboxStartup() override; 29 void PreSandboxStartup() override;
30 content::ContentBrowserClient* CreateContentBrowserClient() override; 30 content::ContentBrowserClient* CreateContentBrowserClient() override;
31 content::ContentRendererClient* CreateContentRendererClient() override; 31 content::ContentRendererClient* CreateContentRendererClient() override;
32 content::ContentUtilityClient* CreateContentUtilityClient() override; 32 content::ContentUtilityClient* CreateContentUtilityClient() override;
33 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) 33 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
34 !defined(OS_IOS)
34 void ZygoteStarting( 35 void ZygoteStarting(
35 ScopedVector<content::ZygoteForkDelegate>* delegates) override; 36 ScopedVector<content::ZygoteForkDelegate>* delegates) override;
36 #endif 37 #endif
37 38
38 protected: 39 protected:
39 // The created object is owned by this object. 40 // The created object is owned by this object.
40 virtual content::ContentClient* CreateContentClient(); 41 virtual content::ContentClient* CreateContentClient();
41 virtual content::ContentBrowserClient* CreateShellContentBrowserClient(); 42 virtual content::ContentBrowserClient* CreateShellContentBrowserClient();
42 virtual content::ContentRendererClient* CreateShellContentRendererClient(); 43 virtual content::ContentRendererClient* CreateShellContentRendererClient();
43 virtual content::ContentUtilityClient* CreateShellContentUtilityClient(); 44 virtual content::ContentUtilityClient* CreateShellContentUtilityClient();
(...skipping 10 matching lines...) Expand all
54 scoped_ptr<content::ContentBrowserClient> browser_client_; 55 scoped_ptr<content::ContentBrowserClient> browser_client_;
55 scoped_ptr<content::ContentRendererClient> renderer_client_; 56 scoped_ptr<content::ContentRendererClient> renderer_client_;
56 scoped_ptr<content::ContentUtilityClient> utility_client_; 57 scoped_ptr<content::ContentUtilityClient> utility_client_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 59 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
59 }; 60 };
60 61
61 } // namespace extensions 62 } // namespace extensions
62 63
63 #endif // EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_ 64 #endif // EXTENSIONS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/shell/BUILD.gn ('k') | extensions/shell/app/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698