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

Side by Side Diff: wm/shell/content_client/shell_content_browser_client.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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string>
9
10 #include "base/compiler_specific.h"
11 #include "content/public/browser/content_browser_client.h" 8 #include "content/public/browser/content_browser_client.h"
12 9
13 namespace content { 10 namespace content {
14 class ShellBrowserContext; 11 class ShellBrowserContext;
15 class ShellBrowserMainParts; 12 class ShellBrowserMainParts;
16 class ShellResourceDispatcherHostDelegate;
17 } 13 }
18 14
19 namespace ash { 15 namespace wm {
20 namespace shell { 16 namespace shell {
21 17
22 class ShellBrowserMainParts; 18 class ShellBrowserMainParts;
23 19
24 class ShellContentBrowserClient : public content::ContentBrowserClient { 20 class ShellContentBrowserClient : public content::ContentBrowserClient {
25 public: 21 public:
26 ShellContentBrowserClient(); 22 ShellContentBrowserClient();
27 virtual ~ShellContentBrowserClient(); 23 virtual ~ShellContentBrowserClient();
28 24
29 // Overridden from content::ContentBrowserClient: 25 // Overridden from content::ContentBrowserClient:
30 virtual content::BrowserMainParts* CreateBrowserMainParts( 26 virtual content::BrowserMainParts* CreateBrowserMainParts(
31 const content::MainFunctionParams& parameters) OVERRIDE; 27 const content::MainFunctionParams& parameters) OVERRIDE;
32 28
33 content::ShellBrowserContext* browser_context(); 29 content::ShellBrowserContext* browser_context();
34 30
35 private: 31 private:
36 ShellBrowserMainParts* shell_browser_main_parts_; 32 ShellBrowserMainParts* shell_browser_main_parts_;
37 33
38 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); 34 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient);
39 }; 35 };
40 36
41 } // namespace shell 37 } // namespace shell
42 } // namespace ash 38 } // namespace wm
43 39
44 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ 40 #endif // WM_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « wm/shell/content_client/shell_browser_main_parts.cc ('k') | wm/shell/content_client/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698