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

Unified Diff: extensions/shell/browser/desktop_controller.h

Issue 547593002: Add ShellAppsClient, ShellAppDelegate, ShellNativeAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apifeatures
Patch Set: Add missing virtual Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/desktop_controller.h
diff --git a/extensions/shell/browser/desktop_controller.h b/extensions/shell/browser/desktop_controller.h
index 950320c646c55ce38c8f8f50262610469f369f7b..54f01062492e59225fd999c8bfc0608331f83f5f 100644
--- a/extensions/shell/browser/desktop_controller.h
+++ b/extensions/shell/browser/desktop_controller.h
@@ -6,6 +6,7 @@
#define EXTENSIONS_SHELL_BROWSER_DESKTOP_CONTROLLER_H_
namespace aura {
+class Window;
class WindowTreeHost;
}
@@ -40,6 +41,9 @@ class DesktopController {
virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context,
const Extension* extension) = 0;
+ // Attaches the window to our window hierarchy.
+ virtual void AddAppWindow(aura::Window* window) = 0;
+
// Closes and destroys the app windows.
virtual void CloseAppWindows() = 0;
};
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698