summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* GTTF: Move more test server code from net/url_request/url_request_unittest.hphajdan.jr@chromium.org2010-07-291-13/+21
| | | | | | | | | | | | | to net/test/test_server.h No code changes, just a move. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3034038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54201 0039d316-1c4b-4281-b951-d872f2087c98
* OwnerManager, allows use of OwnerKeyUtils to take ownership of a devicecmasone@google.com2010-07-291-0/+4
| | | | | | | | | BUG=chromium-os:4485 TEST=unit tests Review URL: http://codereview.chromium.org/3058021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54199 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an unused IPC message.brettw@chromium.org2010-07-291-6/+0
| | | | | | | | TEST=it still compiles BUG=none Review URL: http://codereview.chromium.org/3020027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54190 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line switch to control accelerated 2d canvasjamesr@chromium.org2010-07-293-0/+6
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2873074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54159 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Fix broken valgrind suppressions.thakis@chromium.org2010-07-291-5/+5
| | | | | | | | They don't work locally for me, and on the bots only Mac_Sandbox_Intentional_Leak3 is getting used, which is overly wide. Review URL: http://codereview.chromium.org/2808079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54141 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Allow setting up multiple sockets for subprocess instead of just onemseaborn@chromium.org2010-07-292-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Remove the "channel number" parameter from messages, since this is now fixed in the NaCl plugin code in sel_main_chrome.c. Replace pair_ and descriptor_ with sockets_for_renderer_ and sockets_for_sel_ldr_. NaClProcessMsg_Start: Pass an array of FDs instead of one FD. ViewHostMsg_LaunchNaCl: * Add socket count. * Return an array of FDs instead of one FD. Expose this functionality to the NaCl plugin via a new function, "launch_nacl_process_multi_fd". BUG=50626 TEST=nacl_ui_tests Review URL: http://codereview.chromium.org/2832093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54113 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded headers from app/thestig@chromium.org2010-07-296-7/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2819063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54102 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Display a right-aligned generic CC icon in the suggestions popup forjhawkins@chromium.org2010-07-281-1/+2
| | | | | | | | | | | billing suggestions. BUG=50080 TEST=none Review URL: http://codereview.chromium.org/3071003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54052 0039d316-1c4b-4281-b951-d872f2087c98
* The token service should now support issuing auth tokens.chron@chromium.org2010-07-286-12/+73
| | | | | | | | | | | | The service will fetch tokens in the background and broadcast notifications after it's done. Move some common constants out into a new file. Modify TestNotificationTracker to support subclassing as it doesn't properly make a deep copy of notifications on the stack. TEST=unit tests included BUG=47093 Review URL: http://codereview.chromium.org/3024002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54028 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: bit hacky way to ensure Pepper plugins get loaded by zygote.viettrungluu@chromium.org2010-07-282-1/+32
| | | | | | | | | BUG=49702 TEST=Integrated PDF plugin should work on Linux Chrome, and --register-pepper-plugins works on Linux even with sandbox enabled. Review URL: http://codereview.chromium.org/3031011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53977 0039d316-1c4b-4281-b951-d872f2087c98
* base/ header cleanup. Forward declaration instead of including.erg@google.com2010-07-283-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53969 0039d316-1c4b-4281-b951-d872f2087c98
* Fix lines longer than 80 characters.tfarina@chromium.org2010-07-281-7/+7
| | | | | | | | | BUG=50266 TEST=None Review URL: http://codereview.chromium.org/3013038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53958 0039d316-1c4b-4281-b951-d872f2087c98
* 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