summaryrefslogtreecommitdiffstats
path: root/ui/views/view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 21:24:22 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 21:24:22 +0000
commit72fc4b91fd45c00004a69790b59ba4917ba117ed (patch)
tree908a0e34be29a3206f88cac0064d43ec00db7ab9 /ui/views/view.h
parentd89ff811f8c0e5033a38273979d6b367ed057b0e (diff)
downloadchromium_src-72fc4b91fd45c00004a69790b59ba4917ba117ed.zip
chromium_src-72fc4b91fd45c00004a69790b59ba4917ba117ed.tar.gz
chromium_src-72fc4b91fd45c00004a69790b59ba4917ba117ed.tar.bz2
Copy more focus manager into V2. Comment out a bunch of stuff and add stub impls of methods with TODOs so that it builds.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6334062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/view.h')
-rw-r--r--ui/views/view.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/views/view.h b/ui/views/view.h
index f5c674532..aa51ce8 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -161,6 +161,9 @@ class View {
// match the specified group id.
void GetViewsWithGroup(int group, ViewVector* vec) const;
+ // TODO(beng): implementme
+ virtual View* GetSelectedViewForGroup(int group_id);
+
// Painting ------------------------------------------------------------------
// Add all or part of a View's bounds to the enclosing Widget's invalid
@@ -227,6 +230,11 @@ class View {
// Focus ---------------------------------------------------------------------
virtual bool SkipDefaultKeyEventProcessing(const KeyEvent& event) const;
+ virtual bool IsGroupFocusTraversable() const;
+ // TODO(beng): kill these, move to focus manager.
+ virtual bool IsFocusableInRootView() const;
+ virtual bool IsAccessibilityFocusableInRootView() const;
+ virtual FocusTraversable* GetPaneFocusTraversable() const;
virtual void OnFocus(/* const FocusEvent& event */);
virtual void OnBlur();
@@ -281,6 +289,8 @@ class View {
private:
friend internal::RootView;
+ friend class FocusManager;
+ friend class FocusSearch;
// State collected during a MousePressed event to detect possible drag
// operations.