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

Unified Diff: ash/system/tray_accessibility.h

Issue 2838903002: Add accessibility related notification to notification center (Closed)
Patch Set: nits Created 3 years, 7 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
Index: ash/system/tray_accessibility.h
diff --git a/ash/system/tray_accessibility.h b/ash/system/tray_accessibility.h
index 2e101f9d5b6d7d6b604e64cda38a90be4aaf45f8..1025b58aa7d7d45168484a23ad565b7d904b9826 100644
--- a/ash/system/tray_accessibility.h
+++ b/ash/system/tray_accessibility.h
@@ -23,7 +23,6 @@ class TrayAccessibilityTest;
namespace views {
class Button;
class CustomButton;
-class Label;
class View;
}
@@ -32,27 +31,6 @@ class SystemTrayItem;
namespace tray {
-// A view for closable notification views, laid out like:
-// -------------------
-// | icon contents x |
-// ----------------v--
-// The close button will call OnClose() when clicked.
-class AccessibilityPopupView : public views::View {
- public:
- explicit AccessibilityPopupView(uint32_t enabled_state_bits);
-
- const views::Label* label_for_test() const { return label_; }
-
- void Init();
-
- private:
- views::Label* CreateLabel(uint32_t enabled_state_bits);
-
- views::Label* label_;
-
- DISALLOW_COPY_AND_ASSIGN(AccessibilityPopupView);
-};
-
// Create the detailed view of accessibility tray.
class AccessibilityDetailedView : public TrayDetailsView {
public:
@@ -132,13 +110,8 @@ class TrayAccessibility : public TrayImageItem, public AccessibilityObserver {
AccessibilityNotificationVisibility notify) override;
views::View* default_;
- tray::AccessibilityPopupView* detailed_popup_;
tray::AccessibilityDetailedView* detailed_menu_;
- // Bitmap of fvalues from AccessibilityState. Can contain any or
- // both of A11Y_SPOKEN_FEEDBACK A11Y_BRAILLE_DISPLAY_CONNECTED.
- uint32_t request_popup_view_state_;
-
bool tray_icon_visible_;
LoginStatus login_;
« no previous file with comments | « ash/resources/vector_icons/notification_accessibility_braille.icon ('k') | ash/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698