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

Unified Diff: ui/views/view.h

Issue 1915863004: Remove View::focusable() - Alternate approach. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SetFocusBehavior
Patch Set: Created 4 years, 8 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/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index ec3f72b7de8d2e004558e486fa3635ce93c6e034..abd468536285c134a2bf94fcc168f264ecab65b7 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1144,10 +1144,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Focus ---------------------------------------------------------------------
- // Returns true if ALWAYS is the last set focus behavior. Use IsFocusable() to
- // determine if a view can take focus right now.
- bool focusable() const { return focus_behavior_ == FocusBehavior::ALWAYS; }
-
// Override to be notified when focus has changed either to or from this View.
virtual void OnFocus();
virtual void OnBlur();

Powered by Google App Engine
This is Rietveld 408576698