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

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

Issue 11519036: A11y: Add a browser test of TrayAccessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test failure on win_rel Created 8 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 | « no previous file | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index 57cc2e78add1162d83a6618434c39dfde7cdbe12..b4a5d7a899a58d015cfc6c8d0f3ceb4799ee504f 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -47,6 +47,7 @@ class SystemTrayItem;
namespace internal {
class SystemBubbleWrapper;
class SystemTrayContainer;
+class TrayAccessibility;
class TrayGestureHandler;
}
@@ -143,6 +144,10 @@ class ASH_EXPORT SystemTray : public internal::TrayBackgroundView,
AnchorAlignment anchor_alignment) OVERRIDE;
virtual void HideBubble(const views::TrayBubbleView* bubble_view) OVERRIDE;
+ internal::TrayAccessibility* GetTrayAccessibilityForTest() {
+ return tray_accessibility_;
+ }
+
private:
// Creates the default set of items for the sytem tray.
void CreateItems(SystemTrayDelegate* delegate);
@@ -204,6 +209,8 @@ class ASH_EXPORT SystemTray : public internal::TrayBackgroundView,
// notification bubble is visible).
bool hide_notifications_;
+ internal::TrayAccessibility* tray_accessibility_; // not owned
+
DISALLOW_COPY_AND_ASSIGN(SystemTray);
};
« no previous file with comments | « no previous file | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698