36
36
<!-- Strings for the extensions permission dialog experiment -->
37
37
<!-- TODO(meacer): Remove these once the experiments are completed. -->
38
38
<message name="IDS_EXTENSION_PROMPT_EXPERIMENT_EXPLANATION1">
39
@@ -12193,6 +12222,9 @@ Some features may be unavailable. Pleas
39
@@ -12323,6 +12352,9 @@ Some features may be unavailable. Pleas
40
40
<message name="IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT">
71
71
<div class="checkbox controlled-setting-with-label">
72
72
--- a/chrome/browser/resources/options/browser_options.js
73
73
+++ b/chrome/browser/resources/options/browser_options.js
74
@@ -589,6 +589,23 @@ cr.define('options', function() {
74
@@ -618,6 +618,23 @@ cr.define('options', function() {
75
75
[String(event.target.options[event.target.selectedIndex].value)]);
128
128
'enableCertificateButton',
129
129
'enableDisplayButton',
130
130
'enableFactoryResetSection',
131
@@ -2119,6 +2155,7 @@ cr.define('options', function() {
131
@@ -2183,6 +2219,7 @@ cr.define('options', function() {
132
132
'setBatteryStatusText',
133
133
'setBluetoothState',
590
590
<include src="font_settings.js">
591
591
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
592
592
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
593
@@ -224,6 +224,8 @@ void BrowserOptionsHandler::GetLocalized
594
IDS_OPTIONS_ADVANCED_SECTION_TITLE_CERTIFICATES },
593
@@ -219,6 +219,8 @@ void BrowserOptionsHandler::GetLocalized
594
{ "advancedSectionTitleCloudPrint", IDS_GOOGLE_CLOUD_PRINT },
595
595
{ "advancedSectionTitleContent",
596
596
IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT },
597
597
+ { "advancedSectionTitleIntegration",
599
599
{ "advancedSectionTitleLanguages",
600
600
IDS_OPTIONS_ADVANCED_SECTION_TITLE_LANGUAGES },
601
601
{ "advancedSectionTitleNetwork",
602
@@ -242,6 +244,10 @@ void BrowserOptionsHandler::GetLocalized
602
@@ -243,6 +245,8 @@ void BrowserOptionsHandler::GetLocalized
603
603
{ "defaultFontSizeLabel", IDS_OPTIONS_DEFAULT_FONT_SIZE_LABEL },
604
604
{ "defaultSearchManageEngines", IDS_OPTIONS_DEFAULTSEARCH_MANAGE_ENGINES },
605
605
{ "defaultZoomFactorLabel", IDS_OPTIONS_DEFAULT_ZOOM_LEVEL_LABEL },
606
+ { "desktopIntegrationExceptionsSettingsButton",
607
+ IDS_DESKTOP_INTEGRATION_SETTINGS_EXCEPTIONS_BUTTON_LABEL },
608
+ { "desktopIntegrationNoteSettingsContent",
609
+ IDS_DESKTOP_INTEGRATION_NOTE_DESCRIPTION },
610
#if defined(OS_CHROMEOS)
611
{ "disableGData", IDS_OPTIONS_DISABLE_GDATA },
613
@@ -325,6 +331,8 @@ void BrowserOptionsHandler::GetLocalized
614
{ "profilesManage", IDS_PROFILES_MANAGE_BUTTON_LABEL },
606
+ { "desktopIntegrationExceptionsSettingsButton", IDS_DESKTOP_INTEGRATION_SETTINGS_EXCEPTIONS_BUTTON_LABEL },
607
+ { "desktopIntegrationNoteSettingsContent", IDS_DESKTOP_INTEGRATION_NOTE_DESCRIPTION },
608
{ "disableWebServices", IDS_OPTIONS_DISABLE_WEB_SERVICES },
609
{ "doNotTrack", IDS_OPTIONS_ENABLE_DO_NOT_TRACK },
610
{ "doNotTrackConfirmDisable",
611
@@ -324,6 +328,7 @@ void BrowserOptionsHandler::GetLocalized
615
613
{ "profilesSupervisedDashboardTip",
616
614
IDS_PROFILES_SUPERVISED_USER_DASHBOARD_TIP },
617
+ { "promptIntegrationEnableIntegration",
618
+ IDS_PROMPT_INTEGRATION_ENABLE_BUTTON_LABEL },
619
#if defined(ENABLE_SETTINGS_APP)
620
{ "profilesAppListSwitch", IDS_SETTINGS_APP_PROFILES_SWITCH_BUTTON_LABEL },
615
+ { "promptIntegrationEnableIntegration", IDS_PROMPT_INTEGRATION_ENABLE_BUTTON_LABEL },
616
{ "proxiesLabelExtension", IDS_OPTIONS_EXTENSION_PROXIES_LABEL },
617
{ "proxiesLabelSystem", IDS_OPTIONS_SYSTEM_PROXIES_LABEL,
623
620
+++ b/chrome/browser/ui/webui/options/desktop_integration_settings_handler.cc
624
621
@@ -0,0 +1,273 @@
987
984
using content::RenderViewHost;
990
@@ -283,6 +287,8 @@ OptionsUI::OptionsUI(content::WebUI* web
987
@@ -281,6 +285,8 @@ OptionsUI::OptionsUI(content::WebUI* web
991
988
AddOptionsPageUIHandler(localized_strings, new CookiesViewHandler());
992
989
AddOptionsPageUIHandler(localized_strings, new CreateProfileHandler());
993
990
AddOptionsPageUIHandler(localized_strings, new EasyUnlockHandler());
998
995
AddOptionsPageUIHandler(localized_strings, new GeolocationOptionsHandler());
999
996
--- a/chrome/chrome_browser_ui.gypi
1000
997
+++ b/chrome/chrome_browser_ui.gypi
1001
@@ -1729,6 +1729,8 @@
998
@@ -1739,6 +1739,8 @@
1002
999
'browser/ui/webui/options/core_options_handler.h',
1003
1000
'browser/ui/webui/options/create_profile_handler.cc',
1004
1001
'browser/ui/webui/options/create_profile_handler.h',