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

Unified Diff: components/mus/ws/focus_controller_unittest.cc

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: . 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
Index: components/mus/ws/focus_controller_unittest.cc
diff --git a/components/mus/ws/focus_controller_unittest.cc b/components/mus/ws/focus_controller_unittest.cc
index 5c97936b0513476ad1f5bf2c4ca6d8c714cc8e1a..4f6630280b0c68a750fd9204b6fa644f558035e2 100644
--- a/components/mus/ws/focus_controller_unittest.cc
+++ b/components/mus/ws/focus_controller_unittest.cc
@@ -32,6 +32,11 @@ class TestFocusControllerDelegate : public FocusControllerDelegate {
private:
// FocusControllerDelegate:
+ bool CanHaveActiveChildren(ServerWindow* window) const override {
+ return true;
+ }
+ void OnActivationChanged(ServerWindow* old_active_window,
+ ServerWindow* new_active_window) override {}
void OnFocusChanged(ServerWindow* old_focused_window,
ServerWindow* new_focused_window) override {
change_count_++;

Powered by Google App Engine
This is Rietveld 408576698