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

Side by Side Diff: chrome/browser/accessibility/accessibility_events.h

Issue 408103002: Added accessible name to bookmark_bar_instructions_view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromevox now reads static text 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/accessibility/accessibility_events.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_ 5 #ifndef CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_
6 #define CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_ 6 #define CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/accessibility/ax_enums.h" 10 #include "ui/accessibility/ax_enums.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // and onControlAction event listeners. 97 // and onControlAction event listeners.
98 class AccessibilityButtonInfo : public AccessibilityControlInfo { 98 class AccessibilityButtonInfo : public AccessibilityControlInfo {
99 public: 99 public:
100 AccessibilityButtonInfo(Profile* profile, 100 AccessibilityButtonInfo(Profile* profile,
101 const std::string& button_name, 101 const std::string& button_name,
102 const std::string& context); 102 const std::string& context);
103 103
104 virtual const char* type() const OVERRIDE; 104 virtual const char* type() const OVERRIDE;
105 }; 105 };
106 106
107 // Accessibility information about static text passed to onControlFocused
108 // and onControlAction event listeners.
109 class AccessibilityStaticTextInfo : public AccessibilityControlInfo {
110 public:
111 AccessibilityStaticTextInfo(Profile* profile,
112 const std::string& text,
113 const std::string& context);
114
115 virtual const char* type() const OVERRIDE;
116 };
117
107 // Accessibility information about a hyperlink passed to onControlFocused 118 // Accessibility information about a hyperlink passed to onControlFocused
108 // and onControlAction event listeners. 119 // and onControlAction event listeners.
109 class AccessibilityLinkInfo : public AccessibilityControlInfo { 120 class AccessibilityLinkInfo : public AccessibilityControlInfo {
110 public: 121 public:
111 AccessibilityLinkInfo(Profile* profile, 122 AccessibilityLinkInfo(Profile* profile,
112 const std::string& link_name, 123 const std::string& link_name,
113 const std::string& context); 124 const std::string& context);
114 125
115 virtual const char* type() const OVERRIDE; 126 virtual const char* type() const OVERRIDE;
116 }; 127 };
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 404
394 // Accessibility information about an alert passed to onControlAction event. 405 // Accessibility information about an alert passed to onControlAction event.
395 class AccessibilityAlertInfo : public AccessibilityControlInfo { 406 class AccessibilityAlertInfo : public AccessibilityControlInfo {
396 public: 407 public:
397 AccessibilityAlertInfo(Profile* profile, const std::string& name); 408 AccessibilityAlertInfo(Profile* profile, const std::string& name);
398 409
399 virtual const char* type() const OVERRIDE; 410 virtual const char* type() const OVERRIDE;
400 }; 411 };
401 412
402 #endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_ 413 #endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/accessibility/accessibility_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698