summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a license header to sort-headers.py to make presubmit happy.thakis@chromium.org2011-05-191-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7048011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85959 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: infobar for obsolete OS"evan@chromium.org2011-05-193-37/+1
| | | | | | This reverts commit r85956, failed on views. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85958 0039d316-1c4b-4281-b951-d872f2087c98
* Teach sort-headers.py about windows.h.thakis@chromium.org2011-05-191-1/+6
| | | | | | | | | | | See http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/a3480ba1e7b8b9c0# BUG=none TEST=Run sort-headers.py on a file that includes <windows.h>, e.g. base/file_util_unittest.cc. That line should stay at the top of its block. Review URL: http://codereview.chromium.org/7050020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85957 0039d316-1c4b-4281-b951-d872f2087c98
* linux: infobar for obsolete OSevan@chromium.org2011-05-193-1/+37
| | | | | | | | | | | | We will stop providing Chrome releases for Ubuntu Hardy-era distros. We should at least inform those users about this. BUG=79401 TEST=tried manually changing code to require a newer GTK, saw infobar Review URL: http://codereview.chromium.org/7012024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85956 0039d316-1c4b-4281-b951-d872f2087c98
* Remove local login prompt for me2mom.jamiewalch@chromium.org2011-05-198-69/+51
| | | | | | | | | BUG=None TEST=Verify that the webapp does not prompt for a local login when using the --me2mom flag (but that chromoting.googleplex still does when not using that flag). Review URL: http://codereview.chromium.org/7034041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85955 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disabling mixed-content bocking by default. Will re-land with an ↵jschuh@chromium.org2011-05-191-1/+1
| | | | | | | | | | | infobar/bypass option and may alter the hueristic for blocking. BUG=81637 TEST=None. Review URL: http://codereview.chromium.org/7033026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85954 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed spelling mistake typo in comment.wyck@chromium.org2011-05-191-2/+2
| | | | | | | | | | | BUG=none TEST=none R=darin@chromium.org Review URL: http://codereview.chromium.org/7038009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85953 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment to mass-rename.sh that points to sort-headers.pythakis@chromium.org2011-05-191-1/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7050018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85952 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem where the ExtensionService caused File IO on the wrong thread ↵bbudge@google.com2011-05-192-33/+54
| | | | | | | | | | when updating the PluginList. BUG=none TEST=manual Review URL: http://codereview.chromium.org/7042023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85951 0039d316-1c4b-4281-b951-d872f2087c98
* Extension in background unable to open window if there is no browser running.prasadt@chromium.org2011-05-191-0/+2
| | | | | | | | | | | | modified: chrome/browser/extensions/extension_host.cc BUG=83150 TEST=Have an extension with a background page running. Close all browsers. Open a window from the extension. Review URL: http://codereview.chromium.org/7037040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85950 0039d316-1c4b-4281-b951-d872f2087c98
* Clear devtools headers when url_request is reused for several HTTP requestsvsevik@chromium.org2011-05-191-0/+10
| | | | | | | | BUG=80157 Review URL: http://codereview.chromium.org/7050010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85949 0039d316-1c4b-4281-b951-d872f2087c98
* bash 4.0 compatibility for dirdiffer.sh. In bash 4.0, "declare VAR" no longermark@chromium.org2011-05-191-4/+6
| | | | | | | | | | initializes VAR if not already set. BUG=83180 TEST=Run dirdiffer.sh under bash 4.0 or newer (4.2.10 is current) Review URL: http://codereview.chromium.org/7050013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85948 0039d316-1c4b-4281-b951-d872f2087c98
* bash 4.0 compatibility for .keystone_install. In bash 4.0, "declare VAR" nomark@chromium.org2011-05-191-2/+4
| | | | | | | | | | longer initializes VAR if not already set. BUG=83180 TEST=Run .keystone_install under bash 4.0 or newer (4.2.10 is current) Review URL: http://codereview.chromium.org/7050012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85947 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the "Learn more" DNS infobar shown on startupevan@chromium.org2011-05-191-32/+37
| | | | | | | | | | | | It now displays a link instead of a button for the "Learn more" action. I intend to reuse this for the "Your OS is obsolete" infobar. BUG=79401 Review URL: http://codereview.chromium.org/7047012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85946 0039d316-1c4b-4281-b951-d872f2087c98
* Make unit_tests properly depend upon .pak files it tries to load.adamk@chromium.org2011-05-191-0/+6
| | | | | | | | BUG=83118 Review URL: http://codereview.chromium.org/7045018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85945 0039d316-1c4b-4281-b951-d872f2087c98
* Need to check whether an extension is loaded in extension service before ↵skerner@chromium.org2011-05-193-1/+57
| | | | | | | | | | | trying to uninstall it. BUG=80868 TEST=ExtensionServiceTest.UninstallingNotLoadedExtension Review URL: http://codereview.chromium.org/7037037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85944 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Adding loading animation before loading printer list.dpapad@chromium.org2011-05-191-0/+1
| | | | | | | | | | | | I noticed that when the printer list is very long it takes a while to load it, during that time there is no indication of what is going on, just a blank preview area. It makes sense to show the preview loading animation. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7019022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85943 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: UI polishingdpapad@chromium.org2011-05-192-11/+15
| | | | | | | | | | | | Fixing minor UI issues in the print preview page. BUG=82962, 82956 TEST=See bug descriptions Review URL: http://codereview.chromium.org/7029052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85942 0039d316-1c4b-4281-b951-d872f2087c98
* C++ Readability CL for erikwright.erikwright@chromium.org2011-05-192-13/+22
| | | | | | | | | | | | Ready Mode is a feature of Chrome Frame that allows it to be installed in a semi-active state. The first time the user accesses, using IE, a site that supports Chrome Frame, the Ready Mode infobar prompt is displayed in IE, offering to permanently enable or disable Chrome Frame. RegistryReadyModeState implements a strategy for implementing the user's requested state change by invoking the Chrome Frame installer. BUG=None TEST=None Review URL: http://codereview.chromium.org/6733015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85941 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous webkit_glue namespace changes in preparation for building ↵ananta@chromium.org2011-05-1913-100/+35
| | | | | | | | | | | | | | | | | | src\content as a dll. This CL removes the IsDefaultPluginEnabled function in the webkit_glue namespace. This function has been replaced by a flag in the PluginList instance which is set when the default plugin is registered as an internal plugin. The webkit_glue.cc file now implements the GetApplicationDirectory and GetExeDirectory functions in the webkit_glue namespace. Previously these functions were implemented in common_glue.cc and in test_shell. Removed the IsPluginRunningInRendererProcess function from webkit_glue and fixed the callers to not depend on this functionality. BUG=82454 Review URL: http://codereview.chromium.org/6975028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85937 0039d316-1c4b-4281-b951-d872f2087c98
* FileSystemURLRequestJobBase: hold a ref in LocalPathCallbackDispatcher until ↵adamk@chromium.org2011-05-193-10/+71
| | | | | | | | | | | | | called back by FileSystemOperation. Add tests for cancellation in FileSystem{,Dir}URLRequestJob to exercise this code; without the scoped_refptr, the tests crash. R=ericu@chromium.org Review URL: http://codereview.chromium.org/7043018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85936 0039d316-1c4b-4281-b951-d872f2087c98
* Do not prerender when the URL to be prerendered was visited in the last 5 ↵tburkard@chromium.org2011-05-195-0/+68
| | | | | | | | | | | seconds, to avoid race conditions BUG=82327 TEST=After going to a SERP, quickly click on a result to trigger a potential dual fetching of the prerendered version of the page and the result navigation, due to the timing of the redirect R=dominich, sreeram Review URL: http://codereview.chromium.org/7044024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85935 0039d316-1c4b-4281-b951-d872f2087c98
* Support cancelling dragging panel on Windows. Also add more test cases to ↵jianli@chromium.org2011-05-197-114/+334
| | | | | | | | | | cover the dragging test. BUG=none TEST=panel_browser_view_browsertest Review URL: http://codereview.chromium.org/7030026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85933 0039d316-1c4b-4281-b951-d872f2087c98
* SQLite util.c somehow had CRLF.shess@chromium.org2011-05-191-1094/+1094
| | | | | | | | | | | This is making it impossible to test a change to it on the trybots. BUG=none TEST=none Review URL: http://codereview.chromium.org/7034042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85932 0039d316-1c4b-4281-b951-d872f2087c98
* Fix stupid build error.thestig@chromium.org2011-05-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7051005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85931 0039d316-1c4b-4281-b951-d872f2087c98
* StartEviction and RegisterOriginskinuko@chromium.org2011-05-195-84/+283
| | | | | | | | | | | | | | - changed LazyInitialize() to post one more task to register origins for the very 1st-time initialization - added some helper methods for GetLRUOrigin - added some methods (including mock one) to kick eviction once we have initialized temporary storage - sorted some newly-added QM methods as well BUG=61676 TEST=not yet Review URL: http://codereview.chromium.org/7032006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85930 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Fix a crash in CreatePrintPreviewTab.thestig@chromium.org2011-05-192-0/+5
| | | | | | | | BUG=83066 TEST=none Review URL: http://codereview.chromium.org/7048001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85929 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto tests to measure memory usage of Chrome-related processes.dennisjeffrey@chromium.org2011-05-193-0/+159
| | | | | | | | | | | | | | | | | | | | These tests currently run on Linux/ChromeOS only. The first test measures memory usage for a renderer process in a tab, and the second test measures memory usage of an extension process. This initial implementation hard-codes the first test to use the "Angry Birds" Chrome URL, and the second test to use the "Google Talk" extension. Each test periodically measures the current memory usage of the relevant process, and logs the information to a file. This occurs repeatedly until the test is manually killed by a user. BUG=chromium-os:15225 TEST=None Review URL: http://codereview.chromium.org/6969054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85928 0039d316-1c4b-4281-b951-d872f2087c98
* autocomplete: Make use of CHROMEGTK_* macro in autocomplete_popup_view_gtk.*tfarina@chromium.org2011-05-192-33/+17
| | | | | | | | | | | BUG=None TEST=None R=pkasting@chromium.org,evan@chromium.org Review URL: http://codereview.chromium.org/7044022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85926 0039d316-1c4b-4281-b951-d872f2087c98
* harfbuzz: Actually apply patch to fix Thai crashes. :-(derat@chromium.org2011-05-192-2/+12
| | | | | | | | | | | | | | | | | | This appears to prevent some renderer crashes that are fairly easy to trigger with Thai pages on Chrome OS. (http://codereview.chromium.org/7000012/ previously added this to chromium.patch, which I mistakenly assumed would get applied on top of the source during the build process. I guess it's instead just a record of our changes from upstream?) BUG=chromium:75210,chromium-os:15103 TEST=visited pungame.com/sale.html many times and checked that it no longer triggers a renderer crash Review URL: http://codereview.chromium.org/7045021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85925 0039d316-1c4b-4281-b951-d872f2087c98
* net: add betnet.fr to HSTS preloaded listagl@chromium.org2011-05-192-0/+8
| | | | | | | | | Requested by: Philippe Lafoucrière BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85924 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ShowCollectedCookiesDialog from TabContentsDelegate, since content ↵jam@chromium.org2011-05-195-13/+9
| | | | | | | | | layer shouldn't have to know about this Chrome feature. BUG=76697 Review URL: http://codereview.chromium.org/7039053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85923 0039d316-1c4b-4281-b951-d872f2087c98
* Write installer results in all relevant registry keys so that we're sure ↵grt@chromium.org2011-05-198-169/+211
| | | | | | | | | | | that Google Update will pick them up regardless of which one it happens to be monitoring. BUG=none TEST=Google Update continues to properly report install errors to its servers. Review URL: http://codereview.chromium.org/7036017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85921 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary check which was invalid anyway.mbelshe@google.com2011-05-191-2/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7043011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85920 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded call to StartCrossSiteTransition.creis@chromium.org2011-05-192-2/+11
| | | | | | | | | | | This prevents running the unload handler and swapping out the previous RVH. BUG=82667 TEST=SSLUITest.TestHTTPSExpiredCertAndGoBackViaButton Review URL: http://codereview.chromium.org/7017023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85919 0039d316-1c4b-4281-b951-d872f2087c98
* The touch resources for arrows are a bit large. Update the test expectations ↵sadrul@chromium.org2011-05-191-4/+8
| | | | | | | | | | | accordingly. BUG=none TEST=BorderContentsTest.BorderContentsSizeAndGetBounds Review URL: http://codereview.chromium.org/7034023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85917 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a ui-test for touch:sadrul@chromium.org2011-05-195-26/+31
| | | | | | | | | | | | - Move GetViewByID override from TabStrip to BaseTabStrip so TouchTabStrip can benefit. - Check whether the browser is in fullscreen before testing the bounds of the location bar. BUG=none TEST=AutomationProxyVisibleTest.WindowGetViewBounds Review URL: http://codereview.chromium.org/7029053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85916 0039d316-1c4b-4281-b951-d872f2087c98
* Make NativeButton on touchui focusable. This allows accessibility events to ↵sadrul@chromium.org2011-05-191-0/+1
| | | | | | | | | | | be triggered on focus. BUG=none TEST=AccessibilityEventRouterViewsTest.TestFocusNotification Review URL: http://codereview.chromium.org/7029026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85915 0039d316-1c4b-4281-b951-d872f2087c98
* Fix touch compile after WidgetGtk/NativeWidgetGtk rename.sadrul@chromium.org2011-05-191-0/+1
| | | | | | | | BUG=none TEST=touch buildbot goes green TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85914 0039d316-1c4b-4281-b951-d872f2087c98
* Only pass candidates in current page to extension.penghuang@chromium.org2011-05-191-1/+8
| | | | | | | | | | BUG=None TEST=Manually Review URL: http://codereview.chromium.org/7045007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85913 0039d316-1c4b-4281-b951-d872f2087c98
* Change PPP_Printing_Dev QuerySupportedFormats to not require MemAlloc and ↵dmichael@chromium.org2011-05-193-40/+195
| | | | | | | | | | | | | | | | | | | | | MemFree. This also is a first stab at providing backwards-compatibility (even though in this case 0.3 will go away once everyone is ported). To use the new version, you need to 'opt-in' by adding the following line before including ppp_printing_dev.h: #define PPP_PRINTING_DEV_USE_0_4 I have NOT updated the C++ wrapper. I can work on that next, although it would help to have some test code that relies on it to make sure I'm not breaking anything. brettw: Please focus on the backwards-compatibility code, let me know what you think. thestig: Please focus on print code. I'd appreciate any tips on being able to test this better; I don't have access to the PDF plugin code. I verified that the existing plugin still works with this change by copying in libpdf.so, opening a PDF, and printing it. BUG=80696 TEST=Manual. Try to print a PDF. Review URL: http://codereview.chromium.org/6975018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85912 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bustage... these files were ommited from the CL.ben@chromium.org2011-05-197-7/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85911 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WidgetWin/Gtk -> NativeWidgetWin/Gtk.ben@chromium.org2011-05-19102-825/+727
| | | | | | | | | BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7039050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85910 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ContentSettingsPattern to match origins.markusheintz@chromium.org2011-05-1924-213/+1599
| | | | | | | | | BUG=83200 TEST=content_settings_pattern_unittests.cc, content_settings_pattern_parser_unittests.cc Review URL: http://codereview.chromium.org/6820039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85909 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flaky DHCP WPAD tests. In part, switch to deterministic ways ofjoi@chromium.org2011-05-192-26/+39
| | | | | | | | | | | | deciding test state. Where this is not possible, use more conservative timeouts via TestTimeouts. BUG=82988,82991 TEST=net_unittests Review URL: http://codereview.chromium.org/7045008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85908 0039d316-1c4b-4281-b951-d872f2087c98
* Drop url_constants dependency in content/.avi@chromium.org2011-05-1918-27/+47
| | | | | | | | | BUG=76697 TEST=compiles, about:urls still work Review URL: http://codereview.chromium.org/7044013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85907 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Restore overridden frontend URL usage removed in r84419mnaganov@chromium.org2011-05-191-5/+5
| | | | | | | | | | R=loislo@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7051001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85906 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85898 - Re-land http://codereview.chromium.org/6869009 (except for ↵glider@chromium.org2011-05-197-25/+6
| | | | | | | | | | | | | | | | | | | | | the suppressions) Introduce the ANNOTATE_LEAKING_OBJECT_PTR annotation that can be used to mark heap allocated objects as intentionally leaked ones. Annotate the histograms produced by {Histogram,BooleanHistogram,LinearHistogram,CustomHistogram}::FactoryGet(), as leaked. Rename StatsHistogram::StatsHistogramFactoryGet to StatsHistogram::FactoryGet, annotate the result as leaky. The previous commit broke the build on Linux Heapcheck, but looks like the problem has gone now. TBR=jar,willchan BUG=79322 Review URL: http://codereview.chromium.org/7048005 TBR=glider@chromium.org Review URL: http://codereview.chromium.org/7049006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85905 0039d316-1c4b-4281-b951-d872f2087c98
* Updates the suppression rule for Issue 80002.hbono@chromium.org2011-05-191-8/+1
| | | | | | | | | | | This change updates a suppression rule for Issue 80002 to cover Issue 80284 and to catch up with the recent FileAPI changes. TBR=thestig,timurrrr,glider BUG=80002 TEST=none Review URL: http://codereview.chromium.org/7047006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85904 0039d316-1c4b-4281-b951-d872f2087c98
* Mark DownloadTest.BrowserCloseAfterDownload as failing on all platformsbattre@chromium.org2011-05-191-7/+3
| | | | | | | | | BUG=82278 TEST=no Review URL: http://codereview.chromium.org/7033021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85903 0039d316-1c4b-4281-b951-d872f2087c98