summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Fix line ending with white spaces in some files.tfarina@chromium.org2010-07-281-2/+2
| | | | | | | | | | | BUG=50266 TEST=None Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3046028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53956 0039d316-1c4b-4281-b951-d872f2087c98
* Fully remove the hole in the Mac Sandbox that was used to supportmsneck@google.com2010-07-283-34/+1
| | | | | | | | | | | | | | | | | | Native Client. This removes the special sandbox commands as well as all special code. This CL replaces http://codereview.chromium.org/2881016/show which was rolled back because of problems on Mac OS X 10.5. Those problems were addressed in Native Client and pulled into Chrome with a DEPS file update in http://codereview.chromium.org/2881034/show which was committed as Chrome revision 53711. BUG=http://code.google.com/p/nativeclient/issues/detail?id=344 TEST=all tests pass, including nacl_ui_tests Review URL: http://codereview.chromium.org/3077003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53936 0039d316-1c4b-4281-b951-d872f2087c98
* Move click-to-play behind the --enable-click-to-play switch.bauerb@chromium.org2010-07-282-0/+4
| | | | | | | | | BUG=50086 TEST=none Review URL: http://codereview.chromium.org/3074005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53924 0039d316-1c4b-4281-b951-d872f2087c98
* Add remaining stuff for Mozc configuration DOMUI.satorux@chromium.org2010-07-281-1/+1
| | | | | | | | | | | This still lacks "Reset to default" button which original configuration dialog has, but all configuration items are implemented. Review URL: http://codereview.chromium.org/3043023 Patch from Takayoshi Kochi <kochi@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53918 0039d316-1c4b-4281-b951-d872f2087c98
* Make login cancel logic load localaccount file before attempting offline logincmasone@google.com2010-07-282-3/+4
| | | | | | | | | BUG=chromium-os:5169 TEST=unit tests Review URL: http://codereview.chromium.org/2847080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53913 0039d316-1c4b-4281-b951-d872f2087c98
* Enable crash reporting by default with PyAuto on Mac/Linuxnirnimesh@chromium.org2010-07-281-1/+1
| | | | | | | | | | | | It's already enabled on windows by default. This of course applies only to the branded builds. Also, make the path to imported pyauto binaries prettier by applying os.path.normpath Change to chrome_switches.cc is to put a comment at the place where it belongs Review URL: http://codereview.chromium.org/2873073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53911 0039d316-1c4b-4281-b951-d872f2087c98
* Adds unit tests for Serbian and Ukranian dictionaries.hbono@chromium.org2010-07-281-0/+4
| | | | | | | | | | This change is unit tests for <http://codereview.chromium.org/2805065/show>. BUG=43011,40340 TEST=unit_test --gtest_filter=SpellCheckTest* Review URL: http://codereview.chromium.org/2807035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53909 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of changes required to populate appcache resource list.kkanetkar@chromium.org2010-07-286-8/+105
| | | | | | | | | BUG = 2821005 TEST = Manually navigate. Review URL: http://codereview.chromium.org/3009005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53902 0039d316-1c4b-4281-b951-d872f2087c98
* Add undeclared virtual destructors part 2ziadh@chromium.org2010-07-273-0/+8
| | | | | | | | | | | | | Preventative maintainance for abstract classes that do not declare virtual destructors. Base classes that do not declare their destructors as virtual could potentially lead to memory leaks. r=jar BUG=47469 Review URL: http://codereview.chromium.org/3032024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53831 0039d316-1c4b-4281-b951-d872f2087c98
* Revert bookmark bar promo CL, r52993mirandac@google.com2010-07-272-6/+0
| | | | | | | | | | TBR: arv BUG=49328 TEST=no bookmark bar promo on first run to empty profile. or ever. Review URL: http://codereview.chromium.org/3053015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53804 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Add flag for expose-for-tabsthakis@chromium.org2010-07-272-4/+8
| | | | | | | | | BUG=50307 TEST=none Review URL: http://codereview.chromium.org/3020034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53798 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --testing-fixed-http-port and --testing-fixed-https-port.cbentzel@chromium.org2010-07-272-6/+0
| | | | | | | | | | | --host-rules seems like a reasonable enough substitute for these two command line flags, and removing them will simplifies the fairly complicated URL rewrite logic in HttpNetworkTransaction. BUG=None TEST=built and ran net_unittests Review URL: http://codereview.chromium.org/3041019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53790 0039d316-1c4b-4281-b951-d872f2087c98
* Put back 53641 - Landing OEM customization CL for Denisdpolukhin@chromium.org2010-07-272-12/+0
| | | | | | | | | | | | | | | | | | | | | | Original CL http://codereview.chromium.org/3026006 Fixed problems with initial locale change freezing Chrome OS on the device. Added creation of /home/chronos/.oobe_completed flag file. Removed command line switches for testing customization manifests. Added StringFetcher class implementation - URL fetcher that downloads content into std::string. Refactored services customization integration. Removed sample manifests from Chrome repository. They are submitted into Chromium OS repository at chromeos/src/platform/assets/oem_customization. BUG=http://crosbug.com/1888 TEST=Manual. Changes to OEM customization manifests on partner partition, namely the initial locale, time zone, and startup page attributes should change OOBE UX accordingly. Review URL: http://codereview.chromium.org/3064002 TBR= nkostylev@chromium.org Review URL: http://codereview.chromium.org/2878056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53775 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the "Configure modifier keys" drop-down which enables users to ↵yusukes@google.com2010-07-272-0/+10
| | | | | | | | | | | swap Alt/Ctrl keys and Search/Ctrl keys. BUG=chromium-os:2636 TEST=manually on eeepc Review URL: http://codereview.chromium.org/3038025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53764 0039d316-1c4b-4281-b951-d872f2087c98
* Extension doc changes (nothing buildable or testable)rafaelw@chromium.org2010-07-2753-36/+247
| | | | | | | | | | | Add boilerplate line for experimental api pages BUG=48582 TEST=NONE Review URL: http://codereview.chromium.org/2881038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53734 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-26144-0/+144
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Use FRIEND_TEST_ALL_PREFIXES some more.phajdan.jr@chromium.org2010-07-262-5/+6
| | | | | | | | | TEST=compile BUG=44549 Review URL: http://codereview.chromium.org/3032025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53706 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53641 - Landing OEM customization CL for Denisasargent@chromium.org2010-07-262-0/+12
| | | | | | | | | | | | | | | | | | | | | Original CL http://codereview.chromium.org/3026006 Fixed problems with initial locale change freezing Chrome OS on the device. Added creation of /home/chronos/.oobe_completed flag file. Removed command line switches for testing customization manifests. Added StringFetcher class implementation - URL fetcher that downloads content into std::string. Refactored services customization integration. Removed sample manifests from Chrome repository. They are submitted into Chromium OS repository at chromeos/src/platform/assets/oem_customization. BUG=http://crosbug.com/1888 TEST=Manual. Changes to OEM customization manifests on partner partition, namely the initial locale, time zone, and startup page attributes should change OOBE UX accordingly. Review URL: http://codereview.chromium.org/3064002 TBR=dpolukhin@chromium.org Review URL: http://codereview.chromium.org/3030020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53662 0039d316-1c4b-4281-b951-d872f2087c98
* Landing OEM customization CL for Denisdpolukhin@chromium.org2010-07-262-12/+0
| | | | | | | | | | | | | | | | | | Original CL http://codereview.chromium.org/3026006 Fixed problems with initial locale change freezing Chrome OS on the device. Added creation of /home/chronos/.oobe_completed flag file. Removed command line switches for testing customization manifests. Added StringFetcher class implementation - URL fetcher that downloads content into std::string. Refactored services customization integration. Removed sample manifests from Chrome repository. They are submitted into Chromium OS repository at chromeos/src/platform/assets/oem_customization. BUG=http://crosbug.com/1888 TEST=Manual. Changes to OEM customization manifests on partner partition, namely the initial locale, time zone, and startup page attributes should change OOBE UX accordingly. Review URL: http://codereview.chromium.org/3064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53641 0039d316-1c4b-4281-b951-d872f2087c98
* Added --bwsi flag and handling of --login-user=incognito to support BWSI ↵avayvod@chromium.org2010-07-262-0/+5
| | | | | | | | | | | | mode with sync and extensions disabled. BUG=http://crosbug.com/4420 TEST=With latest session manager click on BWSI mode or just run Chrome with --login-user=incognito and --bwsi. Sync and extensions should be disabled. Review URL: http://codereview.chromium.org/2873047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53617 0039d316-1c4b-4281-b951-d872f2087c98
* Surface the "Set up sync" button on ChromiumOS when sync is stopped permanently.skrul@chromium.org2010-07-232-0/+5
| | | | | | | | | | I need this to be LGTMed again since the last time I tried to commit this it caused a gitsplosion. BUG=49402 Review URL: http://codereview.chromium.org/3033025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53552 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Add --organic flag to simulate an organic install for testing purposes.estade@chromium.org2010-07-232-0/+4
| | | | | | | | | BUG=none TEST=run with --organic --first-run Review URL: http://codereview.chromium.org/3047011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53546 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: revert r53542. It was committed with the wrong commit message.estade@chromium.org2010-07-232-4/+0
| | | | | | TBR=asargent git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53544 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at content settings exceptions lists.estade@chromium.org2010-07-232-0/+4
| | | | | | | | | | | This only shows the existing exceptions (doesn't allow you to add or remove them). It also only works for image exceptions. It always shows the exceptions, instead of hiding/showing them when you press the exceptions button. BUG=48862 TEST=manual Review URL: http://codereview.chromium.org/2856058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53542 0039d316-1c4b-4281-b951-d872f2087c98
* Green Tree Tactical Force: Revert skrul's bad commits (probably a git-cl bug).phajdan.jr@chromium.org2010-07-234-10/+0
| | | | | | | | TBR=skrul Review URL: http://codereview.chromium.org/2847072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53529 0039d316-1c4b-4281-b951-d872f2087c98
* Surface the "Set up sync" button on ChromiumOS when sync is stopped permanently.skrul@chromium.org2010-07-232-0/+5
| | | | | | | | BUG=49402 Review URL: http://codereview.chromium.org/3041016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53527 0039d316-1c4b-4281-b951-d872f2087c98
* fake libcrosskrul@chromium.org2010-07-232-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53516 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: test server cleanup:phajdan.jr@chromium.org2010-07-231-19/+12
| | | | | | | | | | | | | - simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome/common/DEPS now that we broke the dependency on chrome/app.thestig@chromium.org2010-07-231-1/+0
| | | | | | | | | BUG=46666 TEST=none TBR=maruel Review URL: http://codereview.chromium.org/3044016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53439 0039d316-1c4b-4281-b951-d872f2087c98
* Random bits of header and whitespace cleanup.thestig@chromium.org2010-07-231-3/+6
| | | | | | | | BUG=none TEST=noe Review URL: http://codereview.chromium.org/3062003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53437 0039d316-1c4b-4281-b951-d872f2087c98
* Continual header pruningerg@google.com2010-07-222-6/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3029019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53391 0039d316-1c4b-4281-b951-d872f2087c98
* Few TranslateManager changes:jcivelli@chromium.org2010-07-222-0/+6
| | | | | | | | | | | | | - Always show a "translating..." infobar when initiating a translation from the context menu, or when the translation is automatic (always translate option). It does not make sense not to show one, as translation may take several seconds and no having any feedback during that time is confusing (also this is what translate in toolbar does). - Don't enable the translate context menu until we get the page language. This is an effort to ensure the translate infobar delegate always get an original language. - Makes the translate manager deals correctly with unknown languages to avoid a crasher (bug 49018) BUG=49018 TEST=See bug. And also, start a translation from the context menu, while the page is being translated a "translating..." infobar should be shown. Also, tests that when a language was selected for "always translate", navigating to a page in that language triggers a "translating..." infobar. Review URL: http://codereview.chromium.org/3026002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53384 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper stream-to-file plumbing.darin@chromium.org2010-07-226-11/+31
| | | | | | | | | | | | This just hooks up the renderer side of the IPC. R=brettw BUG=49789 TEST=none Review URL: http://codereview.chromium.org/3053009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53378 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53342 - Switch back to disabling Core Animation for Flash (for branch ↵stuartmorgan@chromium.org2010-07-222-4/+4
| | | | | | | | | | | | | | | | merge). This goes back to the M5 logic for managing Flash model negotiation on the Mac. BUG=49169 TEST=Flash should not negotation Core Animation mode unless --enable-flash-core-animation is passed. White flickering shouldn't happen, find bar and full screen UI should show. Review URL: http://codereview.chromium.org/3044015 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/2832074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53351 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Record whether the user initiated the form submission and don't ↵jhawkins@chromium.org2010-07-221-0/+2
| | | | | | | | | | | save form data if the form was not user-submitted. BUG=48225 TEST=none Review URL: http://codereview.chromium.org/2842062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53350 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back to disabling Core Animation for Flash (for branch merge).stuartmorgan@chromium.org2010-07-222-4/+4
| | | | | | | | | | | This goes back to the M5 logic for managing Flash model negotiation on the Mac. BUG=49169 TEST=Flash should not negotation Core Animation mode unless --enable-flash-core-animation is passed. White flickering shouldn't happen, find bar and full screen UI should show. Review URL: http://codereview.chromium.org/3044015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53342 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-device-orientation switch and set ENABLE_DEVICE_ORIENTATION=1hans@chromium.org2010-07-222-0/+4
| | | | | | | | | | | | | | | Flip the compile-time enable switch for device orientation to on, and add a command-line switch to put the functionality behind. The command-line flag will be used both on the Chromium side, and in WebKit via WebRuntimeFeatures. BUG=44654 TEST=browser_tests --gtest_filter=DeviceOrientationEnableSwitchTest.* Review URL: http://codereview.chromium.org/3042009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53317 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled zoom controls in the browser when displaying PDF using the internal ↵sanjeevr@chromium.org2010-07-221-0/+4
| | | | | | | | | | | | PDF plugin. We want to persist zoom state for PDF separately from the zoom state for other content. As a stopgap measure, disabled all browser zoom controls in that scenario. BUG=None TEST=Test zooming when displaying a PDF using the Chrome PDF plugin. Then load or switch to another page (non-PDF) and check that zoom works. Review URL: http://codereview.chromium.org/3007009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53294 0039d316-1c4b-4281-b951-d872f2087c98
* Adding some sample code showing usage of contextMenu API.asargent@chromium.org2010-07-213-0/+77
| | | | | | | | | | BUG=49687 TEST=none TBR=rafaelw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53258 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Mark CheckFalseTest.CheckFails as FAILS.thestig@chromium.org2010-07-211-0/+3
| | | | | | | | BUG=49838 TEST=none Review URL: http://codereview.chromium.org/2870063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53257 0039d316-1c4b-4281-b951-d872f2087c98
* Start trimming headers included in the slowest to compile files.erg@google.com2010-07-211-1/+0
| | | | | | | | | | | Big chunk in the automation code. BUG=none TEST=none Review URL: http://codereview.chromium.org/3056007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53246 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for: State in small letters should be auto-filled from the profile.jhawkins@chromium.org2010-07-211-0/+4
| | | | | | | | | | | BUG=38222 TEST=in the bug Patch by George Yakovleg <georgey@chromium.org> Review URL: http://codereview.chromium.org/2832064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53234 0039d316-1c4b-4281-b951-d872f2087c98
* Attemp 2 at:sky@chromium.org2010-07-212-5/+0
| | | | | | | | | | | | | | | | Makes the toolbar visible for apps again. Here's the set of patches I reverted: 49016, 47119, 47177, 46930, 46775, and the UI changes for 45566) If you see anything missing, please let me know. Also, there are some grd strings no longer necessary. I'll nuke those separately. BUG=49013 TEST=none TBR=finnur Review URL: http://codereview.chromium.org/3056003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53204 0039d316-1c4b-4281-b951-d872f2087c98
* LoadTimingObserver: only send timing struct over IPC if necessary. + Added ↵pfeldman@chromium.org2010-07-211-16/+25
| | | | | | | | unit tests. Review URL: http://codereview.chromium.org/3057001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53176 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move net/socket/ssl_test_util to net/test/test_serverphajdan.jr@chromium.org2010-07-211-1/+1
| | | | | | | | | | | This is a first step to make test server easier to use and more reliable. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3040011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53137 0039d316-1c4b-4281-b951-d872f2087c98
* Forward declare more param traits in common_param_traits.erg@google.com2010-07-203-88/+115
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2805088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53115 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Break another common->app dependency.thestig@chromium.org2010-07-204-2/+98
| | | | | | | | BUG=46666 TEST=none Review URL: http://codereview.chromium.org/3007008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53113 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow syncing of extensions with third-party update URLs or plugins.akalin@chromium.org2010-07-202-3/+6
| | | | | | | | | BUG=49346,46516 TEST=new unit tests, manual Review URL: http://codereview.chromium.org/2884025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53102 0039d316-1c4b-4281-b951-d872f2087c98
* Moved code that generates APP_TERMINATING notification into BrowserList so ↵atwilson@chromium.org2010-07-203-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | it can be used on all platforms. Updated observers (ExtensionProcessManager, BackgroundContents) to listen for APP_TERMINATING instead of listening for BROWSER_CLOSED on some platforms. APP_TERMINATING is now sent just before the main message loop exits rather than just after, but no code depends on this timing. Updated Mac code to always call BrowserList::CloseAllBrowsers() even if there are no open browsers, to ensure that APP_TERMINATING is always fired. Changed BackgroundContentsService to keep the browser process alive when there are BackgroundContents running and updated the unit tests. Renamed BrowserList::IsInPersistentMode() => WillShutdownWhenLastBrowserCloses() and AllBrowsersClosed() => AllBrowsersClosedAndAppExiting() to more precisely indicate their true functions. Exposed BrowserProcess::ModuleRefCount() so BrowserList can determine when the application is going to exit so the right notifications/callbacks can be generated. Updated background-auto-update-restart code to use new BrowserList APIs to determine whether the application is running "in the background". Added code to cancel shutdown on all plaforms if the user selects cancel in an onbeforeunload dialog. BUG=45275 TEST=RunInBackgroundTest (ui_test) Review URL: http://codereview.chromium.org/2866034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53092 0039d316-1c4b-4281-b951-d872f2087c98
* Remove <iostream> where possible.erg@google.com2010-07-201-1/+0
| | | | | | | | | | | | | <iostream> creates a static initializer. Most people don't need <iostream> anyway--they really need <ostream> for operator<< overloads. <iostream> should *never* be included in a header file; <iosfwd> exists for that purpose. BUG=none TEST=none Review URL: http://codereview.chromium.org/3014015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53083 0039d316-1c4b-4281-b951-d872f2087c98