summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
Commit message (Collapse)AuthorAgeFilesLines
* Intergration of the client-side phishing detection.noelutz@google.com2011-02-171-0/+7
| | | | | | | | | | | | | | | If the client-side phishing detection classifies a page as phishing it will send back a ping to Google to verify whether or not the page is really phishing. If the server also classifies the site as phishing we may show a phishing interstitial if it is enabled. BUG= TEST= Review URL: http://codereview.chromium.org/6014003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75299 0039d316-1c4b-4281-b951-d872f2087c98
* Expose WebCore log channels on the chrome command linegavinp@chromium.org2011-02-161-0/+4
| | | | | | | | | | | | | | Add --webcore-log-channels=Loading,ResourceLoading to your chrome command line to get WebKit debugging joy. See third_party/WebKit/Source/WebCore/platform/Logging.cpp for a list of log levels. BUG=none TEST=none Review URL: http://codereview.chromium.org/6528016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75117 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that if Reader is installed after Chrome and the internal PDF ↵jam@chromium.org2011-02-141-4/+0
| | | | | | | | | | | reader is enabled, that Reader is disabled. Make PluginList not forget that a hardcoded group is disabled by the user after it loads the plugins. Also ensure a lock is grabbed before calling AddToPluginGroups, since it uses groups_to_disable_. BUG=72617 Review URL: http://codereview.chromium.org/6507001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74834 0039d316-1c4b-4281-b951-d872f2087c98
* Add commandline flag --disable-gl-multisampling and hook it up with WebGL to ↵zmo@google.com2011-02-141-0/+3
| | | | | | | | | | | | | turn off multisampling. Note that this CL does not hook up the flag with commandbuffer port. Will do so in another patch. BUG=72778 TEST=try this new flag and see multisampling disabled in webgl. Review URL: http://codereview.chromium.org/6480040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74828 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Fix random variations of DOMUI.tfarina@chromium.org2011-02-131-1/+1
| | | | | | | | | | | | This was found with: $ git gs "[Dd][Oo][Mm][Uu][Ii]" BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6518001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74773 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Get rid of more references to DOMUI in the rest of the directories.tfarina@chromium.org2011-02-131-1/+1
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6513010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74771 0039d316-1c4b-4281-b951-d872f2087c98
* Updated about_flags and command-line switch handling for prerender/prefetchgavinp@chromium.org2011-02-121-13/+13
| | | | | | | | | | | | | | | The second half of http://codereview.chromium.org/6410082/ , which cbentzel suggested be landed in two halves. This upload addresses comments from that review (improved description, unified options, no more contradictory option possibilities). BUG=70610 TEST=lots of manual testing, http://browserspy.dk/prefetch.php Review URL: http://codereview.chromium.org/6480002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74740 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the XSS auditor by defaultabarth@chromium.org2011-02-121-3/+3
| | | | | | | | | | | The XSS auditor is still experimental, but the new design seems to be working well in the WebKit nightlies. This patch enables the feature in Chromium to gather wider feedback. If you'd like to provide feedback, please file a bug at https://bugs.webkit.org/ and add the XSSAuditor keyword. Review URL: http://codereview.chromium.org/6507010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74720 0039d316-1c4b-4281-b951-d872f2087c98
* Add --debug-views-paint switch that shows damaged rectangles in redoshima@google.com2011-02-121-0/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6489015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74706 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Get rid of references to DOMUI in comments. The last part.tfarina@chromium.org2011-02-121-3/+3
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6509004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74705 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for JavaScript internationalization API as V8 extension. See ↵cira@chromium.org2011-02-101-0/+3
| | | | | | | | | | | | | | | | | proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api. V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}. This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature. It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands. BUG=28604 TEST=LayoutTests/fast/js/i18n-bindings-locale.html Review URL: http://codereview.chromium.org/6366021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74491 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Turn on tab overview mode by default.thakis@chromium.org2011-02-091-3/+0
| | | | | | | | | BUG=50307,72362 TEST=three-finger-swipe down and Window->Tab Overview both open tab overview mode Review URL: http://codereview.chromium.org/6459009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74236 0039d316-1c4b-4281-b951-d872f2087c98
* First crack at FileSystemURLRequestJob for handling filesystem: URLs.adamk@chromium.org2011-02-081-0/+3
| | | | | | | | Disabled behind a switch, "--enable-filesystem-url-scheme". Review URL: http://codereview.chromium.org/6262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74082 0039d316-1c4b-4281-b951-d872f2087c98
* Added command line switches and UI (controlled via a build option)davemoore@chromium.org2011-02-011-0/+20
| | | | | | | | | | | to make it easier to use the sampling profiler. BUG=None TEST=None Review URL: http://codereview.chromium.org/6250070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73374 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the internal-nacl flag.sehr@google.com2011-02-011-4/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6250050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73252 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant suggest commit immediately. If folks like this, I cansky@chromium.org2011-01-281-5/+0
| | | | | | | | | | | rip out some more code. BUG=none TEST=none Review URL: http://codereview.chromium.org/6360022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73006 0039d316-1c4b-4281-b951-d872f2087c98
* Put some plug-ins behind an infobar, where they have:cevans@chromium.org2011-01-271-0/+4
| | | | | | | | | | | | - Been targeted by mass malware. - Do not yet have a good sandboxing story. BUG=60458 TEST=http://java.sun.com/products/plugin/1.4/demos/applets/Blink/example1.html with default plug-in settings. Review URL: http://codereview.chromium.org/6350010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72766 0039d316-1c4b-4281-b951-d872f2087c98
* retry r71405:estade@chromium.org2011-01-261-3/+0
| | | | | | | | | | | | | Make new chrome UI security model the default. allows us to update URL in chrome://settings when the user navigates within it. BUG=57485 TEST=manual Review URL: http://codereview.chromium.org/6240010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72701 0039d316-1c4b-4281-b951-d872f2087c98
* Removes different instant behaviors that are no longer used.sky@chromium.org2011-01-261-10/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6245012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72692 0039d316-1c4b-4281-b951-d872f2087c98
* touch-devices switch: documentation.sadrul@chromium.org2011-01-251-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72510 0039d316-1c4b-4281-b951-d872f2087c98
* revert r71405 as it is causing ui test failures:estade@chromium.org2011-01-241-0/+3
| | | | | | | | | | | | | Make new chrome UI security model the default. allows us to update URL in chrome://settings when the user navigates within it. BUG=57485 TEST=manual Review URL: http://codereview.chromium.org/6277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72420 0039d316-1c4b-4281-b951-d872f2087c98
* Make new chrome UI security model the default.estade@chromium.org2011-01-241-3/+0
| | | | | | | | | | | allows us to update URL in chrome://settings when the user navigates within it. BUG=57485 TEST=manual Review URL: http://codereview.chromium.org/6266017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72405 0039d316-1c4b-4281-b951-d872f2087c98
* Modify chrome to accept a pdf file on the command line and upload it to ↵scottbyer@chromium.org2011-01-241-0/+8
| | | | | | | | | | | | | Cloud Print via the Cloud Print dialog Contributed by abodenha@google.com BUG=none TEST=Run Chrome on Windows with --cloud-print-file=<Path to PDF> and --cloud-print-job-title Review URL: http://codereview.chromium.org/6038008 Patch from Albert Bodenhamer <abodenha@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72392 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land http://codereview.chromium.org/6339004 which was revertedcrogers@google.com2011-01-221-0/+3
| | | | | | | | BUG=none TEST=none TBR=rniwa git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72278 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 72261 - Add run-time enable support for the web audio APIrniwa@chromium.org2011-01-221-3/+0
| | | | | | | | | | | | | | Windows browser tests are failing. BUG=none TEST=none (tested locally on Mac OS X to verify about:flags shows the web audio feature and that it can be enabled/disabled) Review URL: http://codereview.chromium.org/6339004 TBR=crogers@google.com Review URL: http://codereview.chromium.org/6364005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72270 0039d316-1c4b-4281-b951-d872f2087c98
* Add run-time enable support for the web audio APIcrogers@google.com2011-01-221-0/+3
| | | | | | | | | BUG=none TEST=none (tested locally on Mac OS X to verify about:flags shows the web audio feature and that it can be enabled/disabled) Review URL: http://codereview.chromium.org/6339004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72261 0039d316-1c4b-4281-b951-d872f2087c98
* Generate thumbnails in the browser process.satorux@chromium.org2011-01-211-0/+5
| | | | | | | | | | | | | | | | | | | | | The feature is now behind --enable-in-browser-thumbnailing flag. The in-browser thumbnailing works as follows: - The scroll offset is sent from the renderer to the browser. - The thumbnail is taken when the page info is sent from the renderer process. - Since thumbnails are generated in the browser, we can avoid the generation when unnecessary (ex. off-the-record mode, or New Tab Page). - The quality of thumbnails is as good as before, as the patch doesn't change timing heuristics. - The drawback is that we cannot take thumbnails from background tabs. New functions are added to ThumbnailGenerator for clipping thumbnails, with tests. BUG=65936 TEST=add unit tests for thumbnail_generator. confirmed that the thumbnails are updated with and without --enable-in-browser-thumbnailing Review URL: http://codereview.chromium.org/6246007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72115 0039d316-1c4b-4281-b951-d872f2087c98
* * Add WebPreference::interactive_form_validation_enabledtkent@chromium.org2011-01-201-0/+4
| | | | | | | | | | | | | | | | | | | | | The default value is true. * Add --disable-interactive-form-validation flag and about:flags interface The interactive form validation feature might cause web site compatibility issues. So we provide a way to disable it just in case. BUG=45804,54368 TEST=manual; Open the URL "data:text/html,<form><input required></form>", click the input field, and press ENTER key. - A validation message is shown by default - If you run Chrome with --disable-interactive-form-validation, no validation message is shown and the form is submitted. - If you enable "Disable HTML5 interacrive form validation" flag on about:flags, no validation message is shown and the form is submitted. Review URL: http://codereview.chromium.org/6329005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71902 0039d316-1c4b-4281-b951-d872f2087c98
* Revert http://src.chromium.org/viewvc/chrome?view=rev&revision=70896 to move ↵satish@chromium.org2011-01-191-0/+3
| | | | | | | | | | | | | speech input back behind a flag. We have more work to do and the feature isn't ready for M10 so moving it back behind a flag. BUG=61677 TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/6353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71789 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled GPU process prelaunch field trial.apatrick@chromium.org2011-01-191-4/+0
| | | | | | | | | | | This might be causing the GPU to hang even when not viewing GPU hardware accelerated content. An example appears to be the ATI HD2600 on mac. TEST=try BUG=none Review URL: http://codereview.chromium.org/6380001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71737 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71313 - Removed old login screen from source.avayvod@chromium.org2011-01-181-0/+3
| | | | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TopSites::IsEnabled() as well as related dead code.satorux@chromium.org2011-01-181-3/+0
| | | | | | | | | | | | TopSites has been enabed since r64072. It's now time to remove the dead code. BUG=69492 TEST=Make sure thumbnails are correctly updated as before. try bots. Review URL: http://codereview.chromium.org/6283001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71634 0039d316-1c4b-4281-b951-d872f2087c98
* Turn password sync on by default.johnnyg@chromium.org2011-01-151-3/+3
| | | | | | | | | BUG=61252 TEST=none Review URL: http://codereview.chromium.org/6249006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71534 0039d316-1c4b-4281-b951-d872f2087c98
* The revert Broke Chrome OS...mmenke@chromium.org2011-01-141-3/+0
| | | | | | | | | | | | | | | | Revert 71470 - Revert 71313 - Removed old login screen from source. Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org,tbroch@chromium.org TBR=avayvod@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71478 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71313 - Removed old login screen from source.avayvod@chromium.org2011-01-141-0/+3
| | | | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 TBR=avayvod@chromium.org,tbroch@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71470 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to specify the minimum flash version implementing ↵bauerb@chromium.org2011-01-141-0/+3
| | | | | | | | | | | the NPP_ClearSiteData API. BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6242002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71441 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the security model for "chrome" URLsabarth@chromium.org2011-01-131-0/+3
| | | | | | | | | | | | | | | | | | This patch changes the security model for "chrome" URLs to make implementing some features in DOMUI easier. Instead of registering "chrome" as a NoAccess and a Local scheme, we register it as a DisplayIsolated scheme. That should have the effects outlined in this email: http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/863700bf99b3f3ed See also https://bugs.webkit.org/show_bug.cgi?id=50182 which introduces the necessary API into WebKit. BUG=69140 Review URL: http://codereview.chromium.org/5268006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71382 0039d316-1c4b-4281-b951-d872f2087c98
* This adds a "killed tab" page to be displayed in the case where a tab is ↵gspencer@chromium.org2011-01-131-0/+3
| | | | | | | | | | | | | | | killed instead of crashing. It also adds "about:kill" to simulate kills. On ChromeOS killed tabs will be reloaded as soon as the user clicks on them unless they are the only tab, or the currently focused tab is killed. BUG=http://crosbug.com/10043, http://crosbug.com/10711 TEST=Built linux and ChromeOS Chrome and killed a tab, and then did about:crash and made sure that the "Aw, Snap!" page was displayed. Did about:kill and made sure kill page was displayed. Review URL: http://codereview.chromium.org/6053012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71360 0039d316-1c4b-4281-b951-d872f2087c98
* Removed old login screen from source.avayvod@chromium.org2011-01-131-3/+0
| | | | | | | | | | | Deleted kEnableLoginImages flag. BUG=chromium-os:7214 TEST=Old login screen should not show up even under automation tests for login. Review URL: http://codereview.chromium.org/5809001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71313 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify wording around blocking 3rd party cookies and add lab to block ↵jochen@chromium.org2011-01-121-0/+5
| | | | | | | | | | | reading of 3rd party cookies BUG=69066 TEST=net_unittests Review URL: http://codereview.chromium.org/6207005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71148 0039d316-1c4b-4281-b951-d872f2087c98
* Removing the command line flag for enabling autofill profile datatype.lipalani@chromium.org2011-01-111-4/+0
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6140002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70970 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-accelerated-plugins flag to enable compositing for plugins, ↵piman@google.com2011-01-101-0/+3
| | | | | | | | | | | | | separately from the rest. The PPAPI 3D implementation requires accelerated compositing to be on. For both NaCl and Pepper Flash, we want to be able to enable compositing for plugins, without forcing it on for everything else. BUG=None TEST=with pepper flash Review URL: http://codereview.chromium.org/6190005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70964 0039d316-1c4b-4281-b951-d872f2087c98
* Adds lab for making instant suggest autocomplete immediately. As partsky@chromium.org2011-01-101-0/+5
| | | | | | | | | | | | of this I encountered a bug in SearchProvider::FinalizeInstantQuery which has been fixed (with test). BUG=none TEST=none Review URL: http://codereview.chromium.org/6142008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70960 0039d316-1c4b-4281-b951-d872f2087c98
* Enable speech input by default and remove unused code.satish@chromium.org2011-01-101-3/+0
| | | | | | | | | BUG=61677 TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/6133006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70896 0039d316-1c4b-4281-b951-d872f2087c98
* Turn gpu acceleration of video (CSC and scaling) on by default. <video> ↵vangelis@chromium.org2011-01-081-1/+4
| | | | | | | | | | | | elements will now trigger the accelerated compositor even if --enable-accelerated-layers isn't specified. A new flag (--disable-accelerated-video) is added to disable the feature. BUG=68911 Review URL: http://codereview.chromium.org/6160004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70842 0039d316-1c4b-4281-b951-d872f2087c98
* Flags: Enable Tabbed Options by default.jhawkins@chromium.org2011-01-071-3/+3
| | | | | | | | | BUG=59972 TEST=none Review URL: http://codereview.chromium.org/6177002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70796 0039d316-1c4b-4281-b951-d872f2087c98
* Make the popup blocker on by default. Flip the flag to be a disabling one.rsesek@chromium.org2011-01-071-4/+5
| | | | | | | | | BUG=60090 TEST=On Windows and Mac, when a popup is blocked, there's an animation in the Omnibox. Review URL: http://codereview.chromium.org/6028015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70775 0039d316-1c4b-4281-b951-d872f2087c98
* Enable BackgroundMode by default on all non-cros platforms.atwilson@chromium.org2010-12-311-7/+1
| | | | | | | | | BUG=59980 TEST=existing tests suffice Review URL: http://codereview.chromium.org/6087003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70344 0039d316-1c4b-4281-b951-d872f2087c98
* Give user the ability to disable the URL request throttler:yzshen@google.com2010-12-231-0/+6
| | | | | | | | | | | | | | | | | | - Support the command line switch --disable-enforced-throttling. With this switch specified, the URL request throttler won't reject outgoing requests during the back-off peroid. Please note that in this case we still keep track of the back-off period, since we need it to determine retry intervals. - Add a more detailed error page description for net::ERR_TEMPORARILY_THROTTLED. BUG=66062 TEST=Without --disable-enforced-throttling switch: (1) Type in the addresss bar a URL which is expected to return 5XX. (2) Keep clicking the "reload" button. (3) After a few clicks, Chrome displays an error page explaining why a net::ERR_TEMPORARILY_THROTTLED error occurs. With --disable-enforced-throttling switch: Following step (1) and (2) described above won't result in a net::ERR_TEMPORARILY_THROTTLED error page. Review URL: http://codereview.chromium.org/5961008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70022 0039d316-1c4b-4281-b951-d872f2087c98
* Block outdated plugins by default.bauerb@chromium.org2010-12-211-6/+3
| | | | | | | | | | | | | To allow outdated plugins, pass the new --allow-outdated-plugins command line flag. Also, remove the unused "block nonsandboxed plug-ins" command line flag. BUG=47731 TEST=none Review URL: http://codereview.chromium.org/6065004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69884 0039d316-1c4b-4281-b951-d872f2087c98