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

Side by Side Diff: chrome/browser/dom_ui/options/advanced_options_handler.cc

Issue 5649002: DOMUI Settings: UTH: Fix up Downloads section (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/dom_ui/options/advanced_options_handler.h" 5 #include "chrome/browser/dom_ui/options/advanced_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); 72 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON));
73 localized_strings->SetString("downloadLocationBrowseTitle", 73 localized_strings->SetString("downloadLocationBrowseTitle",
74 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE)); 74 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE));
75 localized_strings->SetString("downloadLocationBrowseWindowTitle", 75 localized_strings->SetString("downloadLocationBrowseWindowTitle",
76 l10n_util::GetStringUTF16( 76 l10n_util::GetStringUTF16(
77 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE)); 77 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE));
78 localized_strings->SetString("downloadLocationAskForSaveLocation", 78 localized_strings->SetString("downloadLocationAskForSaveLocation",
79 l10n_util::GetStringUTF16( 79 l10n_util::GetStringUTF16(
80 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION)); 80 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION));
81 localized_strings->SetString("autoOpenFileTypesInfo", 81 localized_strings->SetString("autoOpenFileTypesInfo",
82 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_INFO)); 82 l10n_util::GetStringUTF16(IDS_OPTIONS_OPEN_FILE_TYPES_AUTOMATICALLY));
83 localized_strings->SetString("autoOpenFileTypesResetToDefault", 83 localized_strings->SetString("autoOpenFileTypesResetToDefault",
84 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT)); 84 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT));
85 localized_strings->SetString("gearSettingsGroupName", 85 localized_strings->SetString("gearSettingsGroupName",
86 dom_options_util::StripColon( 86 dom_options_util::StripColon(
87 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME))); 87 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME)));
88 localized_strings->SetString("gearSettingsConfigureGearsButton", 88 localized_strings->SetString("gearSettingsConfigureGearsButton",
89 l10n_util::GetStringUTF16( 89 l10n_util::GetStringUTF16(
90 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON)); 90 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON));
91 localized_strings->SetString("translateEnableTranslate", 91 localized_strings->SetString("translateEnableTranslate",
92 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE)); 92 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE));
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 FundamentalValue useSSL3Value(useSSL3Setting); 557 FundamentalValue useSSL3Value(useSSL3Setting);
558 dom_ui_->CallJavascriptFunction( 558 dom_ui_->CallJavascriptFunction(
559 L"options.AdvancedOptions.SetUseSSL3CheckboxState", 559 L"options.AdvancedOptions.SetUseSSL3CheckboxState",
560 useSSL3Value, disabledValue); 560 useSSL3Value, disabledValue);
561 FundamentalValue useTLS1Value(useTLS1Setting); 561 FundamentalValue useTLS1Value(useTLS1Setting);
562 dom_ui_->CallJavascriptFunction( 562 dom_ui_->CallJavascriptFunction(
563 L"options.AdvancedOptions.SetUseTLS1CheckboxState", 563 L"options.AdvancedOptions.SetUseTLS1CheckboxState",
564 useTLS1Value, disabledValue); 564 useTLS1Value, disabledValue);
565 } 565 }
566 #endif 566 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698