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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 2329063002: Revert "[ARC] Add "(beta)" string to Play Store." (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/options/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 { "accessibilitySwitchAccess", 433 { "accessibilitySwitchAccess",
434 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SWITCH_ACCESS_DESCRIPTION }, 434 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SWITCH_ACCESS_DESCRIPTION },
435 { "accessibilityTalkBackSettings", 435 { "accessibilityTalkBackSettings",
436 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_TALKBACK_SETTINGS }, 436 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_TALKBACK_SETTINGS },
437 { "accessibilityTapDragging", 437 { "accessibilityTapDragging",
438 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_TOUCHPAD_TAP_DRAGGING_DESCRIPTION }, 438 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_TOUCHPAD_TAP_DRAGGING_DESCRIPTION },
439 { "accessibilityVirtualKeyboard", 439 { "accessibilityVirtualKeyboard",
440 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_VIRTUAL_KEYBOARD_DESCRIPTION }, 440 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_VIRTUAL_KEYBOARD_DESCRIPTION },
441 { "accessibilityMonoAudio", 441 { "accessibilityMonoAudio",
442 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_MONO_AUDIO_DESCRIPTION}, 442 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_MONO_AUDIO_DESCRIPTION},
443 { "androidAppsTitle", IDS_OPTIONS_ARC_TITLE },
443 { "androidAppsEnabled", IDS_OPTIONS_ARC_ENABLE }, 444 { "androidAppsEnabled", IDS_OPTIONS_ARC_ENABLE },
444 { "androidAppsSettingsLabel", IDS_OPTIONS_ARC_MANAGE_APPS }, 445 { "androidAppsSettingsLabel", IDS_OPTIONS_ARC_MANAGE_APPS },
445 { "arcOptOutConfirmOverlayTabTitle", IDS_ARC_OPT_OUT_TAB_TITLE }, 446 { "arcOptOutConfirmOverlayTabTitle", IDS_ARC_OPT_OUT_TAB_TITLE },
446 { "arcOptOutDialogHeader", IDS_ARC_OPT_OUT_DIALOG_HEADER }, 447 { "arcOptOutDialogHeader", IDS_ARC_OPT_OUT_DIALOG_HEADER },
447 { "arcOptOutDialogDescription", IDS_ARC_OPT_OUT_DIALOG_DESCRIPTION }, 448 { "arcOptOutDialogDescription", IDS_ARC_OPT_OUT_DIALOG_DESCRIPTION },
448 { "arcOptOutDialogButtonConfirmDisable", 449 { "arcOptOutDialogButtonConfirmDisable",
449 IDS_ARC_OPT_OUT_DIALOG_BUTTON_CONFIRM_DISABLE }, 450 IDS_ARC_OPT_OUT_DIALOG_BUTTON_CONFIRM_DISABLE },
450 { "arcOptOutDialogButtonCancel", IDS_ARC_OPT_OUT_DIALOG_BUTTON_CANCEL }, 451 { "arcOptOutDialogButtonCancel", IDS_ARC_OPT_OUT_DIALOG_BUTTON_CANCEL },
451 { "autoclickDelayExtremelyShort", 452 { "autoclickDelayExtremelyShort",
452 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_AUTOCLICK_DELAY_EXTREMELY_SHORT }, 453 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_AUTOCLICK_DELAY_EXTREMELY_SHORT },
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 563
563 RegisterStrings(values, resources, arraysize(resources)); 564 RegisterStrings(values, resources, arraysize(resources));
564 RegisterTitle(values, "doNotTrackConfirmOverlay", 565 RegisterTitle(values, "doNotTrackConfirmOverlay",
565 IDS_OPTIONS_ENABLE_DO_NOT_TRACK_BUBBLE_TITLE); 566 IDS_OPTIONS_ENABLE_DO_NOT_TRACK_BUBBLE_TITLE);
566 RegisterTitle(values, "spellingConfirmOverlay", 567 RegisterTitle(values, "spellingConfirmOverlay",
567 IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE); 568 IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE);
568 #if defined(ENABLE_PRINT_PREVIEW) 569 #if defined(ENABLE_PRINT_PREVIEW)
569 RegisterCloudPrintValues(values); 570 RegisterCloudPrintValues(values);
570 #endif 571 #endif
571 572
572 // TODO(xdai): Revert this after it's merged to M53.
573 #if defined(OS_CHROMEOS)
574 std::string android_apps_title =
575 l10n_util::GetStringUTF8(IDS_OPTIONS_ARC_TITLE) + " (" +
576 l10n_util::GetStringUTF8(IDS_ABOUT_PAGE_CURRENT_CHANNEL_BETA) + ")";
577 values->SetString("androidAppsTitle", android_apps_title);
578 #endif
579
580 values->SetString("syncLearnMoreURL", chrome::kSyncLearnMoreURL); 573 values->SetString("syncLearnMoreURL", chrome::kSyncLearnMoreURL);
581 base::string16 omnibox_url = base::ASCIIToUTF16(chrome::kOmniboxLearnMoreURL); 574 base::string16 omnibox_url = base::ASCIIToUTF16(chrome::kOmniboxLearnMoreURL);
582 values->SetString( 575 values->SetString(
583 "defaultSearchGroupLabel", 576 "defaultSearchGroupLabel",
584 l10n_util::GetStringFUTF16(IDS_SEARCH_PREF_EXPLANATION, omnibox_url)); 577 l10n_util::GetStringFUTF16(IDS_SEARCH_PREF_EXPLANATION, omnibox_url));
585 values->SetString("hotwordLearnMoreURL", chrome::kHotwordLearnMoreURL); 578 values->SetString("hotwordLearnMoreURL", chrome::kHotwordLearnMoreURL);
586 RegisterTitle(values, "hotwordConfirmOverlay", 579 RegisterTitle(values, "hotwordConfirmOverlay",
587 IDS_HOTWORD_CONFIRM_BUBBLE_TITLE); 580 IDS_HOTWORD_CONFIRM_BUBBLE_TITLE);
588 values->SetString("hotwordManageAudioHistoryURL", 581 values->SetString("hotwordManageAudioHistoryURL",
589 chrome::kManageAudioHistoryURL); 582 chrome::kManageAudioHistoryURL);
(...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after
2238 2231
2239 bool BrowserOptionsHandler::IsDeviceOwnerProfile() { 2232 bool BrowserOptionsHandler::IsDeviceOwnerProfile() {
2240 #if defined(OS_CHROMEOS) 2233 #if defined(OS_CHROMEOS)
2241 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui())); 2234 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui()));
2242 #else 2235 #else
2243 return true; 2236 return true;
2244 #endif 2237 #endif
2245 } 2238 }
2246 2239
2247 } // namespace options 2240 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698