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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/webui/options/language_options_handler_common.h
===================================================================
--- chrome/browser/ui/webui/options/language_options_handler_common.h (revision 92173)
+++ chrome/browser/ui/webui/options/language_options_handler_common.h (working copy)
@@ -8,8 +8,10 @@
#include "chrome/browser/ui/webui/options/options_ui.h"
+namespace base {
class DictionaryValue;
class ListValue;
+}
// The base class for language options page UI handlers. This class has code
// common to the Chrome OS and non-Chrome OS implementation of the handler.
@@ -19,7 +21,7 @@
virtual ~LanguageOptionsHandlerCommon();
// OptionsPageUIHandler implementation.
- virtual void GetLocalizedValues(DictionaryValue* localized_strings);
+ virtual void GetLocalizedValues(base::DictionaryValue* localized_strings);
// DOMMessageHandler implementation.
virtual void RegisterMessages();
@@ -32,7 +34,7 @@
//
// Note that true in values does not mean anything. We just use the
// dictionary as a set.
- static DictionaryValue* GetUILanguageCodeSet();
+ static base::DictionaryValue* GetUILanguageCodeSet();
// Gets the set of language codes that can be used for spellchecking.
// The return value will look like:
@@ -40,7 +42,7 @@
//
// Note that true in values does not mean anything. We just use the
// dictionary as a set.
- static DictionaryValue* GetSpellCheckLanguageCodeSet();
+ static base::DictionaryValue* GetSpellCheckLanguageCodeSet();
private:
// Returns the name of the product (ex. "Chrome" or "Chrome OS").
@@ -50,15 +52,15 @@
virtual void SetApplicationLocale(const std::string& language_code) = 0;
// Called when the language options is opened.
- void LanguageOptionsOpenCallback(const ListValue* args);
+ void LanguageOptionsOpenCallback(const base::ListValue* args);
// Called when the UI language is changed.
// |args| will contain the language code as string (ex. "fr").
- void UiLanguageChangeCallback(const ListValue* args);
+ void UiLanguageChangeCallback(const base::ListValue* args);
// Called when the spell check language is changed.
// |args| will contain the language code as string (ex. "fr").
- void SpellCheckLanguageChangeCallback(const ListValue* args);
+ void SpellCheckLanguageChangeCallback(const base::ListValue* args);
DISALLOW_COPY_AND_ASSIGN(LanguageOptionsHandlerCommon);
};
« no previous file with comments | « chrome/browser/ui/webui/options/language_options_handler.h ('k') | chrome/browser/ui/webui/options/options_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698