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

Unified Diff: chrome/browser/ui/views/accessibility/accessibility_event_router_views.h

Issue 380943002: Added battery level and time to the status tray's accessible name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: view storage Created 6 years, 5 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: chrome/browser/ui/views/accessibility/accessibility_event_router_views.h
diff --git a/chrome/browser/ui/views/accessibility/accessibility_event_router_views.h b/chrome/browser/ui/views/accessibility/accessibility_event_router_views.h
index 6b24f9f6bc56b1ddd0672b4f41c9d5ac050ace22..2708e362116e94d7e6a53f2b66d8795b3f8e6cfd 100644
--- a/chrome/browser/ui/views/accessibility/accessibility_event_router_views.h
+++ b/chrome/browser/ui/views/accessibility/accessibility_event_router_views.h
@@ -163,6 +163,12 @@ class AccessibilityEventRouterViews : public content::NotificationObserver {
// to a window with a profile (like menu events).
Profile* most_recent_profile_;
+ // The most recent accessibility focusable view is stored in view storage
+ // and is used to prevent multiple events from being dispatched on a
+ // hoverable view from its multiple children. This is the id for the most
+ // recent view we put in view storage.
+ int most_recent_view_id_;
sky 2014/07/14 15:57:19 const
evy 2014/07/14 16:03:47 Done.
+
// Notification registrar so we can clear most_recent_profile_ when a
// profile is destroyed.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698