summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kill CleanUpAfterMessageLoopDestruction.willchan@chromium.org2011-03-037-27/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6602047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76800 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a couple of pyauto tests for browser shortcuts.sunandt@chromium.org2011-03-031-2/+32
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6594027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76799 0039d316-1c4b-4281-b951-d872f2087c98
* useragent.php was broken by r76775tonyg@chromium.org2011-03-031-0/+2
| | | | | | | | | | BUG=none TEST=none TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/6612024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76798 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function for usage tracking.kinuko@chromium.org2011-03-037-8/+538
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6453001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76797 0039d316-1c4b-4281-b951-d872f2087c98
* Simple stub menu model for multi-profile menu. Will be used for ↵mirandac@chromium.org2011-03-033-0/+89
| | | | | | | | | | multi-profile UI before back end is hooked in. BUG=74731 TEST=none Review URL: http://codereview.chromium.org/6610015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76796 0039d316-1c4b-4281-b951-d872f2087c98
* Minor doc changes. Mostly commented out TODO and {PENDING notes that ↵jond@google.com2011-03-035-43/+90
| | | | | | | | engineers had made. Review URL: http://codereview.chromium.org/6588085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76795 0039d316-1c4b-4281-b951-d872f2087c98
* mock url tests: be more careful about string handling in URLsevan@chromium.org2011-03-032-8/+13
| | | | | | | | BUG=69467 Review URL: http://codereview.chromium.org/6612018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76794 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes a small bug that was causing some tests to fail.gspencer@chromium.org2011-03-032-19/+7
| | | | | | | | | BUG=48911 TEST=Ran previously failing tests and made sure they passed. Review URL: http://codereview.chromium.org/6598070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76793 0039d316-1c4b-4281-b951-d872f2087c98
* fix display of filenames in file:/// URLsevan@chromium.org2011-03-033-11/+13
| | | | | | | | | | | | | | | | | | | | | | | The code attempted to shorten file:/// URLs to just the filename when displayed as the title of a page. But that appears to have regressed sometime in the past. This shortening is consistent with how we display the title of images (which are like "foo.png (123x456)".) Chrome does a poor job of displaying longer titles (most of the tab title ends up being "file:///C:/" anyway). In any case, using a FilePath to get the filename from a URL may not have even worked on Windows, where the path separator is a backslash. It appears Glen wrote the original code, Brett may be the one to have regressed it in a refactor, and I probably broke it worse in a FilePath refactor. BUG=69467 TEST=load a text file via a file: URL; tab title is just the file name Review URL: http://codereview.chromium.org/6591127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76792 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up more of Widget.ben@chromium.org2011-03-0319-301/+214
| | | | | | | | | | | | - Move cross platform code to Widget. - Move platform-specific code into focused Widget* implementations. BUG=72040 TEST=existing Review URL: http://codereview.chromium.org/6609023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76790 0039d316-1c4b-4281-b951-d872f2087c98
* To prevent damage to the back-buffer, it's only necessary to defer resize.backer@chromium.org2011-03-031-2/+4
| | | | | | | | | | | In particular, we can move the window right away. BUG=74805 TEST=By hand on Linux with software rendering, WebGL, and 3D CSS. Review URL: http://codereview.chromium.org/6613020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76789 0039d316-1c4b-4281-b951-d872f2087c98
* New automation hooks to get/set the thumbnail/menu modes for NTP sections.nirnimesh@chromium.org2011-03-035-1/+495
| | | | | | | | | | | | A few sample PyAuto tests are included that exerise these new hooks. Contributed by dennisjeffrey@chromium.org. BUG=64271 TEST=None Review URL: http://codereview.chromium.org/6610021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76787 0039d316-1c4b-4281-b951-d872f2087c98
* Move content specific switches to content, in preparation for moving ↵jam@chromium.org2011-03-039-296/+324
| | | | | | | | | directories that currently depend on common (like gpu). TBR=bradnelson Review URL: http://codereview.chromium.org/6603011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76785 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebWorkerClientProxy to respect the "create" param.adamk@chromium.org2011-03-032-1/+10
| | | | | | | | | | | | This will be necessary to implement resolveLocalFileSystemURI for workers. BUG=none TEST=none Review URL: http://codereview.chromium.org/6613008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76784 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for the quick-enable-cf command to the installer. This encompases:grt@chromium.org2011-03-0321-109/+1365
| | | | | | | | | | | | | - Adding facilities for new-style Google Update commands (ProductCommand, ProductCommands) - Adding support to the validator to validate the quick-enable-cf command - Adding juju to the installation and uninstallation flows to put the command into place when installing/upgrading Chrome in multi-install mode when CF is either not installed or is in ready-mode, and making sure the command is not there when Chrome Frame is installed. BUG=none TEST=Install Chrome in multi-install mode and see if the Google Update version key for the binaries (app guid {4DC8B4CA-1BDA-483e-B5FA-D3C12E15B62D}) contains a key named "quick-enable-cf" that has a CommandLine value indicating setup.exe w/ --multi-install [ --system-level ] --quick-enable-cf, a SendsPings value of 1, and a WebAccessible value of 1. Then try the other variations, like install CF in ready-mode and make sure that quick-enable-cf is still there. Make sure that installing CF causes it to be removed, etc. Review URL: http://codereview.chromium.org/6588003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76783 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled Internet zone test.rdsmith@chromium.org2011-03-031-3/+1
| | | | | | | | | BUG=20809 TEST=Try bots. Review URL: http://codereview.chromium.org/6602091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76782 0039d316-1c4b-4281-b951-d872f2087c98
* Removing Download UI tests; now complete replaced by browser tests.rdsmith@chromium.org2011-03-032-533/+0
| | | | | | | | | BUG=63493 TEST=Try bots run. Review URL: http://codereview.chromium.org/6602056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76781 0039d316-1c4b-4281-b951-d872f2087c98
* Add files saved using 'Save page as' to the download history.rdsmith@chromium.org2011-03-035-25/+127
| | | | | | | | | | | | | Contributed by fuzzac@gmail.com. BUG=4823 TEST=Open any web page. Save the page using 'Save page as'. Make sure the file is listed in the downloads page. Review URL: http://codereview.chromium.org/6312027 Patch from Magnus Danielsson <fuzzac@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76780 0039d316-1c4b-4281-b951-d872f2087c98
* Fix enable/disable of the Chrome Pepper Nacl plug-in. On Linux, the Zygote ↵bbudge@google.com2011-03-032-20/+32
| | | | | | | | | | loads plugins before all command line information is available. In particular, the about:flags flag for NaCl isn't loaded yet. The fix is to always load the plugin and have the PluginService check the command line flags and set the WebPluginInfo.enabled field based on that. TEST=manual BUG=71989 Review URL: http://codereview.chromium.org/6610005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76779 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor InfoBarContainer a bit in preparation for splitting it into two ↵pkasting@chromium.org2011-03-034-98/+110
| | | | | | | | | | pieces. A std::set<> is added that will eventually be used to track the contained infobars in a way that has no knowledge of child views. The exact ordering of calls when adding and removing infobars is adjusted slightly in a way that ought to not cause visible changes (in the case of ChangeTabContents(), it should make things slightly more efficient). BUG=none TEST=none Review URL: http://codereview.chromium.org/6596111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76778 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI Prefs: Change the subpage style to remove the top, bottom, and right ↵stuartmorgan@chromium.org2011-03-032-37/+44
| | | | | | | | | | | | | edges. Per recent mock updates. BUG=71471 TEST=Subpages should have only a left visible edge. Review URL: http://codereview.chromium.org/6612020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76777 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile for views_examples after GetBounds removal.sadrul@chromium.org2011-03-031-2/+1
| | | | | | | | BUG=none TEST=views_examples compiles TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76776 0039d316-1c4b-4281-b951-d872f2087c98
* Drop "Windows;" from the UA string. This parallels ↵pkasting@chromium.org2011-03-031-8/+8
| | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=54567 and also matches a change in Firefox 4. BUG=none TEST=none Review URL: http://codereview.chromium.org/6581054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76775 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid holding a lock during destructor call when not neededjar@chromium.org2011-03-031-2/+3
| | | | | | | | | | | | | | | | | | I noticed this while reviewing related code. I don't know of an actual bug, but it is bad form to hold a lock when calling a function (destructor) unless necessary. For example, if the destructor posted a message, it might cause a hang on linux as the posting could re-enter this helper. It is also possible that the task deletion will take an extended period of time, and that can block other concurrent posts from taking place. r=darin Review URL: http://codereview.chromium.org/6602024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76774 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76767 - Broke clang compiletonyg@chromium.org2011-03-031-1/+1
| | | | | | | | | | | | | | | Roll WebKit 80210:80245. TEST=none BUG=none TBR=ukai Review URL: http://codereview.chromium.org/6603020 TBR=tonyg@chromium.org Review URL: http://codereview.chromium.org/6615019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76771 0039d316-1c4b-4281-b951-d872f2087c98
* Updates special case Speed Tracer code after inspector protocol changes.pfeldman@chromium.org2011-03-031-26/+4
| | | | | | | | Original code review: http://codereview.chromium.org/6594124/ TBR= git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76769 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 80210:80245.tonyg@chromium.org2011-03-031-1/+1
| | | | | | | | | | TEST=none BUG=none TBR=ukai Review URL: http://codereview.chromium.org/6603020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76767 0039d316-1c4b-4281-b951-d872f2087c98
* Functions not intended as tests should not begin with 'test'nirnimesh@chromium.org2011-03-032-8/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6597028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76766 0039d316-1c4b-4281-b951-d872f2087c98
* Convert message files from specific .cc implementation files to use thetsepez@chromium.org2011-03-0310-55/+11
| | | | | | | | | | | new common message generator for the cases where the conversion is trivial. BUG=none TEST= Review URL: http://codereview.chromium.org/6594123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76765 0039d316-1c4b-4281-b951-d872f2087c98
* Port autocomplete_edit_view_browsertest.cc to Mac.suzhe@chromium.org2011-03-0312-99/+163
| | | | | | | | | BUG=49740 TEST=interactive_ui_tests --gtest_filter=AutocompleteEditViewTest.* should pass on Mac. Review URL: http://codereview.chromium.org/6602070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76764 0039d316-1c4b-4281-b951-d872f2087c98
* wstring: allow converting FilePath to wstring in testsevan@chromium.org2011-03-035-7/+26
| | | | | | | | | | | | Many of our tests want to use Unicode literal strings with the L"foobar" syntax. Allow us to test FilePaths against these strings. BUG=69467 Review URL: http://codereview.chromium.org/6606025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76763 0039d316-1c4b-4281-b951-d872f2087c98
* Makes aero peek and instant work well together. Aero peek needed tosky@chromium.org2011-03-032-42/+55
| | | | | | | | | | | | override TabReplacedAt to correctly update internal state. I also removed the implementation of TabClosingAt as TabDetachedAt covers it. BUG=74370 TEST=see bug Review URL: http://codereview.chromium.org/6602105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76762 0039d316-1c4b-4281-b951-d872f2087c98
* mac clang compile fix.skerner@chromium.org2011-03-031-1/+1
| | | | | | TBR=dmaclach git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76761 0039d316-1c4b-4281-b951-d872f2087c98
* Service process fixes for Linux.scottbyer@chromium.org2011-03-037-21/+58
| | | | | | | | | | | | | | | | | | Linux requires that the proxy_config_service be created on the I/O thread. Fortunately, ServiceURLRequestContextGetter was already thread safe ref counted, so we lift creation of that and the (also, fortunately) thread safe ref counted net::ProxyService up to service process initialization time. That created proxy service now gets passed in to the dynamic creation of the ServiceURLRequestContexts. Should have no effect on other platforms. BUG=74226 TEST=Start Chromium on Linux with --enable-cloud-print-proxy, sign in, and examine ~/.config/chromium/Service State. With the fix, Service State properly contains the needed tokens to properly re-launch and be a proxy. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76612 Review URL: http://codereview.chromium.org/6602041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76760 0039d316-1c4b-4281-b951-d872f2087c98
* Replace Widget::GetBounds with Widget::GetClientScreenBounds and ↵ben@chromium.org2011-03-0337-196/+166
| | | | | | | | | | | GetWindowScreenBounds BUG=72040 TEST=none Review URL: http://codereview.chromium.org/6615016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76759 0039d316-1c4b-4281-b951-d872f2087c98
* Update GYP to r898 to pick up:mark@chromium.org2011-03-031-1/+1
| | | | | | | | | | Add mac_framework_private_headers key to specify which headers should be copied into the PrivateHeaders folder in a Mac Framework. Patch by Adam Barth <abarth@chromium.org>. Review URL: http://codereview.chromium.org/6614019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76758 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: roll ffmpeg and vpx so that we can build with system vpxphajdan.jr@chromium.org2011-03-033-8/+4
| | | | | | | | | | | | | | Also change remoting files to use libvpx shim header. This is upstreaming Gentoo Linux changes. TBR=scherkus TEST=none BUG=none Review URL: http://codereview.chromium.org/6588123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76757 0039d316-1c4b-4281-b951-d872f2087c98
* sync: add switch for using new syncer thread.tim@chromium.org2011-03-0314-16/+297
| | | | | | | | | | | | Also adds SyncerThreadAdapter (temp code) to facilitate swapping between implementations without tearing syncapi apart. BUG=26339 TEST=unit_tests, sync_unit_tests Review URL: http://codereview.chromium.org/6576049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76756 0039d316-1c4b-4281-b951-d872f2087c98
* [ChromeOS] Add strings and UI placeholder for hardware-backed key.xiyuan@chromium.org2011-03-033-0/+24
| | | | | | | | | BUG=chromium-os:11896,chromium-os:12300,chromium-os:12302 TEST=None. Punt until the underlying support is implemented. Review URL: http://codereview.chromium.org/6592079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76755 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up problems when bundle doesn't exist for service process on Mac.dmaclach@chromium.org2011-03-031-22/+25
| | | | | | | | | BUG=74690 TEST=Start up cloud print or remoting, then quit chrome. Move chrome.app somewhere else on your system. Restart chrome. Shouldn't crash. Review URL: http://codereview.chromium.org/6613004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76754 0039d316-1c4b-4281-b951-d872f2087c98
* Split PendingExtensionInfo into its own file. No behavior changed.skerner@chromium.org2011-03-038-92/+141
| | | | | | | | | | | | | | | I will be doing some refactoring that will change the way pending extension records for a single extension ID are merged. This change will make PendingExtensionInfo a class with nontrivial member functions. As a first step, this change moves PendingExtensionInfo into its own file. Fixing crbug.com/61000 by merging pending requests is an example of the changes that will add members to class PendingExtensionInfo. I changed the type ShouldInstallExtensionPredicate to PendingExtensionInfo::ShouldAllowInstallPredicate. I wanted to get the type defined inside the class, and changing the name avoids some ugly 80-colunm gymnastics because it is slightly shorter. BUG=None TEST=ExtensionServiceTest.* Review URL: http://codereview.chromium.org/6579005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76753 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TODOs: Get rid of ExtensionService::InstallExtension().skerner@chromium.org2011-03-036-46/+40
| | | | | | | | | | | Also use a single delete function when removing extension files. BUG=None TEST=ExtensionServiceTest.* Review URL: http://codereview.chromium.org/6596041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76752 0039d316-1c4b-4281-b951-d872f2087c98
* Redo the speech bubble layout on mac.satish@chromium.org2011-03-034-150/+144
| | | | | | | | | | | | | | | | The volume indicator is moved up, 'Speak now' text comes in the middle and when recognition is in progress we show only the spinner with no text. When showing error messages, include a hyperlink to launch the microphone settings UI. Also includes a bunch of spacing changes to look like in the mocks. XIB changes: Added a NSButton widget, changed the cell class to HyperlinkButtonCell and linked it to the obj-c code for handling the click event. BUG=69886 TEST=manual, start speech input on Mac and verify the bubble UI looks similar to the mocks. Review URL: http://codereview.chromium.org/6594122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76751 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Use Ctrl-Shift-Backspace to clear browsing data.derat@chromium.org2011-03-031-10/+9
| | | | | | | | | | | | | | This was previously Ctrl-Shift-Delete, which can only be typed as Ctrl-Shift-Alt-Backspace on Chrome OS devices without Delete keys. Ctrl-Shift-Delete still deletes to the end of the line when the focus is in a textarea. BUG=chromium-os:11137 TEST=manual Review URL: http://codereview.chromium.org/6606008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76750 0039d316-1c4b-4281-b951-d872f2087c98
* Clang style fix for r76746.ajwong@chromium.org2011-03-033-7/+11
| | | | | | | | | BUG=none TEST=clang bot. Review URL: http://codereview.chromium.org/6611018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76749 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76747 - Let the host change resolution.simonmorris@chromium.org2011-03-0331-397/+214
| | | | | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 TBR=simonmorris@chromium.org Review URL: http://codereview.chromium.org/6610018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76748 0039d316-1c4b-4281-b951-d872f2087c98
* Let the host change resolution.simonmorris@chromium.org2011-03-0331-214/+397
| | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76747 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor JingleClient to support thunking the xmpp signaling into Javascript.ajwong@chromium.org2011-03-0317-237/+619
| | | | | | | | | | | We do this so that we may make HTTP requests using the javascript libraries available to Google Talk. This is required to allow us to sandbox. BUG=none TEST=none Review URL: http://codereview.chromium.org/6597092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76746 0039d316-1c4b-4281-b951-d872f2087c98
* added a few tests that are expected to fail on official builds.karen@chromium.org2011-03-031-1/+23
| | | | | | Review URL: http://codereview.chromium.org/6607001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76745 0039d316-1c4b-4281-b951-d872f2087c98
* Move call to c_str() on temporary object to inside the function calljoi@chromium.org2011-03-031-2/+2
| | | | | | | | | | | | | where it's needed. Prior to this, at least with the CHROME_ALLOCATOR=winheap environment variable set, the pointer passed to kernel32!RegisterApplicationRestart could be invalid. BUG=70824 TEST=run debug build under full page heap on Windows with CHROME_ALLOCATOR=winheap Review URL: http://codereview.chromium.org/6602092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76744 0039d316-1c4b-4281-b951-d872f2087c98