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

Unified Diff: chrome/browser/ui/webui/options/font_settings_handler.cc

Issue 7619006: base: Remove using declaration of FundamentalValue as it's no longer necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/font_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/font_settings_handler.cc b/chrome/browser/ui/webui/options/font_settings_handler.cc
index 95521ba3e3e43d8ba6327336de1028040cee0036..9107fa34e5a595d2b32bd44c2d0333d086b77712 100644
--- a/chrome/browser/ui/webui/options/font_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/font_settings_handler.cc
@@ -174,35 +174,35 @@ void FontSettingsHandler::Observe(int type,
}
void FontSettingsHandler::SetUpStandardFontSample() {
- StringValue font_value(standard_font_.GetValue());
- FundamentalValue size_value(default_font_size_.GetValue());
+ base::StringValue font_value(standard_font_.GetValue());
+ base::FundamentalValue size_value(default_font_size_.GetValue());
web_ui_->CallJavascriptFunction(
"FontSettings.setUpStandardFontSample", font_value, size_value);
}
void FontSettingsHandler::SetUpSerifFontSample() {
- StringValue font_value(serif_font_.GetValue());
- FundamentalValue size_value(default_font_size_.GetValue());
+ base::StringValue font_value(serif_font_.GetValue());
+ base::FundamentalValue size_value(default_font_size_.GetValue());
web_ui_->CallJavascriptFunction(
"FontSettings.setUpSerifFontSample", font_value, size_value);
}
void FontSettingsHandler::SetUpSansSerifFontSample() {
- StringValue font_value(sans_serif_font_.GetValue());
- FundamentalValue size_value(default_font_size_.GetValue());
+ base::StringValue font_value(sans_serif_font_.GetValue());
+ base::FundamentalValue size_value(default_font_size_.GetValue());
web_ui_->CallJavascriptFunction(
"FontSettings.setUpSansSerifFontSample", font_value, size_value);
}
void FontSettingsHandler::SetUpFixedFontSample() {
- StringValue font_value(fixed_font_.GetValue());
- FundamentalValue size_value(default_fixed_font_size_.GetValue());
+ base::StringValue font_value(fixed_font_.GetValue());
+ base::FundamentalValue size_value(default_fixed_font_size_.GetValue());
web_ui_->CallJavascriptFunction(
"FontSettings.setUpFixedFontSample", font_value, size_value);
}
void FontSettingsHandler::SetUpMinimumFontSample() {
- FundamentalValue size_value(minimum_font_size_.GetValue());
+ base::FundamentalValue size_value(minimum_font_size_.GetValue());
web_ui_->CallJavascriptFunction("FontSettings.setUpMinimumFontSample",
size_value);
}
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/browser/ui/webui/options/import_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698