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

Unified Diff: ui/views/focus/focus_manager.h

Issue 2345183002: Views: Draw Textfield selected text in gray when top-level Widget loses focus.
Patch Set: Fix up colors for Linux. Created 4 years, 2 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: ui/views/focus/focus_manager.h
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h
index 99ca6e6772662baf0446feffbe3bf6e705ba6e19..c28db812948731f3721814588f2d7871913212dd 100644
--- a/ui/views/focus/focus_manager.h
+++ b/ui/views/focus/focus_manager.h
@@ -119,6 +119,8 @@ class VIEWS_EXPORT FocusChangeListener {
// Called after focus state has changed.
virtual void OnDidChangeFocus(View* focused_before, View* focused_now) = 0;
+ virtual void OnFocusManagerDestroying() {}
+
protected:
virtual ~FocusChangeListener() {}
};

Powered by Google App Engine
This is Rietveld 408576698