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 |