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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 11565019: Consolidate dialog style flags and strings; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alphabetize IDS strings. Created 8 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) 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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 #include "grit/generated_resources.h" 105 #include "grit/generated_resources.h"
106 #include "grit/ui_resources.h" 106 #include "grit/ui_resources.h"
107 #include "net/base/escape.h" 107 #include "net/base/escape.h"
108 #include "net/base/mime_util.h" 108 #include "net/base/mime_util.h"
109 #include "net/base/ssl_cert_request_info.h" 109 #include "net/base/ssl_cert_request_info.h"
110 #include "net/cookies/canonical_cookie.h" 110 #include "net/cookies/canonical_cookie.h"
111 #include "net/cookies/cookie_options.h" 111 #include "net/cookies/cookie_options.h"
112 #include "ppapi/host/ppapi_host.h" 112 #include "ppapi/host/ppapi_host.h"
113 #include "ui/base/l10n/l10n_util.h" 113 #include "ui/base/l10n/l10n_util.h"
114 #include "ui/base/resource/resource_bundle.h" 114 #include "ui/base/resource/resource_bundle.h"
115 #include "ui/base/ui_base_switches.h"
116 #include "webkit/glue/webpreferences.h" 115 #include "webkit/glue/webpreferences.h"
117 #include "webkit/plugins/plugin_switches.h" 116 #include "webkit/plugins/plugin_switches.h"
118 117
119 #if defined(OS_WIN) 118 #if defined(OS_WIN)
120 #include "chrome/browser/chrome_browser_main_win.h" 119 #include "chrome/browser/chrome_browser_main_win.h"
121 #elif defined(OS_MACOSX) 120 #elif defined(OS_MACOSX)
122 #include "chrome/browser/chrome_browser_main_mac.h" 121 #include "chrome/browser/chrome_browser_main_mac.h"
123 #include "chrome/browser/spellchecker/spellcheck_message_filter_mac.h" 122 #include "chrome/browser/spellchecker/spellcheck_message_filter_mac.h"
124 #elif defined(OS_CHROMEOS) 123 #elif defined(OS_CHROMEOS)
125 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h" 124 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h"
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 switches::kAppsCheckoutURL, 952 switches::kAppsCheckoutURL,
954 switches::kAppsGalleryURL, 953 switches::kAppsGalleryURL,
955 switches::kCloudPrintServiceURL, 954 switches::kCloudPrintServiceURL,
956 switches::kDebugPrint, 955 switches::kDebugPrint,
957 switches::kDisableBundledPpapiFlash, 956 switches::kDisableBundledPpapiFlash,
958 switches::kDisableExtensionsResourceWhitelist, 957 switches::kDisableExtensionsResourceWhitelist,
959 switches::kDisableScriptedPrintThrottling, 958 switches::kDisableScriptedPrintThrottling,
960 switches::kDumpHistogramsOnExit, 959 switches::kDumpHistogramsOnExit,
961 switches::kEnableBenchmarking, 960 switches::kEnableBenchmarking,
962 switches::kEnableBundledPpapiFlash, 961 switches::kEnableBundledPpapiFlash,
963 switches::kEnableChromeStyleDialogs,
964 switches::kEnableCrxlessWebApps, 962 switches::kEnableCrxlessWebApps,
965 switches::kEnableExperimentalExtensionApis, 963 switches::kEnableExperimentalExtensionApis,
966 switches::kEnableIPCFuzzing, 964 switches::kEnableIPCFuzzing,
967 switches::kEnableInteractiveAutocomplete, 965 switches::kEnableInteractiveAutocomplete,
968 switches::kEnableNaCl, 966 switches::kEnableNaCl,
969 switches::kEnableNaClSRPCProxy, 967 switches::kEnableNaClSRPCProxy,
970 switches::kEnablePasswordGeneration, 968 switches::kEnablePasswordGeneration,
971 switches::kEnablePnacl, 969 switches::kEnablePnacl,
972 switches::kEnableTouchDragDrop,
973 switches::kEnableWatchdog, 970 switches::kEnableWatchdog,
974 switches::kMemoryProfiling, 971 switches::kMemoryProfiling,
975 switches::kMessageLoopHistogrammer, 972 switches::kMessageLoopHistogrammer,
976 switches::kNoJsRandomness, 973 switches::kNoJsRandomness,
977 switches::kPerformCrashAnalysis, 974 switches::kPerformCrashAnalysis,
978 switches::kPlaybackMode, 975 switches::kPlaybackMode,
979 switches::kPpapiFlashArgs, 976 switches::kPpapiFlashArgs,
980 switches::kPpapiFlashInProcess, 977 switches::kPpapiFlashInProcess,
981 switches::kPpapiFlashPath, 978 switches::kPpapiFlashPath,
982 switches::kPpapiFlashVersion, 979 switches::kPpapiFlashVersion,
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 io_thread_application_locale_ = locale; 1929 io_thread_application_locale_ = locale;
1933 } 1930 }
1934 1931
1935 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( 1932 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread(
1936 const std::string& locale) { 1933 const std::string& locale) {
1937 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 1934 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
1938 io_thread_application_locale_ = locale; 1935 io_thread_application_locale_ = locale;
1939 } 1936 }
1940 1937
1941 } // namespace chrome 1938 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698