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

Side by Side Diff: extensions/shell/browser/desktop_controller.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
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_BROWSER_DESKTOP_CONTROLLER_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_
6 #define EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_ 6 #define EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace aura {
11 class Window;
12 class WindowTreeHost;
13 }
14
15 namespace content { 10 namespace content {
16 class BrowserContext; 11 class BrowserContext;
17 } 12 }
18 13
19 namespace gfx { 14 namespace gfx {
20 class Size; 15 class Size;
21 } 16 }
22 17
23 namespace extensions { 18 namespace extensions {
24 class AppWindow; 19 class AppWindow;
25 class Extension; 20 class Extension;
26 class ShellAppWindow;
27 21
28 // DesktopController is an interface to construct the window environment in 22 // DesktopController is an interface to construct the window environment in
29 // extensions shell. ShellDesktopControllerAura provides a default 23 // extensions shell. ShellDesktopControllerAura provides a default
30 // implementation for app_shell, and other embedders can provide their own. 24 // implementation for app_shell, and other embedders can provide their own.
31 // TODO(jamescook|oshima): Clean up this interface now that there is only one 25 // TODO(jamescook|oshima): Clean up this interface now that there is only one
32 // way to create an app window. 26 // way to create an app window.
33 class DesktopController { 27 class DesktopController {
34 public: 28 public:
35 DesktopController(); 29 DesktopController();
36 virtual ~DesktopController(); 30 virtual ~DesktopController();
(...skipping 19 matching lines...) Expand all
56 // Removes the window from the desktop. 50 // Removes the window from the desktop.
57 virtual void RemoveAppWindow(AppWindow* window) = 0; 51 virtual void RemoveAppWindow(AppWindow* window) = 0;
58 52
59 // Closes and destroys the app windows. 53 // Closes and destroys the app windows.
60 virtual void CloseAppWindows() = 0; 54 virtual void CloseAppWindows() = 0;
61 }; 55 };
62 56
63 } // namespace extensions 57 } // namespace extensions
64 58
65 #endif // EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_ 59 #endif // EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « extensions/shell/app/shell_main_delegate.h ('k') | extensions/shell/browser/shell_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698