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

Unified Diff: mash/wm/root_windows_observer.h

Issue 1656123002: Moves accelerator registration to WindowManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mandoline Created 4 years, 11 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 | « mash/wm/root_window_controller.cc ('k') | mash/wm/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/root_windows_observer.h
diff --git a/mash/wm/root_windows_observer.h b/mash/wm/root_windows_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..5ce6547f883479548d8113b5d45f995e33967bb1
--- /dev/null
+++ b/mash/wm/root_windows_observer.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MASH_WM_ROOT_WINDOW_OBSERVERS_H_
+#define MASH_WM_ROOT_WINDOW_OBSERVERS_H_
+
+namespace mash {
+namespace wm {
+
+class RootWindowController;
+
+class RootWindowsObserver {
+ public:
+ // Called once a new display has been created and the root Window obtained.
+ virtual void OnRootWindowControllerAdded(
+ RootWindowController* controller) = 0;
+
+ protected:
+ ~RootWindowsObserver() {}
+};
+
+} // namespace wm
+} // namespace mash
+
+#endif // MASH_WM_ROOT_WINDOW_OBSERVERS_H_
« no previous file with comments | « mash/wm/root_window_controller.cc ('k') | mash/wm/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698