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

Unified Diff: components/mus/ws/focus_controller_observer.h

Issue 1459463004: mus: Allow the WM to specify the windows that can have active children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 5 years, 1 month 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 | « components/mus/ws/focus_controller_delegate.h ('k') | components/mus/ws/focus_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/focus_controller_observer.h
diff --git a/components/mus/ws/focus_controller_observer.h b/components/mus/ws/focus_controller_observer.h
index 015a51e7b99fa1da7bc2fee8408819d700d9f1ea..8edbae18c351eefcdc318e23f7a7d050f3bb36c6 100644
--- a/components/mus/ws/focus_controller_observer.h
+++ b/components/mus/ws/focus_controller_observer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_MUS_WS_FOCUS_CONTROLLER_DELEGATE_H_
-#define COMPONENTS_MUS_WS_FOCUS_CONTROLLER_DELEGATE_H_
+#ifndef COMPONENTS_MUS_WS_FOCUS_CONTROLLER_OBSERVER_H_
+#define COMPONENTS_MUS_WS_FOCUS_CONTROLLER_OBSERVER_H_
namespace mus {
namespace ws {
@@ -13,6 +13,8 @@ class ServerWindow;
class FocusControllerObserver {
public:
+ virtual void OnActivationChanged(ServerWindow* old_active_window,
+ ServerWindow* new_active_window) = 0;
virtual void OnFocusChanged(FocusControllerChangeSource change_source,
ServerWindow* old_focused_window,
ServerWindow* new_focused_window) = 0;
@@ -24,4 +26,4 @@ class FocusControllerObserver {
} // namespace ws
} // namespace mus
-#endif // COMPONENTS_MUS_WS_FOCUS_CONTROLLER_DELEGATE_H_
+#endif // COMPONENTS_MUS_WS_FOCUS_CONTROLLER_OBSERVER_H_
« no previous file with comments | « components/mus/ws/focus_controller_delegate.h ('k') | components/mus/ws/focus_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698