summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Allow the reliability tests to run more than on URL in JS stress modesgjesse@google.com2011-02-223-9/+17
| | | | | | | | | | | | There was i bug in the reliability tests where passing --stress-opt or --stress-deopt would cause the loading of the second URL from the list passed with the --list argument did not wotk. This was not an issur for the reliability test runner as it currently only loads one URL in each test when running in JS stress mode. Also changed the JS stress message to be a control message. BUG=none TEST=none Review URL: http://codereview.chromium.org/6538078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75576 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the first login preferences for input methods.satorux@chromium.org2011-02-225-87/+308
| | | | | | | | | | | | | | | | | | | | 1. add the current keyboard layout (one used on the login screen). 2. add the most popular input method associated with the application locale, that matches the current keyboard layout. For instance, add "mozc-jp" (Japanese input for JP keyboard), if the locale is JA, and keyboard layout is JP. 3. if 2 didn't help, add the most popular input method associated with the application locale (ex. xkb:ru::rus for Russian). Along the way, update the input method descriptor list for testing in input_method_library.cc BUG=chromium-os:12051 TEST=remove chrome sync data from www.google.com/dashboard, remove account from the login screen, login. Confirm that language.preload_engines and language.preferred_languages are set as intended. Review URL: http://codereview.chromium.org/6538054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75575 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Pressing ctrl key shouldn't affect inline autocomplete suggest.suzhe@google.com2011-02-222-2/+44
| | | | | | | | | | | | This CL reverts an inappropriate change introduced by http://codereview.chromium.org/5966006. BUG=73488 TEST=Pressing ctrl key in omnibox shouldn't affect existing inline autocomplete suggest text. Review URL: http://codereview.chromium.org/6541048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75574 0039d316-1c4b-4281-b951-d872f2087c98
* Implement keycode/text conversion on mac for chromedriver.kkania@chromium.org2011-02-229-89/+426
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6537024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75569 0039d316-1c4b-4281-b951-d872f2087c98
* Preload IME for the flash sandbox plugincpu@chromium.org2011-02-221-0/+14
| | | | | | | | | | | | | | | Before we lock down (call LowerToken()) we force the IME subsystem to load, so the required resources are acquired. Typical sites that show the issue are weathernews.jp and www.nicovideo.jp BUG=66605 TEST=see bug Review URL: http://codereview.chromium.org/6551002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75568 0039d316-1c4b-4281-b951-d872f2087c98
* clang: Fix a few more failed attempts at overrides found by -Woverloaded-virtualthakis@chromium.org2011-02-223-5/+6
| | | | | | | | | | BUG=72205 TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6551005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75567 0039d316-1c4b-4281-b951-d872f2087c98
* AutocompletePopupContentsView must override View::PaintChildren to prevent viewsvarunjain@chromium.org2011-02-214-22/+33
| | | | | | | | | | | | from "accidentally" painting. This bug was introduced in Cl http://codereview.chromium.org/6349101 BUG=73473 TEST=none Review URL: http://codereview.chromium.org/6469074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75562 0039d316-1c4b-4281-b951-d872f2087c98
* Add 3 chrome frame mini installer tests, cover installation tests while IE ↵vivianz@chromium.org2011-02-213-27/+91
| | | | | | | | | | | | | process is running. fixed some old tests on verifying installation succeed. BUG=61635 Test=None Review URL: http://codereview.chromium.org/6524001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75559 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang build.bauerb@chromium.org2011-02-211-2/+2
| | | | | | | | | BUG=73385 TEST=none Review URL: http://codereview.chromium.org/6541062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75557 0039d316-1c4b-4281-b951-d872f2087c98
* Tentative compile fix.bauerb@chromium.org2011-02-211-1/+1
| | | | | | TBR=bauerb git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75556 0039d316-1c4b-4281-b951-d872f2087c98
* Add MoveToThread method to PrefMember to make it safe to read pref values ↵bauerb@chromium.org2011-02-215-143/+237
| | | | | | | | | | | from other threads. BUG=73385 TEST=PrefMemberTest.MoveToThread Review URL: http://codereview.chromium.org/6524041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75555 0039d316-1c4b-4281-b951-d872f2087c98
* Fix "--fix" mode of syntax_check_policy_template_json.pyjkummerow@chromium.org2011-02-211-6/+9
| | | | | | | | | | | The auto-fix mode of the syntax checker had a small bug that caused it to be unable to replace tabs and fix indentation in the same run (making a second invocation necessary). This CL fixes this. BUG=None TEST=Run "syntax_check_policy_template_json.py --fix --backup policy_templates.json" for a policy_templates.json file containing lines indented with tabs, observe that fixing such indentation now works as it should Review URL: http://codereview.chromium.org/6550001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75554 0039d316-1c4b-4281-b951-d872f2087c98
* Update customization manifest reader to match desing docdpolukhin@chromium.org2011-02-217-358/+175
| | | | | | | | | BUG=chromium-os:11736 TEST=ServicesCustomizationDocumentTest.* StartupCustomizationDocumentTest.* Review URL: http://codereview.chromium.org/6541025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75548 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Run canonicalize when adding/removing whitelisted user.nkostylev@chromium.org2011-02-211-2/+3
| | | | | | | | | BUG=chromium-os:11720 TEST=manual Review URL: http://codereview.chromium.org/6549003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75543 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 679.0 to 680.0chrome-release@google.com2011-02-211-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75538 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of browser_prefs::RegisterAllPrefs()mnissler@chromium.org2011-02-2115-64/+67
| | | | | | | | | | | | | | Local state and user prefs have always been separate namespaces. We'd like to have proxy configuration in both, so let's stick to the namespace separation and clean up testing code that incorrectly merged the namespaces. BUG=none TEST=compiles and passes tests Review URL: http://codereview.chromium.org/6542013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75536 0039d316-1c4b-4281-b951-d872f2087c98
* Call the parent class's OnBoundsChanged so that the Auxiliary text window ↵zork@chromium.org2011-02-211-0/+1
| | | | | | | | | | | shows up properly. BUG=chromium-os:12260 TEST=Turn on Japanese IME. Type "a", press space twice. Ensure the auxiliary text shows up. Review URL: http://codereview.chromium.org/6532081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75530 0039d316-1c4b-4281-b951-d872f2087c98
* When user "discards history," discard speculative data as welljar@chromium.org2011-02-206-19/+46
| | | | | | | | | | | | | | | The speculative system record the first 10 connections that are made (at startup), and also learns about subresource connections made when the user visits sites. This information implies visitation history, and needs to be discarded when the user BUG=62891 r=eroman,sky Review URL: http://codereview.chromium.org/6538007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75525 0039d316-1c4b-4281-b951-d872f2087c98
* Code to test download shelf equivalent activities on ChromeOS.rdsmith@chromium.org2011-02-201-30/+73
| | | | | | | | | BUG=72750 TEST=Download tests pass on trybots Review URL: http://codereview.chromium.org/6526008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75524 0039d316-1c4b-4281-b951-d872f2087c98
* Mark PrenderBrowserTest.PrerenderRedirectToHttps flaky.cbentzel@chromium.org2011-02-201-1/+2
| | | | | | | | | BUG=73580 TEST=None Review URL: http://codereview.chromium.org/6532079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75523 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel prerender if any of the visited URLs are https, part 3.cbentzel@chromium.org2011-02-209-40/+131
| | | | | | | | | | | | | | | This is similar to the two previous times I tried to land, with one important change: The PrerenderContents constructor does not do AddAliasURL within a DCHECK. Also, changed some EXPECT_EQ's to ASSERT_EQ's to prevent crashes. These weren't immediate segfaults, but happened due to double deletes if GetEntry() did not return an expected value. BUG=72486 TEST=added new unit_tests and browser_tests Manual Test: With preendering enabled, do a search for "yahoo mail". Prerendering should be canceled due to https. Review URL: http://codereview.chromium.org/6543023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75522 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 678.0 to 679.0chrome-release@google.com2011-02-201-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75519 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DCHECK and remove moot DECLSPEC_IMPORT.msw@chromium.org2011-02-202-6/+8
| | | | | | | | | | | | Rename RAR to RegisterApplicationRestartProc. Remove a stray comment. BUG=70824 TEST=none Review URL: http://codereview.chromium.org/6541046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75517 0039d316-1c4b-4281-b951-d872f2087c98
* Register Application Restart with Windows Restart Manager on browser_main ↵msw@chromium.org2011-02-203-9/+59
| | | | | | | | | | | | | startup for Windows Vista / Server 2008 and beyond. This launches Chrome and restores tabs if the computer is restarted as the result of an update. Use GetFunctionPointer/GetProcAddress to avoid XP link and run errors. Make changes to support necessary CommandLine operations. Other minor cleanup and refactoring. BUG=70824 TEST=Reboot from update or ::ExitWindowsEx(EWX_RESTARTAPPS... Chrome should restart and restore tabs on login. Test launching Chrome with a variety of command-line switches and arguments. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75405 Review URL: http://codereview.chromium.org/6462024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75516 0039d316-1c4b-4281-b951-d872f2087c98
* Implement several ChromeDriver commands based on the javascript atoms.kkania@chromium.org2011-02-206-22/+715
| | | | | | | | | | | | | | Added a "501 Not Implemented" callback to mongoose for the WebDriver commands that have not been implemented yet. This ensures tests that fail from unimplemented commands fail with a meaningful message. Patch by jleyba@chromium.org. Original review at http://codereview.chromium.org/6542032 BUG=none TEST=none Review URL: http://codereview.chromium.org/6542036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75511 0039d316-1c4b-4281-b951-d872f2087c98
* Fix conversion from double to int warning.kkania@chromium.org2011-02-201-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=jleyba Review URL: http://codereview.chromium.org/6532077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75510 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build by updating implicit_wait_command_unittest to use new Response ↵kkania@chromium.org2011-02-201-5/+4
| | | | | | | | | | | | class interface. BUG=none TEST=none TBR=jleyba Review URL: http://codereview.chromium.org/6543038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75509 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in ImplicitWaitCommand: we must explicitly check if the ms paramkkania@chromium.org2011-02-207-28/+137
| | | | | | | | | | | | was sent as a floating point number after checking for an integer. Patch by jleyba@chromium.org. Original review at http://codereview.chromium.org/6532068 BUG=none TEST=none Review URL: http://codereview.chromium.org/6541043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75508 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build. Forgot to explictly add file while patching.kkania@chromium.org2011-02-191-0/+78
| | | | | | | | | | BUG=none TEST=none TBR=rsleevi Review URL: http://codereview.chromium.org/6544032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75507 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up response.h and moving all of the logic into the .cc file.kkania@chromium.org2011-02-1930-161/+141
| | | | | | | | | | | Patch by jleyba@chromium.org. Original review at http://codereview.chromium.org/6543015 BUG=none TEST=none Review URL: http://codereview.chromium.org/6469071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75506 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Delete stub chrome/browser/dom_ui/options/* headerstfarina@chromium.org2011-02-1982-394/+95
| | | | | | | | | | | | The last references to chrome/browser/dom_ui/options/* have been updated so it's safe to delete the stub headers. BUG=59945, 59946 TEST=compiled locally and trybots Review URL: http://codereview.chromium.org/6542033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75501 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent unused normal SiteInstances from being used for extensions.creis@google.com2011-02-192-9/+15
| | | | | | | | | | | | Instead, create a new SiteInstance with the appropriate process type. BUG=43448 TEST=RenderProcessHostTest.ProcessOverflow TEST=SessionRestoreUITest.ShareProcessesOnRestore Review URL: http://codereview.chromium.org/6312199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75498 0039d316-1c4b-4281-b951-d872f2087c98
* Track which apps the user has re-ordered on the NTP.jstritar@chromium.org2011-02-196-7/+73
| | | | | | | | | BUG=73445 TEST=ExtensionPrefsAppDraggedByUser Review URL: http://codereview.chromium.org/6543017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75497 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move chrome/browser/dom_ui/options/ to chrome/browser/webui/options.tfarina@chromium.org2011-02-1978-1510/+1809
| | | | | | | | | | | | | To reduce the size of this change I've left stub header files in chrome/browser/dom_ui/options. I'll updated the references and delete the stub files later. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6469067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75496 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 677.0 to 678.0chrome-release@google.com2011-02-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75493 0039d316-1c4b-4281-b951-d872f2087c98
* Move core pieces of browser\renderer_host to src\content.jam@chromium.org2011-02-1997-23965/+126
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6532073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75489 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "WebUI: Move more files from chrome/browser/dom_ui to ↵tfarina@chromium.org2011-02-19105-205/+210
| | | | | | | | | | | | | | | | chrome/browser/webui. Part 5." This reverts commit 1088003ee7026f2b830d2451f79ce772c44a7cea. BUG=59945, 59946 TEST=trybots TBR=avi@chromium.org Original Review: http://codereview.chromium.org/6538053/ Review URL: http://codereview.chromium.org/6532069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75478 0039d316-1c4b-4281-b951-d872f2087c98
* Run event executor on the ui thread to remove the need to explicitly ↵ajwong@chromium.org2011-02-194-6/+15
| | | | | | | | | | | | XFlush() the XTest calls. BUG=none TEST=Connect to a host and try moving the mouse and typing. Both inputs should be reflected correctly. Review URL: http://codereview.chromium.org/6489031 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75477 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Refactor printing to be more linux Windows/Mac.thestig@chromium.org2011-02-1912-195/+331
| | | | | | | | BUG=41543,59732 TEST=Printing works on Linux and CrOS, Linux printing respect print dialog settings. Review URL: http://codereview.chromium.org/6516022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75475 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup PrintWebViewHelper.thestig@chromium.org2011-02-193-36/+12
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6538048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75474 0039d316-1c4b-4281-b951-d872f2087c98
* Collect as much GPU information as possible without creating a GL/D3D ↵zmo@google.com2011-02-1910-30/+131
| | | | | | | | | | | context. If based on such partial information, a graphics card/driver is already blacklisted, we shouldn't even try to establish GPU channel. This gives us the ability to blacklist REALLY BAD graphics card/driver that will crash during GPU info collection. BUG=72979 TEST=none Review URL: http://codereview.chromium.org/6531023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75473 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pyauto tests broken on Mac by r75344nirnimesh@chromium.org2011-02-181-1/+0
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6542019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75471 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Clean up about:syncakalin@chromium.org2011-02-186-211/+169
| | | | | | | | | | | | | | | | | Converted from table-based layout to CSS positioning. Cleaned up markup and styles. Fixed some bugs in chrome_sync.js. This is in preparation for putting the top-level divs in a tabbed view. BUG=69500 TEST= Review URL: http://codereview.chromium.org/6538047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75463 0039d316-1c4b-4281-b951-d872f2087c98
* Take out incorrect usage of MessageLoop::SetNestableTasksAllowed.jam@chromium.org2011-02-181-2/+8
| | | | | | | BUG=73466 Review URL: http://codereview.chromium.org/6541036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75460 0039d316-1c4b-4281-b951-d872f2087c98
* Cloud print options fix.scottbyer@chromium.org2011-02-185-18/+8
| | | | | | | | | | | | | | There seemed to be a timing issue on Mac and non-views Linux build that prevented the button handlers from being properly installed. By always installing the handlers and basing their behavior on the visibility of the ui instead, things work on all platforms. BUG=none TEST=Start up Mac Chromium with --enable-cloud-print-proxy, go to Under the Hood, and try to start cloud print - with this patch, the sign in UI will start. Review URL: http://codereview.chromium.org/6541027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75458 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75453 - WebUI: Move more files from chrome/browser/dom_ui to ↵scherkus@chromium.org2011-02-18104-209/+204
| | | | | | | | | | | | | chrome/browser/webui. Part 5. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6538053 TBR=tfarina@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75456 0039d316-1c4b-4281-b951-d872f2087c98
* Correct the screen-space positioning of browser-action popup dialogs.twiz@chromium.org2011-02-181-1/+8
| | | | | | | | | | | Regression was introduced in CL http://codereview.chromium.org/6334101 BUG=73353 TEST=None Review URL: http://codereview.chromium.org/6544020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75454 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. ↵tfarina@chromium.org2011-02-18104-204/+209
| | | | | | | | | | | Part 5. BUG=59945, 59946 TEST=trybots Review URL: http://codereview.chromium.org/6538053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75453 0039d316-1c4b-4281-b951-d872f2087c98
* Update the animation callback histogram to measure only the delay between ↵jamesr@chromium.org2011-02-181-33/+46
| | | | | | | | | | | | | post and invocation This avoids abusing a histogram to keep both counts and times (this histogram stores only times) and lets us see the full distribution. BUG=71256 TEST= Review URL: http://codereview.chromium.org/6547001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75447 0039d316-1c4b-4281-b951-d872f2087c98
* Fix command handler for /session/:sessionId/execute (execute_script) forkkania@chromium.org2011-02-183-69/+17
| | | | | | | | | | | | | | | ChromeDriver. The args parameter should be a ListValue, not a string. Also, the args parameter is not optional; if no args are provided in the request, an error should be returned (the handler was defaulting to an empty list). Patch by jleyba@chromium.org. Original review at http://codereview.chromium.org/6544003 BUG=none TEST=none Review URL: http://codereview.chromium.org/6542025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75442 0039d316-1c4b-4281-b951-d872f2087c98