diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 05:14:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 05:14:26 +0000 |
commit | 6b7c86c71e251def62deddcf5645eb462a432df6 (patch) | |
tree | e564eddc1706718902ff6dd8b9f893a18cc5d576 /ash/focus_cycler.h | |
parent | bbb445ce1779864b088a1d8138870d55b3165b2e (diff) | |
download | chromium_src-6b7c86c71e251def62deddcf5645eb462a432df6.zip chromium_src-6b7c86c71e251def62deddcf5645eb462a432df6.tar.gz chromium_src-6b7c86c71e251def62deddcf5645eb462a432df6.tar.bz2 |
Makes it so the launcher only gets focus when using the keyboard.
BUG=114502
TEST=see bug
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9406031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/focus_cycler.h')
-rw-r--r-- | ash/focus_cycler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/focus_cycler.h b/ash/focus_cycler.h index dfdf7e5..c084a98 100644 --- a/ash/focus_cycler.h +++ b/ash/focus_cycler.h @@ -31,6 +31,10 @@ class FocusCycler : public ui::AcceleratorTarget { FocusCycler(); virtual ~FocusCycler(); + // Returns the widget the FocusCycler is attempting to activate or NULL if + // FocusCycler is not activating any widgets. + const views::Widget* widget_activating() const { return widget_activating_; } + // Add a widget to the focus cycle and set up accelerators. The widget needs // to have an AccessiblePaneView as the content view. void AddWidget(views::Widget* widget); @@ -45,6 +49,9 @@ class FocusCycler : public ui::AcceleratorTarget { private: std::vector<views::Widget*> widgets_; + // See description above getter. + views::Widget* widget_activating_; + DISALLOW_COPY_AND_ASSIGN(FocusCycler); }; |