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

Unified Diff: chrome/browser/accessibility/accessibility_events.h

Issue 9665026: Make views Slider accessible on Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change value to stringValue Created 8 years, 9 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 | chrome/browser/accessibility/accessibility_events.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/accessibility_events.h
diff --git a/chrome/browser/accessibility/accessibility_events.h b/chrome/browser/accessibility/accessibility_events.h
index a76cdf06af7d5f662829e7e89a929900433b44a1..b5e21f5f82ae059de041a1f7e9756b65c20880e5 100644
--- a/chrome/browser/accessibility/accessibility_events.h
+++ b/chrome/browser/accessibility/accessibility_events.h
@@ -314,4 +314,23 @@ class AccessibilityMenuItemInfo : public AccessibilityControlInfo {
int item_count_;
};
+// Accessibility information about a slider passed to onControlFocused
+// and onControlAction event listeners.
+class AccessibilitySliderInfo : public AccessibilityControlInfo {
+ public:
+ AccessibilitySliderInfo(Profile* profile,
+ const std::string& name,
+ const std::string& context,
+ const std::string& value);
+
+ virtual const char* type() const OVERRIDE;
+
+ virtual void SerializeToDict(base::DictionaryValue* dict) const OVERRIDE;
+
+ const std::string& value() const { return value_; }
+
+ private:
+ std::string value_;
+};
+
#endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EVENTS_H_
« 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