diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
commit | f3a1c64a4d81c412273ed567536f23c2c14813a2 (patch) | |
tree | f0ced21805b18546e879413e4f808dd4f683c534 /chrome/browser/accessibility_events.h | |
parent | 2338319a9acbaecba44243740b3f01b5c408a78a (diff) | |
download | chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.zip chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.gz chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.bz2 |
Move base/values.h into the base namespace. This includes a cros DEPS roll
with a minor change to that code since libcros also uses base/values.h.
BUG=88666
TEST=none
Review URL: http://codereview.chromium.org/7259019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/accessibility_events.h')
-rw-r--r-- | chrome/browser/accessibility_events.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/chrome/browser/accessibility_events.h b/chrome/browser/accessibility_events.h index 072bd9e..5d7a012 100644 --- a/chrome/browser/accessibility_events.h +++ b/chrome/browser/accessibility_events.h @@ -9,9 +9,12 @@ #include <string> class AccessibilityControlInfo; -class DictionaryValue; class Profile; +namespace base { +class DictionaryValue; +} + // Use the NotificationService to post the given accessibility // notification type with AccessibilityControlInfo details to any // listeners. Will not send if the profile's pause level is nonzero @@ -27,7 +30,7 @@ class AccessibilityControlInfo { // Serialize this class as a DictionaryValue that can be converted to // a JavaScript object. - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; // Return the specific type of this control, which will be one of the // string constants defined in extension_accessibility_api_constants.h. @@ -86,7 +89,7 @@ class AccessibilityRadioButtonInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetChecked(bool checked) { checked_ = checked; } @@ -111,7 +114,7 @@ class AccessibilityCheckboxInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetChecked(bool checked) { checked_ = checked; } @@ -132,7 +135,7 @@ class AccessibilityTabInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetTab(int tab_index, std::string tab_name) { tab_index_ = tab_index; @@ -160,7 +163,7 @@ class AccessibilityComboBoxInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetValue(int item_index, const std::string& value) { item_index_ = item_index; @@ -190,7 +193,7 @@ class AccessibilityTextBoxInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetValue( const std::string& value, int selection_start, int selection_end) { @@ -223,7 +226,7 @@ class AccessibilityListBoxInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; void SetValue(int item_index, std::string value) { item_index_ = item_index; @@ -264,7 +267,7 @@ class AccessibilityMenuItemInfo : public AccessibilityControlInfo { virtual const char* type() const; - virtual void SerializeToDict(DictionaryValue* dict) const; + virtual void SerializeToDict(base::DictionaryValue* dict) const; int item_index() const { return item_index_; } int item_count() const { return item_count_; } |