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

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

Issue 5958005: DOMUI: Rename download path 'Browse...' button to 'Change...' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add TODO 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 void AdvancedOptionsHandler::GetLocalizedValues( 62 void AdvancedOptionsHandler::GetLocalizedValues(
63 DictionaryValue* localized_strings) { 63 DictionaryValue* localized_strings) {
64 DCHECK(localized_strings); 64 DCHECK(localized_strings);
65 65
66 localized_strings->SetString("privacyLearnMoreURL", 66 localized_strings->SetString("privacyLearnMoreURL",
67 google_util::AppendGoogleLocaleParam( 67 google_util::AppendGoogleLocaleParam(
68 GURL(chrome::kPrivacyLearnMoreURL)).spec()); 68 GURL(chrome::kPrivacyLearnMoreURL)).spec());
69 localized_strings->SetString("downloadLocationGroupName", 69 localized_strings->SetString("downloadLocationGroupName",
70 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_GROUP_NAME)); 70 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_GROUP_NAME));
71 localized_strings->SetString("downloadLocationBrowseButton", 71 localized_strings->SetString("downloadLocationChangeButton",
72 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); 72 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_CHANGE_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_OPEN_FILE_TYPES_AUTOMATICALLY)); 82 l10n_util::GetStringUTF16(IDS_OPTIONS_OPEN_FILE_TYPES_AUTOMATICALLY));
(...skipping 474 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/options/advanced_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698