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

Unified Diff: ui/views/view.h

Issue 103493005: Rename View::set_focusable and View::set_accessibility_focusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a few missing files Created 7 years 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 | « ui/views/touchui/touch_editing_menu.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index e391dbe6b8beebfe884f80928781cc8d58f04f45..848d8470d0332e0b85d5ecef15e7d0e6ee0aabd9 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -770,7 +770,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Sets whether this view is capable of taking focus.
// Note that this is false by default so that a view used as a container does
// not get the focus.
- void set_focusable(bool focusable) { focusable_ = focusable; }
+ void SetFocusable(bool focusable);
// Returns true if this view is capable of taking focus.
bool focusable() const { return focusable_ && enabled_ && visible_; }
@@ -785,9 +785,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Set whether this view can be made focusable if the user requires
// full keyboard access, even though it's not normally focusable.
// Note that this is false by default.
- void set_accessibility_focusable(bool accessibility_focusable) {
- accessibility_focusable_ = accessibility_focusable;
- }
+ void SetAccessibilityFocusable(bool accessibility_focusable);
// Convenience method to retrieve the FocusManager associated with the
// Widget that contains this view. This can return NULL if this view is not
« no previous file with comments | « ui/views/touchui/touch_editing_menu.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698