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

Unified Diff: apps/shell/browser/shell_browser_main_delegate.h

Issue 308783002: Removes the dependency to WMTestHelper from app shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 6 years, 7 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
Index: apps/shell/browser/shell_browser_main_delegate.h
diff --git a/apps/shell/browser/shell_browser_main_delegate.h b/apps/shell/browser/shell_browser_main_delegate.h
index 52a3abba0e906449cf06cd704c340655e3a0b6f1..12c4fe1910d0c7aa99c98b9c63690a146b8de525 100644
--- a/apps/shell/browser/shell_browser_main_delegate.h
+++ b/apps/shell/browser/shell_browser_main_delegate.h
@@ -11,6 +11,8 @@ class BrowserContext;
namespace apps {
+class ShellDesktopController;
+
class ShellBrowserMainDelegate {
public:
virtual ~ShellBrowserMainDelegate() {}
@@ -22,6 +24,11 @@ class ShellBrowserMainDelegate {
// Called after the main message looop has stopped, but before
// other services such as BrowserContext / extension system are shut down.
virtual void Shutdown() = 0;
+
+ // Creates the ShellDesktopController instance to initialize the root window
+ // and window manager. Subclass may return its subclass to customize the
+ // windo wmanager.
+ virtual ShellDesktopController* CreateDesktopController() = 0;
};
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698