summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* chromeos: Replace copy-and-pasted code with macros.derat@chromium.org2010-12-232-179/+46
| | | | | | | | | | | | This replaces a bunch of duplicated-per-library cros function definitions and comments. BUG=none TEST=built it Review URL: http://codereview.chromium.org/6086007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70070 0039d316-1c4b-4281-b951-d872f2087c98
* Add Flush(Task*) method to CookieMonster.rdsmith@chromium.org2010-12-233-1/+91
| | | | | | | | | | | | | | Flushes cookies to disk immediately, rather than waiting for the 30-second timer. It takes an optional completion callback. Patch from husky@google.com. BUG=None TEST=CookieMonsterTest, Additional SQLitePersistentCookieStore tests. Review URL: http://codereview.chromium.org/5365010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70067 0039d316-1c4b-4281-b951-d872f2087c98
* Extra cleanup/debugging inspired by issue 66676rdsmith@chromium.org2010-12-232-23/+68
| | | | | | | | | BUG=66676 TEST=Trybots, basic download tests. Review URL: http://codereview.chromium.org/5939004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70066 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 70063 - Refactor PipelineImpl to use CompositeFilter to manage Filter ↵acolwell@chromium.org2010-12-231-1/+1
| | | | | | | | | | | | | | state transitions. BUG=54110 TEST=media_unittests CompositeFilterTest.* Review URL: http://codereview.chromium.org/5744002 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/6016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70064 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor PipelineImpl to use CompositeFilter to manage Filter state transitions.acolwell@chromium.org2010-12-231-1/+1
| | | | | | | | | BUG=54110 TEST=media_unittests CompositeFilterTest.* Review URL: http://codereview.chromium.org/5744002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70063 0039d316-1c4b-4281-b951-d872f2087c98
* Extend the TTS extension API to allow an extension to register itself asdmazzoni@chromium.org2010-12-2310-163/+482
| | | | | | | | | | | a TTS provider. BUG=none TEST=Adds new test. Review URL: http://codereview.chromium.org/4161007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70062 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a dead type declaration overlooked when merging.mnissler@chromium.org2010-12-231-2/+0
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6066005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70053 0039d316-1c4b-4281-b951-d872f2087c98
* Observer interface for PolicyProvidersjkummerow@chromium.org2010-12-2316-124/+196
| | | | | | | | | BUG=67707 TEST=existing unit tests still work, in particular: *Policy* Review URL: http://codereview.chromium.org/6001004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70051 0039d316-1c4b-4281-b951-d872f2087c98
* Handle policy refresh internally in ConfigurationPolicyPrefStore.mnissler@chromium.org2010-12-2322-1194/+1120
| | | | | | | | | | | This removes the final bits of thread-switching madness from PrefValueStore and also makes sure only the PrefStores and PrefService instances that are actually affected by a policy change get reconfigured. BUG=67715 TEST=unit tests in configuration_policy_provider_unittest.cc Review URL: http://codereview.chromium.org/6074003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70050 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a separate preference for 'proxy server mode'battre@chromium.org2010-12-2322-420/+703
| | | | | | | | | | | | | The new preference is kProxyServerMode, which supersedes kProxyAutoDetect and kNoProxyServer. The point of this change is to represent 'use system proxy settings' in a more robust way. The proxy extension API is also adjusted to the preference system. This is a continuation of gfeher's patch from issue 5701003. BUG=65732, 66023 TEST=ProxyPrefsTest.*, and also covered by ExtensionApiTest.Porxy*, PrefProxyConfigServiceTest.* Review URL: http://codereview.chromium.org/6004003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70042 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the windows policy provider to use AsynchronousPolicyProvider.danno@chromium.org2010-12-2313-485/+522
| | | | | | | | | BUG=66453,65094 TEST=*Policy.* Review URL: http://codereview.chromium.org/6091002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70040 0039d316-1c4b-4281-b951-d872f2087c98
* Move data pack from base to app (it's just part of the resource bundle system).brettw@chromium.org2010-12-232-6/+6
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70038 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
* DOMUI: Fix the AutoFill profile list CSS selector for the last item.jhawkins@chromium.org2010-12-231-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5998005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70019 0039d316-1c4b-4281-b951-d872f2087c98
* Adding automation proxy hook for accessing information related to omnibox ↵ace@chromium.org2010-12-232-0/+35
| | | | | | | | | | instant feature. BUG=66135 Review URL: http://codereview.chromium.org/6044004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70018 0039d316-1c4b-4281-b951-d872f2087c98
* Allow calling UserMetrics function from any thread.jam@chromium.org2010-12-232-2/+13
| | | | | | Review URL: http://codereview.chromium.org/6049003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70016 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/cocoa_protocols_mac.h to base/mac/cocoa_protocols.hbrettw@chromium.org2010-12-2345-45/+45
| | | | | | | | | | Fix users of this file to use the new location. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6019004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70009 0039d316-1c4b-4281-b951-d872f2087c98
* Use FilePath::BaseName instead of the deprecated file_util::GetFilenameFromPath.tfarina@chromium.org2010-12-231-1/+1
| | | | | | | | | BUG=24672 TEST=trybots Review URL: http://codereview.chromium.org/6070008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70006 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Remove two unnecessary getters/setters.jhawkins@chromium.org2010-12-221-22/+0
| | | | | | | | | | | | This is a followup to arv's last comment in http://codereview.chromium.org/6034005/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70001 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Don't hang gpu process if a tab that shares its renderer process with ↵thakis@chromium.org2010-12-221-2/+43
| | | | | | | | | | | | | | | | | | | | | | other tabs and that has accelerated content and outstanding paints. The problem was that the renderer process busy-waits on the GPU process to flush all gpu commands on close, and the GPU process waits with processing commands from the renderer until a paint ack arrives from the browser. But since the window is already closed, no paint acks are sent any more. The fix is to let the browser tell the GPU process when a window is closed, and then let the GPU process not wait for paint acks if the corresponding window has already been closed. Closed windows are identified by (renderer process id, render view routing id). Identifying closed windows by either surface id or gpu channel stub routing id does not work, because they are both created on the GPU side and sent to the browser asynchronously, so it's possible that a browser tab is closed before the ID arrives from the GPU process – in that case, it can't send the "window closed" message even though the GPU process is already in a state where it needs this event. BUG=67170 TEST= 1.) Go to http://www.chromeexperiments.com/detail/body-browser/?f=webgl , click "Launch Experiment", wait until everything is loaded, close popup. %cpu of gpu process and renderer process should go to 0 2.) Go to http://www.chromeexperiments.com/detail/body-browser/?f=webgl , click "Launch Experiment", wait until the bar on the left is loaded but the body isn't yet, close popup. %cpu of gpu process and renderer process should go to 0, but it might take a few seconds until the %cpu in the renderer go down (the site decides to parse the XHR data that gets flushed on widget close) 3.) Go to http://www.chromeexperiments.com/detail/nine-point-five/?f=webgl , click "Launch Experiment", wait until everything is loaded, close popup. %cpu of gpu process and renderer process should go to 0 4.) Go to http://www.chromeexperiments.com/detail/nine-point-five/?f=webgl , click "Launch Experiment", close popup immediately after the background color changed to light grey. %cpu of gpu process and renderer process should go to 0 5.) Go to http://www.chromeexperiments.com/detail/nine-point-five/?f=webgl , click "Launch Experiment", close popup immediately. %cpu of gpu process and renderer process should go to 0 Review URL: http://codereview.chromium.org/6076005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70000 0039d316-1c4b-4281-b951-d872f2087c98
* [tabbed options] tidy up some bits of content settingsestade@chromium.org2010-12-226-14/+47
| | | | | | | | | | | | | - fix OTR lists (we weren't getting the notifications for changed settings) - CSS improvements - move around the links BUG=64153 TEST=manual Review URL: http://codereview.chromium.org/6059006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69999 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI Settings: UTH: Fix up the 'Web Content' section.kmadhusu@chromium.org2010-12-224-4/+96
| | | | | | | | | | | Added "Font Size Label" combo box with a list of font sizes. BUG=63838 TEST=none Review URL: http://codereview.chromium.org/6057003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69995 0039d316-1c4b-4281-b951-d872f2087c98
* touch: Login code necessary only for chromeos.sadrul@chromium.org2010-12-221-2/+5
| | | | | | | | | BUG=none TEST=builds successfully for all combinations of touchui and chromeos Review URL: http://codereview.chromium.org/6017006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69990 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Implement the new-style Autofill options page.jhawkins@chromium.org2010-12-2215-378/+364
| | | | | | | | | BUG=59281 TEST=none Review URL: http://codereview.chromium.org/6034005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69989 0039d316-1c4b-4281-b951-d872f2087c98
* Add stats for figuring out how often we kill processes because of malformed ↵jam@chromium.org2010-12-2219-160/+163
| | | | | | | | IPCs or unexpected values. Review URL: http://codereview.chromium.org/6061005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69985 0039d316-1c4b-4281-b951-d872f2087c98
* Last part of change for bug 49747.tsepez@chromium.org2010-12-221-2/+7
| | | | | | | | | | | | | Implements the two-dimensional elider in app/text_elider.cc, and calls it from js_modal_dialog to reformat the message text prior to displaying an alert box. The elider is implemented using the abstractions introduced in the previous CLs for bug 49747. BUG=49746 TEST=TextEliderTest.* Review URL: http://codereview.chromium.org/5964007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69981 0039d316-1c4b-4281-b951-d872f2087c98
* Keep crashed extension info bar across page navigations and close all when ↵jennb@chromium.org2010-12-224-11/+146
| | | | | | | | | | | extension is reloaded. BUG=28759 TEST=Added new extension crash recovery tests. Review URL: http://codereview.chromium.org/5909002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69980 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for safebrowsing download protection. It is currently under flag ↵lzheng@chromium.org2010-12-225-36/+227
| | | | | | | | | | | --safebrowsing-download-protection. TEST=safe_browsing_service_browsertest.cc BUG=60822 Review URL: http://codereview.chromium.org/5141006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69979 0039d316-1c4b-4281-b951-d872f2087c98
* Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update ↵brettw@chromium.org2010-12-2218-59/+64
| | | | | | | | | | | | calling code. Remove unnecessary refs to NullableString from render_thread.* TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5961007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69973 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fixed spurious warning being generated on registration lossakalin@chromium.org2010-12-221-8/+12
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/6020009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TaskManagerBrowserTest.NoticeNotificationChanges for touchui==1.anicolao@google.com2010-12-221-2/+2
| | | | | | | | | BUG=none TEST=./out/Debug/browser_tests --gtest_filter='NoticeNotificationChanges' Review URL: http://codereview.chromium.org/6000007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69971 0039d316-1c4b-4281-b951-d872f2087c98
* Move unix domain socket support out of base and into chrome common. This is notbrettw@chromium.org2010-12-223-27/+25
| | | | | | | | | | used outside of Chrome. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5981006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69970 0039d316-1c4b-4281-b951-d872f2087c98
* Move the wrench menu badge into the upper right corner, to match other ↵atwilson@chromium.org2010-12-221-12/+42
| | | | | | | | | | | | | | platforms. Display background page badge if an unacknowledged background page exists. We are using a placeholder badge image until final artwork is available. BUG=64144 TEST=Enable extension with background page, see badge on wrench menu. Review URL: http://codereview.chromium.org/5967006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69969 0039d316-1c4b-4281-b951-d872f2087c98
* GtkKeyBindingsTest.* do not fail anymore.suzhe@google.com2010-12-221-6/+3
| | | | | | | | | | | Linux bots using chroot have been fixed to support these tests. BUG=60363 TEST=GtkKeyBindingsTest.* should not fail on Linux build bots. Review URL: http://codereview.chromium.org/6019002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69965 0039d316-1c4b-4281-b951-d872f2087c98
* These files were missed in 69849.bryeung@chromium.org2010-12-227-0/+375
| | | | | | | | | | | | | | Here is the original review URL: http://codereview.chromium.org/5708002 The original patch was from Ryan Harrison <rharrision@chromium.org> BUG=see original issue TEST=see original issue Review URL: http://codereview.chromium.org/6011007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69964 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69959 - Refactor PipelineImpl to use CompositeFilter to manage Filter ↵acolwell@chromium.org2010-12-221-1/+1
| | | | | | | | | | | | | | state transitions. BUG=54110 TEST=media_unittests CompositeFilterTest.* Review URL: http://codereview.chromium.org/5744002 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/5987008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69962 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing virtual destructors to some classes.pastarmovj@chromium.org2010-12-223-1/+14
| | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6054003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69960 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor PipelineImpl to use CompositeFilter to manage Filter state transitions.acolwell@chromium.org2010-12-221-1/+1
| | | | | | | | | BUG=54110 TEST=media_unittests CompositeFilterTest.* Review URL: http://codereview.chromium.org/5744002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69959 0039d316-1c4b-4281-b951-d872f2087c98
* delete OutdatedPluginInfoBar on closedilmah@chromium.org2010-12-221-0/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6021005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69958 0039d316-1c4b-4281-b951-d872f2087c98
* User pods show hand cursor on hoverglotov@google.com2010-12-221-0/+7
| | | | | | | | | | | Re-applying from http://codereview.chromium.org/5986005/, LGTM is there. BUG=chromium-os:9296 TEST=manual Review URL: http://codereview.chromium.org/5990006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69955 0039d316-1c4b-4281-b951-d872f2087c98
* Error handling addedglotov@google.com2010-12-224-10/+21
| | | | | | | | | BUG=chromium-os:10033 TEST=none Review URL: http://codereview.chromium.org/5939002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69953 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent extensions from moving tabs that are being dragged. This fixes a ↵jstritar@chromium.org2010-12-2224-0/+110
| | | | | | | | | | | crash on Windows and Linux related to extensions moving or removing tabs that are being dragged. This also prevents extensions from removing a window that the user is dragging tabs within. BUG=53799 TEST=See bug report. Review URL: http://codereview.chromium.org/4856004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69952 0039d316-1c4b-4281-b951-d872f2087c98
* Update CrOS time formatting APIs too.avi@chromium.org2010-12-222-8/+6
| | | | | | | | | BUG=23581 TEST=everything still works Review URL: http://codereview.chromium.org/6037009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69949 0039d316-1c4b-4281-b951-d872f2087c98
* Update the time formatting APIs to use string16.avi@chromium.org2010-12-2212-53/+44
| | | | | | | | | BUG=23581 TEST=everything still works Review URL: http://codereview.chromium.org/6064003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69948 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69946 - User pods show hand cursor on hoverglotov@google.com2010-12-221-7/+0
| | | | | | | | | | | | BUG=chromium-os:9296 TEST=manual Review URL: http://codereview.chromium.org/5986005 TBR=glotov@google.com Review URL: http://codereview.chromium.org/5962007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69947 0039d316-1c4b-4281-b951-d872f2087c98
* User pods show hand cursor on hoverglotov@google.com2010-12-221-0/+7
| | | | | | | | | BUG=chromium-os:9296 TEST=manual Review URL: http://codereview.chromium.org/5986005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69946 0039d316-1c4b-4281-b951-d872f2087c98
* - Installation results for use by Google Update are now written at the ↵grt@chromium.org2010-12-221-3/+1
| | | | | | | | | | | | | | | | | | Package level. Furthermore, such results are placed in the product keys as well as the package key, if there is one. This ensures that the result will be available for Google Update regardless of whether or not a migration from single to unified is taking place. - The mutex protecting creation of the window used to join chrome processes no longer contains the app_guid. This increases contention for the lock slightly, but ensures that window creation is safe in light of unified installs. - Fixed placement of the user data directory for Chrome Frame. Previously, GetChromeFrameUserDataDirectory contained its own, different, ChromeFrameDistribution::GetInstallSubDir implementation. Now, GetChromeFrameUserDataDirectory delegates to ChromeFrameDistribution. - Product now caches and owns the Version instance returned by is GetInstalledVersion method (msi state is also cached). Also added Product::IsInstalled. - Moved GetInstallReturnCode from BrowserDistribution to InstallUtil because I didn't see why it belonged to the dist class. - SetEULAConsent now writes the consent value to either the product or package key as appropriate. - Disallow --multi-install when operating on a SxS Chrome installation. - Propagate --multi-install when running setup.exe with --rename-chrome-exe so that installer results can get written to the correct place. BUG=61609 TEST=New tests added to installer_util_unittests for WriteInstallerResult and SetEULAConsent changes. Review URL: http://codereview.chromium.org/6061003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69944 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashy ExtensionApiTest.WindowOpenphajdan.jr@chromium.org2010-12-221-1/+2
| | | | | | | | | | | | | | | First crash detected on Dec 01, now also happened on a trybot: http://build.chromium.org/p/tryserver.chromium/builders/linux_chromeos/builds/1917 slave: vm55-m4 TBR=aa BUG=64899 TEST=browser_tests Review URL: http://codereview.chromium.org/6042004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69938 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashy ExtensionApiTest.ExecuteScriptFragmentNavigationphajdan.jr@chromium.org2010-12-221-1/+3
| | | | | | | | | | | TBR=asargent BUG=67774 TEST=browser_tests Review URL: http://codereview.chromium.org/6057004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69937 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some duplicate histograms.shess@chromium.org2010-12-221-8/+2
| | | | | | | | | | | These duplicate the SB2.DatabaseFailure enum. BUG=58401 TEST=none Review URL: http://codereview.chromium.org/5970007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69933 0039d316-1c4b-4281-b951-d872f2087c98