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

Side by Side Diff: wm/shell/content_client/shell_main_delegate.h

Issue 11485006: Add window manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Push gfx::AcceleratedWidget usage into platform specific code. Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_ 5 #ifndef WM_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_ 6 #define WM_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/app/content_main_delegate.h"
10 #include "content/shell/shell_content_client.h" 10 #include "content/shell/shell_content_client.h"
11 #include "content/public/app/content_main_delegate.h"
12 11
13 namespace content { 12 namespace wm {
14 class ShellContentRendererClient;
15 class ShellContentPluginClient;
16 class ShellContentUtilityClient;
17 }
18
19 namespace ash {
20 namespace shell { 13 namespace shell {
21 14
22 class ShellContentBrowserClient; 15 class ShellContentBrowserClient;
23 16
24 class ShellMainDelegate : public content::ContentMainDelegate { 17 class ShellMainDelegate : public content::ContentMainDelegate {
25 public: 18 public:
26 ShellMainDelegate(); 19 ShellMainDelegate();
27 virtual ~ShellMainDelegate(); 20 virtual ~ShellMainDelegate();
28 21
29 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; 22 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
30 virtual void PreSandboxStartup() OVERRIDE; 23 virtual void PreSandboxStartup() OVERRIDE;
31 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; 24 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
32 25
33 private: 26 private:
34 void InitializeResourceBundle(); 27 void InitializeResourceBundle();
35 28
36 scoped_ptr<ShellContentBrowserClient> browser_client_; 29 scoped_ptr<ShellContentBrowserClient> browser_client_;
37 content::ShellContentClient content_client_; 30 content::ShellContentClient content_client_;
38 31
39 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate); 32 DISALLOW_COPY_AND_ASSIGN(ShellMainDelegate);
40 }; 33 };
41 34
42 } // namespace shell 35 } // namespace shell
43 } // namespace ash 36 } // namespace wm
44 37
45 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_ 38 #endif // WM_SHELL_CONTENT_CLIENT_SHELL_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « wm/shell/content_client/shell_content_browser_client.cc ('k') | wm/shell/content_client/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698