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

Unified Diff: ui/views/window/custom_frame_view.cc

Issue 2613613002: Hook up proper FocusController for simple_wm. (Closed)
Patch Set: Created 3 years, 12 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
« mash/simple_wm/simple_wm.cc ('K') | « ui/views/window/custom_frame_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/custom_frame_view.cc
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc
index fe392518a1e8f9f879800b8cf8d94b3c9378314f..bac98a4181af8df101cb57b90c406e25a584f47d 100644
--- a/ui/views/window/custom_frame_view.cc
+++ b/ui/views/window/custom_frame_view.cc
@@ -207,6 +207,13 @@ void CustomFrameView::SizeConstraintsChanged() {
LayoutWindowControls();
}
+void CustomFrameView::ActivationChanged(bool active) {
+ if (active_ == active)
+ return;
+ active_ = active;
+ SchedulePaint();
+}
+
///////////////////////////////////////////////////////////////////////////////
// CustomFrameView, View overrides:
« mash/simple_wm/simple_wm.cc ('K') | « ui/views/window/custom_frame_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698