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

Unified Diff: ash/system/tray/tray_views.h

Issue 10078009: Add an accessible name to the restart button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | ash/system/tray/tray_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_views.h
diff --git a/ash/system/tray/tray_views.h b/ash/system/tray/tray_views.h
index 8b61ffdc370fb793bcda9ecb8b731e7dcb914e36..dbbadec2b6e9ef53ea154285f782be1679cea0b3 100644
--- a/ash/system/tray/tray_views.h
+++ b/ash/system/tray/tray_views.h
@@ -59,8 +59,14 @@ class ActionableView : public views::View {
virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
+ virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
sadrul 2012/04/19 11:25:38 GetAccessibleState should be above OnPaintFocusBor
Zachary Kuznia 2012/04/20 09:26:58 Done.
+
+ // Set the accessible name.
+ void SetAccessibleName(const string16& name);
sadrul 2012/04/19 11:25:38 This should be in line ~58 (above the overridden m
sadrul 2012/04/19 11:33:58 Perhaps just make this public, and add accessible_
Zachary Kuznia 2012/04/20 09:26:58 Done.
Zachary Kuznia 2012/04/20 09:26:58 Done.
private:
+ string16 accessible_name_;
+
DISALLOW_COPY_AND_ASSIGN(ActionableView);
};
« no previous file with comments | « no previous file | ash/system/tray/tray_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698