summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adds more debugging code in hopes of figuring out a crash. Most commonsky@chromium.org2011-04-113-5/+10
| | | | | | | | | | | | | | | | reason for crash appears to be because we can't find the WindowWin for an hwnd. I'm also removing a comment that is no longer relevant, and nuking a call in window_win to ui::SetWindowUserData that is already done in WindowImpl. BUG=77651 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/6825045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81150 0039d316-1c4b-4281-b951-d872f2087c98
* We've finished testing with the cwnd fixed at 32, it is clearly worse.mbelshe@chromium.org2011-04-112-4/+4
| | | | | | | | | | Remove that test and replace it with cwnd10, which fixes the cwnd at 10. BUG=none TEST=this is the test Review URL: http://codereview.chromium.org/6792026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81149 0039d316-1c4b-4281-b951-d872f2087c98
* Fix base::internal::WeakReference::Flag to be RefCountedThreadSafe.willchan@chromium.org2011-04-113-24/+24
| | | | | | | | | | | | | This allows a base::WeakPtr to be deleted on a different thread, which will modify the refcount on Flag. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81142 Review URL: http://codereview.chromium.org/6826034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81148 0039d316-1c4b-4281-b951-d872f2087c98
* Add option to disable BrowserWindowGtk debounce timer during tests.mmoss@chromium.org2011-04-113-4/+35
| | | | | | | | | | | | | | | | | | | | | | This is needed to fix a timing issue in browser_tests OmniboxApiTest.Basic on the new Lucid builders. The browser window's configure events are coming in at an unpredictable rate, causing the debounce timer to expire prematurely, which results in an apparent window resize/move, which causes the omnibox autocomplete popup to close, which makes the test think there are no autocomplete results, giving an error like: chrome/browser/extensions/extension_omnibox_apitest.cc:129: Failure Value of: result.size() Actual: 0 Expected: 5U BUG= TEST=browser_tests succeeds on Lucid builders Review URL: http://codereview.chromium.org/6825010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81147 0039d316-1c4b-4281-b951-d872f2087c98
* Wait for ProfileSyncService to be initialized on browser restartrsimha@chromium.org2011-04-113-3/+8
| | | | | | | | | | | | | | | | | | | The pyauto test sync.SyncTest.testRestartBrowser was flaky because, on browser restart, the ProfileSyncService was sometimes in the middle of being initialized when the test began its wait for sync completion. This patch adds a check to make sure the sync service is initialized, that will also wait for initialization. It also adds an extra check to the sync.SyncTest.testRestartBrowser test case to make sure that updates_received is 0 if a browser is restarted and nothing has changed at the server end. BUG=78677, 78548, 78863 TEST=pyauto test sync.SyncTest.testRestartBrowser Review URL: http://codereview.chromium.org/6825023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81146 0039d316-1c4b-4281-b951-d872f2087c98
* Ubuntu: Disable window resize grippers on Natty.erg@chromium.org2011-04-111-0/+24
| | | | | | | | | BUG=75048 TEST=Use Natty. Open Window. Isn't ugly orange box in lower right corner. Review URL: http://codereview.chromium.org/6826006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81145 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81142 - Fix base::internal::WeakReference::Flag to be ↵erg@google.com2011-04-112-23/+24
| | | | | | | | | RefCountedThreadSafe.This allows a base::WeakPtr to be deleted on a different thread, which will modify the refcount on Flag.BUG=noneTEST=noneReview URL: http://codereview.chromium.org/6826034 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6821053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81144 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium does native painting on a very specific device - a device retrieved ↵alokp@chromium.org2011-04-111-12/+12
| | | | | | | | | through a layer iterator. This device is neither SkCanvas::getDevice() or SkCanvas::getTopDevice(). We changed it to do native painting on SkCanvas::getDevice() in r80955 which resulted in numerous regressions. This patch reverts to using the same device used pre r80955. BUG=78891 Review URL: http://codereview.chromium.org/6826040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81143 0039d316-1c4b-4281-b951-d872f2087c98
* Fix base::internal::WeakReference::Flag to be RefCountedThreadSafe.willchan@chromium.org2011-04-112-24/+23
| | | | | | | | | | | | This allows a base::WeakPtr to be deleted on a different thread, which will modify the refcount on Flag. BUG=none TEST=none Review URL: http://codereview.chromium.org/6826034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81142 0039d316-1c4b-4281-b951-d872f2087c98
* touch: identity for a finger is an int, not a bool.sadrul@chromium.org2011-04-111-1/+1
| | | | | | TBR=rjkroege@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81141 0039d316-1c4b-4281-b951-d872f2087c98
* New automation hook to update the extensions, with sample pyauto test.dennisjeffrey@google.com2011-04-116-0/+191
| | | | | | | | | | | | | | | Executing this hook has the same effect as clicking on the "Update extensions now" button under "Developer tools" on Chrome's extensions page. This hook is especially useful for testing the promo apps, because the promo apps won't be installed until after the extensions are updated. BUG=75202 TEST=None Review URL: http://codereview.chromium.org/6713104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81140 0039d316-1c4b-4281-b951-d872f2087c98
* touch: Fix compile by initializing a variable.sadrul@chromium.org2011-04-111-1/+1
| | | | | | TBR=rogerta@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81139 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable some tests that were erroneously marked FAILS due to bot flakiness.dmichael@chromium.org2011-04-113-11/+1
| | | | | | | | | BUG=78825 TEST=N/A TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/6813086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81138 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionWebRequestApiTest.WebRequestEvents flaky.dmichael@chromium.org2011-04-111-2/+3
| | | | | | | | | BUG=79081 TEST=N/A TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/6821051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81137 0039d316-1c4b-4281-b951-d872f2087c98
* FileVersionInfoMac should retain the result of +[NSBundle bundleWithPath:]mark@chromium.org2011-04-111-2/+3
| | | | | | | | | | | prior to placing it in a scoped_nsobject<NSBundle>, otherwise the NSBundle might be released prematurely. This should fix FutureCat zombie crashes. BUG=78652 TEST=No more NSBundle zombie crashes should show up on the crash server. Review URL: http://codereview.chromium.org/6813085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue that context menu doesn't show on fullscreen Pepper Flash.yzshen@chromium.org2011-04-1118-36/+148
| | | | | | | | | | | | | - generate WebInputEvent::ContextMenu events. - calculate the context menu position correctly. - monitor mouse down events on fullscreen render widget, so that we can pass correct timestamp to gtk_menu_popup. BUG=None. TEST=Open a fullscreen Youtube video, and right click on it to see whether context menu shows up or not. Review URL: http://codereview.chromium.org/6760019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81135 0039d316-1c4b-4281-b951-d872f2087c98
* The mime type list can be NULL to allow all files. Handle this case whenbrettw@chromium.org2011-04-111-1/+3
| | | | | | | | converting to a std::string for serialization (the backend treats empty string the same as NULL). Review URL: http://codereview.chromium.org/6824045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81134 0039d316-1c4b-4281-b951-d872f2087c98
* Implements audio capturing support in Chromium renderer process.scherkus@chromium.org2011-04-116-0/+611
| | | | | | | | | | | | This implementation is based on the existing AudioDevice client. Patch by henrika@chromium.org: http://codereview.chromium.org/6724022/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81133 0039d316-1c4b-4281-b951-d872f2087c98
* Pass over the log level of console.* JS calls from renderer to browser.dtseng@chromium.org2011-04-114-4/+30
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6812042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81132 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionHistoryApiTest.GetVisits flaky.dmichael@chromium.org2011-04-111-2/+3
| | | | | | | | | TEST=N/A BUG=79074 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/6823050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81131 0039d316-1c4b-4281-b951-d872f2087c98
* Remove lighttpd since we don't use it anymore and switch totony@chromium.org2011-04-111-10/+16
| | | | | | | | | | apache2.2-bin where available. TEST=http layout tests pass even after uninstalling apache2 Review URL: http://codereview.chromium.org/6822031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81130 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeOS updater testing automation hooks that can be called from Python ↵dtu@chromium.org2011-04-116-34/+209
| | | | | | | | | | | | | | | using PyAuto. GetUpdateInfo() returns information about the updater, including what track (channel) the updater is on and what state the updater is in. UpdateCheck() will initiate a check for updates and attempt to install one if there is one. It is a blocking call. SetReleaseTrack() will set the release track to either "beta-channel" or "dev-channel". BUG=chromium-os:12524 TEST=testSetReleaseTrack and testGetUpdateInfo included in chromeos_basic.py. UpdateCheck() tested manually, since an AU server or devserver is needed to test it. Review URL: http://codereview.chromium.org/6813006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81129 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmitting change because original caused build breaks:rogerta@chromium.org2011-04-116-0/+507
| | | | | | | | | | | | | | | | | - clang build requires destructor in complex classes - chromeos build requires newline at end of files Adding a native theme painter, to allow Views to use NativeTheme to draw their background. Added example code to show it in use. I still have not hooked this into any existing View-based controls. BUG=None TEST=None R=ben@chromium.org Review URL: http://codereview.chromium.org/6820007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81128 0039d316-1c4b-4281-b951-d872f2087c98
* Added some disk info propertiestbarzic@chromium.org2011-04-113-6/+95
| | | | | | | | BUG=chromium-os:13257, chromium-os:4413 TEST=NONE Review URL: http://codereview.chromium.org/6809001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81127 0039d316-1c4b-4281-b951-d872f2087c98
* PepperWidget needs implementation of new method added in WebWidget.varunjain@chromium.org2011-04-111-0/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6825044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81126 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContentsViewViews to TabContentsViewTouch.ben@chromium.org2011-04-118-57/+57
| | | | | | | | | BUG=72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6813081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81125 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Collapse bookmark bar folder menu when starting to drag the folder.asvitkine@chromium.org2011-04-111-0/+7
| | | | | | | | | | | | This matches the behavior on Windows and also prevents visual confusion that suggests you can drag a folder into itself (by drag it into its own menu). BUG=53570 TEST=Open a bookmark menu from the bookmark bar. Start dragging the folder button that was opened. The bookmark menu should get closed. Review URL: http://codereview.chromium.org/6816017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81124 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable FREEZE_UPDATE propertyoshima@google.com2011-04-114-5/+70
| | | | | | | | | | | | | | | This is a real fix for 13750. When the entire area of a WidgetGtk is covered by another GdkWindow, the WidgetGtk doesn't get expose event, which was causnig 13750. This fixes this issue by listening child widget's expose event and remove the FREEZE_UPDATE property. BUG=chromium-os:11514, chromium-os:13750 TEST=see bug for repro steps R=sky@chromium.org Review URL: http://codereview.chromium.org/6823017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81123 0039d316-1c4b-4281-b951-d872f2087c98
* Add test for chrome.tabs.executeScript after the frames have finished loading.mihaip@chromium.org2011-04-115-0/+54
| | | | | | | | | | | | | Add a test that verifies that we can still execute scripts after a frame has loaded, even when that frame loaded after the main document has completed. R=aa@chromium.org BUG=78854 TEST=ExecuteScriptApiTest.ExecuteScriptFrameAfterLoad Review URL: http://codereview.chromium.org/6813064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81122 0039d316-1c4b-4281-b951-d872f2087c98
* [Chrome OS] Add currently-supported signed settings to device policy protocmasone@chromium.org2011-04-111-1/+15
| | | | | | | | | | | | | | Drawing from the lists of preferences in user_cros_settings_provider.cc, this adds the remaining boolean prefs to our device policy protobuf definition. BUG=13230 TEST=build chrome R=jkummerow@chromium.org Review URL: http://codereview.chromium.org/6821049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81121 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Close bookmark bar menus if the system menubar is clicked.maf@chromium.org2011-04-111-2/+35
| | | | | | | BUG=51317 Review URL: http://codereview.chromium.org/6825024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81120 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous table changesrginda@chromium.org2011-04-117-8/+47
| | | | | | | | | | | | | | | | table.css: Use unicode characters rather than images, looks the same and doesn't require wiring up a content handler. table.js: Add forwarded method scrollIndexIntoView table_data_model.js: Add prepareSort hook so client code can fetch data required for the sort. table_header.js: Add column specific class name to headers so that clients can apply column-number specific header styles. table_selection_model.js: Adjust leadIndex after a sort. table_single_selection_model.js: Adjust leadIndex after a sort. BUG=none TEST=manual testing of cros file dialogs Review URL: http://codereview.chromium.org/6825029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81119 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup RenderMessageFilter.jam@chromium.org2011-04-115-270/+110
| | | | | | Review URL: http://codereview.chromium.org/6822023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81118 0039d316-1c4b-4281-b951-d872f2087c98
* Alphabetize TabContentsWrapper.avi@chromium.org2011-04-111-6/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6824042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81117 0039d316-1c4b-4281-b951-d872f2087c98
* shared_resources_data_source.cc: add path name to dcheckrginda@chromium.org2011-04-111-1/+1
| | | | | | | | | | | Removes the guesswork when this dcheck shows up. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6824030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81116 0039d316-1c4b-4281-b951-d872f2087c98
* about:gpu timeline should show duration of selection when dragging.nduca@chromium.org2011-04-112-0/+5
| | | | | | Review URL: http://codereview.chromium.org/6823025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81115 0039d316-1c4b-4281-b951-d872f2087c98
* Add logging to NPP_ClearSiteData call.bauerb@chromium.org2011-04-112-14/+20
| | | | | | | | | | BUG=58235 TEST=none Review URL: http://codereview.chromium.org/6826028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81114 0039d316-1c4b-4281-b951-d872f2087c98
* Remove result_codes.h from chrome_common.gypi since it's not there anymore.jam@chromium.org2011-04-111-1/+0
| | | | | | | TBR=bradnelson Review URL: http://codereview.chromium.org/6824044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81110 0039d316-1c4b-4281-b951-d872f2087c98
* importer: Add missing OVERRIDE to SourceProfilesLoaded().tfarina@chromium.org2011-04-116-36/+34
| | | | | | | | | | | | | | | | | | | | While I'm here add On prefix, renaming it to OnSourceProfilesLoaded(), to make it clear this is an event, and to differentiate it from other method also called SourceProfilesLoaded(). Some unrelated changes in testing_automation_provider.h: - Move BrowserList::Observer implementation to private section. - Reorder the definition in the source file to match with the header order. BUG=None TEST=None R=avi@chromium.org Review URL: http://codereview.chromium.org/6821034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81109 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of PrefService::GetMutableDictionary/GetMutableListbattre@chromium.org2011-04-113-32/+29
| | | | | | | | | BUG=77914 TEST=none, trybots remain green Review URL: http://codereview.chromium.org/6813074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81108 0039d316-1c4b-4281-b951-d872f2087c98
* Added skia::SupportsPlatformPaint for webkit to query whether it can use ↵alokp@chromium.org2011-04-112-0/+13
| | | | | | | | native API to draw on a particular canvas. Review URL: http://codereview.chromium.org/6820037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81107 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-04-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6823040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81106 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress new DrMemory reports from printing_unitteststimurrrr@chromium.org2011-04-111-0/+9
| | | | | | | | | BUG=http://code.google.com/p/drmemory/issues/detail?id=346 TBR=bruening Review URL: http://codereview.chromium.org/6825043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81104 0039d316-1c4b-4281-b951-d872f2087c98
* Mark SavePackageTest.TestSuggestedSaveNames flaky.dmichael@chromium.org2011-04-111-2/+2
| | | | | | | | | TEST=N/A BUG=79036 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/6813078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81103 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented policy for disabling the bookmark bar.pastarmovj@chromium.org2011-04-1119-12/+78
| | | | | | | | | BUG=49604 TEST=unit_tests ConfigurationPolicy* Review URL: http://codereview.chromium.org/6718039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81102 0039d316-1c4b-4281-b951-d872f2087c98
* Print out TSan internal assertions as errorstimurrrr@chromium.org2011-04-111-3/+15
| | | | | | Review URL: http://codereview.chromium.org/6820032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81101 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash when a javascript dialog appeared while dragging asky@chromium.org2011-04-112-0/+8
| | | | | | | | | | | | | tab. I've changed it so that if a dialog is going to appear and we're dragging, we cancel the drag. BUG=78290 TEST=see bug R=ben@chromium.org Review URL: http://codereview.chromium.org/6826011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81100 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate skia::PlatformCanvas - Step 1 (linux)alokp@chromium.org2011-04-118-70/+62
| | | | | | | Patch corresponding to r80955 on linux. Review URL: http://codereview.chromium.org/6813050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81099 0039d316-1c4b-4281-b951-d872f2087c98
* HTML/Javascript redirects while prerendering are no longermmenke@chromium.org2011-04-114-10/+60
| | | | | | | | | | | | | | | | | recorded as cancelled prerenders in the histograms. Also, the time recorded for the time until display of prerendered pages takes into account the time taken by any redirects. This makes histograms for prerendered and non-prerendered pages even less directly comparable than before. BUG=78506 TEST=renderer-side histograms look a bit more like what we're seeing via other measurements. Review URL: http://codereview.chromium.org/6735071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81098 0039d316-1c4b-4281-b951-d872f2087c98
* Replace gmock's EXPECT_THAT by an explicit check when comparing proxy config ↵mnissler@chromium.org2011-04-111-3/+3
| | | | | | | | | | | in PrefProxyConfigServiceTest.Fallback. This should avoid having gtest print the objects, which results in uninitialized memory accesses. BUG=None TEST=builds and makes valgrind bots a bit happier Review URL: http://codereview.chromium.org/6821044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81095 0039d316-1c4b-4281-b951-d872f2087c98