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

Unified Diff: ash/shell.h

Issue 2072853002: Implement "pinned" mode in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linux build breakage Created 4 years, 6 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: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index bb273232fa20c4616afcb859450cd5083a44f24e..c5ebd097c01bc96af29b152e35ed83eb54c75244 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -172,6 +172,10 @@ namespace test {
class ShellTestApi;
}
+namespace wm {
+class PinnedController;
+}
+
// Shell is a singleton object that presents the Shell API and implements the
// RootWindow's delegate interface.
//
@@ -588,8 +592,11 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
StickyKeysController* sticky_keys_controller() {
return sticky_keys_controller_.get();
}
+
#endif // defined(OS_CHROMEOS)
+ wm::PinnedController* pinned_controller() { return pinned_controller_.get(); }
+
ToastManager* toast_manager() { return toast_manager_.get(); }
GPUSupport* gpu_support() { return gpu_support_.get(); }
@@ -730,6 +737,7 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
display_configuration_controller_;
std::unique_ptr<LocaleNotificationController> locale_notification_controller_;
+ std::unique_ptr<wm::PinnedController> pinned_controller_;
#if defined(OS_CHROMEOS)
std::unique_ptr<PowerEventObserver> power_event_observer_;

Powered by Google App Engine
This is Rietveld 408576698