summaryrefslogtreecommitdiffstats
path: root/ash/system/tray
diff options
context:
space:
mode:
authorplundblad@chromium.org <plundblad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 17:36:24 +0000
committerplundblad@chromium.org <plundblad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 17:36:24 +0000
commit93f841112e95023e76dbbd26f4e29526519d09c1 (patch)
tree2752f70ddb8d8137672f58757ea3ebda97725e5e /ash/system/tray
parentd053fda5de435cd838487396016de4acf48f900d (diff)
downloadchromium_src-93f841112e95023e76dbbd26f4e29526519d09c1.zip
chromium_src-93f841112e95023e76dbbd26f4e29526519d09c1.tar.gz
chromium_src-93f841112e95023e76dbbd26f4e29526519d09c1.tar.bz2
[a11y]: expose IME menu item state in tray menu.
This makes spoken feedback treat the items for the enabled IMEs and, if applicable, menu items provided by the active IME, as check box items. R=sadrul@chromium.org BUG=368399 Review URL: https://codereview.chromium.org/255273005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/tray')
-rw-r--r--ash/system/tray/hover_highlight_view.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/system/tray/hover_highlight_view.h b/ash/system/tray/hover_highlight_view.h
index ee1bdd8..0797de6 100644
--- a/ash/system/tray/hover_highlight_view.h
+++ b/ash/system/tray/hover_highlight_view.h
@@ -59,12 +59,15 @@ class HoverHighlightView : public ActionableView {
bool hover() const { return hover_; }
+ protected:
+ // Overridden from views::View.
+ virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
+
private:
// Overridden from ActionableView:
virtual bool PerformAction(const ui::Event& event) OVERRIDE;
// Overridden from views::View.
- virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual int GetHeightForWidth(int width) OVERRIDE;
virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;