summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make Aura and compositor stacking methods more intuitive.derat@chromium.org2011-11-236-23/+127
| | | | | | | | | | | | | | | | | | | | | | aura::Window::StackChildAbove() and ui::Layer::StackAbove() stacked entity A directly above entity B... unless A was already somewhere above B in the stack, in which case they'd do nothing. I see the caveat as making these methods less useful, and I'm unable to think of any benefits from it, so this change makes the methods place A directly above B in all cases (possibly lowering A in the stacking order if it was previously far above B). This also fixes an issue in the Aura shell's shadow-stacking code where ShadowController could inadvertently raise a window to the top of the stacking order. BUG=101977 TEST=added Review URL: http://codereview.chromium.org/8653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111264 0039d316-1c4b-4281-b951-d872f2087c98
* Convert to base::Callback in safe_browsing client-side-detection code.shess@chromium.org2011-11-2320-173/+159
| | | | | | | | | | | | | | | | | | | Convert callbacks to base::Callback: PhishingTermFeatureExtractor::DoneCallback PhishingDOMFeatureExtractor::DoneCallback ClientSideDetectionService::ClientReportPhishingRequestCallback BrowserFeatureExtractor::DoneCallback PhishingClassifier::DoneCallback Convert ClientSideDetectionHost::cb_factory_ to base::WeakPtrFactory. Also some easy NewRunnableMethod->base::Bind() conversions in client_side_detection_host.cc. Review URL: http://codereview.chromium.org/8573018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111263 0039d316-1c4b-4281-b951-d872f2087c98
* Add tsan suppression for gamepad unittest codescottmg@chromium.org2011-11-231-0/+8
| | | | | | | | | BUG=79050 Review URL: http://codereview.chromium.org/8637025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111262 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111254 - Add GAIA info to profile info cachesail@chromium.org2011-11-238-557/+30
| | | | | | | | | | | | | BUG=91241 TEST= Review URL: http://codereview.chromium.org/8587023 TBR=sail@chromium.org Review URL: http://codereview.chromium.org/8673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111261 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bad merge.apatrick@chromium.org2011-11-231-1/+3
| | | | | | Review URL: http://codereview.chromium.org/8665005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111259 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a short-running pyauto-based Angry Birds performance test to perf.py.dennisjeffrey@chromium.org2011-11-231-0/+60
| | | | | | | | | | | | The test loads the Angry Birds webapp, lets it run for a minute, then measures CPU utilization and v8 heap size. BUG=chromium-os:23230 TEST=None Review URL: http://codereview.chromium.org/8566053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111258 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable pyauto test: testDefaultSearchEnginesnirnimesh@chromium.org2011-11-221-2/+0
| | | | | | | | | | | | Ran 100 times without failure. R=dennisjeffrey@chromium.org BUG=99944 TEST= Review URL: http://codereview.chromium.org/8666004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111257 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111252 - Switch MHTMLGenerationManager to use a Callback.jcivelli@chromium.org2011-11-226-52/+76
| | | | | | | | | | | | | | MHTMLGenerationManager now uses a callback instead of a notification. BUG=None TEST=MHTML generation (via extension API should still work). Review URL: http://codereview.chromium.org/8566016 TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/8672001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111256 0039d316-1c4b-4281-b951-d872f2087c98
* GViewRequestInterceptorTest.DoNotInterceptPdfWhenEnabled is failing under ↵dhollowa@chromium.org2011-11-221-0/+3
| | | | | | | | | | | | | | Heapcheck Disables failing GViewRequestInterceptorTest.DoNotInterceptPdfWhenEnabled test under Heapcheck. BUG=104566 TEST=Heapcheck goes green. TBR=tbarzic@chromium.org Review URL: http://codereview.chromium.org/8665003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111255 0039d316-1c4b-4281-b951-d872f2087c98
* Add GAIA info to profile info cachesail@chromium.org2011-11-228-30/+557
| | | | | | | | | | BUG=91241 TEST= Review URL: http://codereview.chromium.org/8587023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111254 0039d316-1c4b-4281-b951-d872f2087c98
* replace platform conditions with os_posix and os_bsd where applicablerobert.nagy@gmail.com2011-11-2216-18/+20
| | | | | | | | | | | | | this patch also adds a comment that describes why EAI_NODATA is disabled on FreeBSD BUG= TEST= TBR=wtc Review URL: http://codereview.chromium.org/8598010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111253 0039d316-1c4b-4281-b951-d872f2087c98
* Switch MHTMLGenerationManager to use a Callback.jcivelli@chromium.org2011-11-226-76/+52
| | | | | | | | | | | MHTMLGenerationManager now uses a callback instead of a notification. BUG=None TEST=MHTML generation (via extension API should still work). Review URL: http://codereview.chromium.org/8566016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111252 0039d316-1c4b-4281-b951-d872f2087c98
* ProcessWatcherTest.ImmediateTermination is failing under Heapcheckdhollowa@chromium.org2011-11-221-0/+3
| | | | | | | | | | | | Disables failing ProcessWatcherTest.ImmediateTermination test under Heapcheck. BUG=93027 TEST=Heapcheck goes green TBR=timurrrr@chromium.org Review URL: http://codereview.chromium.org/8671001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111250 0039d316-1c4b-4281-b951-d872f2087c98
* Change the first parameter of savePage.saveAsMHTML to be a dictionary.jcivelli@chromium.org2011-11-225-12/+91
| | | | | | | | | | | | | This CL makes the first parameter of the experimental savePage.saveAsMHTML API a dictionary, so the API can easily be extended in the future. BUG=None TEST=browser_tests should pass. Review URL: http://codereview.chromium.org/8631017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111249 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Move EnableScreenLock to PowerManagerClient from PowerLibrarysque@chromium.org2011-11-228-28/+73
| | | | | | | | | | | | | | | | | Part of libcros removal. Directly writing to the prefs file, instead of going thru libcros. BUG=chromium-os:16558 TEST=Go to VT2 and make sure /var/lib/power_manager/lock_on_idle_suspend does not exist (delete if it does). Type 'stop powerd'. Sign in as a user. Press power button to lock screen. Go to VT2 and look at /var/lib/power_manager/lock_on_idle_suspend. The file should have been created. Signed-off-by: Simon Que <sque@chromium.org> R=satorux@chromium.org,stevenjb@chromium.org Review URL: http://codereview.chromium.org/8573025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111248 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: notify DropHelper when target view is removed.varunjain@chromium.org2011-11-225-6/+64
| | | | | | | | | | BUG=97845 TEST=DragDropControllerTest.ViewRemovedWhileInDragDropTest Review URL: http://codereview.chromium.org/8631015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111247 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 110355 - Use shared D3D9 texture to transport the compositor's ↵apatrick@chromium.org2011-11-2230-262/+555
| | | | | | | | | | | | | | | | backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Original Review URL: http://codereview.chromium.org/8060045 Review URL: http://codereview.chromium.org/8622004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111246 0039d316-1c4b-4281-b951-d872f2087c98
* Enable pyauto test on win: prefs.PrefsTest.testGeolocationPrefnirnimesh@chromium.org2011-11-221-2/+0
| | | | | | | | | | | | | Ran 100 times without failure. BUG=99865 TEST=pyauto waterfall should be green R=dennisjeffrey@chromium.org Review URL: http://codereview.chromium.org/8668001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111245 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Fix window resizing for large drags.jamescook@chromium.org2011-11-2212-84/+210
| | | | | | | | | | | | | | * Fix a DCHECK due to a negative width when resizing the right edge past the left one, and vice versa. * Fix the window moving when resizing its left edge past the minimum size, ditto for top edge. * Add unit tests for above. * Add GetMinimizeSize() method to aura::WindowDelegate interface. BUG=104245 TEST=aura_shell_unittests, manual Review URL: http://codereview.chromium.org/8618009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111244 0039d316-1c4b-4281-b951-d872f2087c98
* Patch from AliceT's issue codereview.chromium.org/8604012.msw@chromium.org2011-11-2211-27/+64
| | | | | | | | | | | | | Move ChromeOS bubble setup code to window.cc. This code is also in the original bubble code. msw: Update name to CreateViewsBubbleAboveLockScreen. BUG=98322 TEST=None Review URL: http://codereview.chromium.org/8650001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111243 0039d316-1c4b-4281-b951-d872f2087c98
* base::bind migrations for browser.cccsilv@chromium.org2011-11-222-14/+15
| | | | | | | BUG=none Review URL: http://codereview.chromium.org/8642006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111242 0039d316-1c4b-4281-b951-d872f2087c98
* More base::Bind migrations.csilv@chromium.org2011-11-223-7/+10
| | | | | | | BUG=none Review URL: http://codereview.chromium.org/8603007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111241 0039d316-1c4b-4281-b951-d872f2087c98
* Moving AutofillAgent Logic into Browsercsharp@chromium.org2011-11-2212-46/+247
| | | | | | | | | | | | | | | | | This is the first attempt at moving some of the Autofill logic out of the autofillagent in the renderer and into the external delegate in the browser. I just focused on OnSuggestionsReturned, so the browser side should be able to correcrtly create the list of suggestions to show. There are still features that need to be moved, such as the ability to select an item, which I will address in future cls. BUG=51644 TEST= Review URL: http://codereview.chromium.org/8488011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111240 0039d316-1c4b-4281-b951-d872f2087c98
* The host sends simple log entries to the server.simonmorris@chromium.org2011-11-2210-3/+530
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8468015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111239 0039d316-1c4b-4281-b951-d872f2087c98
* ASAN failing tests on PPAPITest.*dhollowa@chromium.org2011-11-221-0/+7
| | | | | | | | | | | | | Disables ALL PPAPITest.* tests under ASAN. Increasing timeouts and selective per-test disablement did not work. So ifdef'ing out the whole bunch under ASAN. BUG=104832 TEST=ASAN bot runs green TBR=glider@chromium.org Review URL: http://codereview.chromium.org/8658004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111238 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionApiTest.CrossOriginXHRFileAccess flaky on Mac.yoz@chromium.org2011-11-221-1/+8
| | | | | | | | | BUG=105179 TBR=mihaip@chromium.org Review URL: http://codereview.chromium.org/8663001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111237 0039d316-1c4b-4281-b951-d872f2087c98
* Make RenderViewHostObserver interface not use a struct from view_messages.hjam@chromium.org2011-11-225-10/+6
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8636023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111236 0039d316-1c4b-4281-b951-d872f2087c98
* Don't reload the keyboard on clean exit.bryeung@chromium.org2011-11-221-3/+5
| | | | | | | | | | BUG=none TEST=manually Review URL: http://codereview.chromium.org/8633021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111235 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed Task Manager FPS so that it shows 0 instead of 60 for background pages. kgr@chromium.org2011-11-221-1/+1
| | | | | | | | | | BUG=73206 TEST=manually Review URL: http://codereview.chromium.org/8616004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111234 0039d316-1c4b-4281-b951-d872f2087c98
* Interleave DrMemory's error reports, but disable summaries and startup info.rnk@google.com2011-11-221-1/+8
| | | | | | Review URL: http://codereview.chromium.org/8641003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111233 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused kDefault permission.jstritar@chromium.org2011-11-222-5/+0
| | | | | | | | | | BUG=none TEST=existing Review URL: http://codereview.chromium.org/8637019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111232 0039d316-1c4b-4281-b951-d872f2087c98
* Reenable ExtensionWebRequestApiTest.WebRequestBlocking after fixing the ↵battre@chromium.org2011-11-221-2/+1
| | | | | | | | | | | | flakyness BUG=91715 TEST=no Review URL: http://codereview.chromium.org/8633011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111231 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110814 - ASAN timeout on OutOfProcessPPAPITest.Cryptodhollowa@chromium.org2011-11-221-10/+1
| | | | | | | | | | | | | | | Disables OutOfProcessPPAPITest.Crypto test on ASAN. BUG=104832 TEST=ASAN bot runs green TBR=dmichael@chromium.org, noelallen@chromium.org Review URL: http://codereview.chromium.org/8550004 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8656003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111230 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111004 - ASAN timeout on OutOfProcessPPAPITest.Cryptodhollowa@chromium.org2011-11-221-6/+5
| | | | | | | | | | | | | | | Disables OutOfProcessPPAPITest.Crypto test on ASAN. BUG=104832 TEST=ASAN bot runs green TBR=glider@chromium.org Review URL: http://codereview.chromium.org/8618002 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8649006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111229 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111074 - ASAN timeout on OutOfProcessPPAPITest.*dhollowa@chromium.org2011-11-221-1/+1
| | | | | | | | | | | | | | | Increases the ASAN timeout multiplier in an attempt to avoid timeout errors in OutOfProcessPPAPITest.* test when running under ASAN. BUG=104832 TEST=ASAN bot runs green TBR=glider@chromium.org Review URL: http://codereview.chromium.org/8618014 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111228 0039d316-1c4b-4281-b951-d872f2087c98
* Enable protector by defaultavayvod@chromium.org2011-11-223-4/+4
| | | | | | | | | | R=ivankr@chromium.org BUG=102765 TEST=Check that Protector is enabled by default. Review URL: http://codereview.chromium.org/8632014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111227 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111202 - ASAN failing tests on OutOfProcessPPAPITest.*dhollowa@chromium.org2011-11-221-16/+4
| | | | | | | | | | | | | | | Disables more failing OutOfProcessPPAPITest.* tests under ASAN. BUG=104832 TEST=ASAN bot runs green TBR=glider@chromium.org Review URL: http://codereview.chromium.org/8636024 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8649005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111226 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2011-11-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111225 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 100977:101017.adamk@chromium.org2011-11-222-5/+3
| | | | | | | | | | | Mark as always-failing two already-flaky inspector tests after WebKit r100991. BUG=89845,100538 TBR=koz Review URL: http://codereview.chromium.org/8642003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111224 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind() conversion for crash handler/uploader.dcheng@chromium.org2011-11-222-20/+26
| | | | | | | | | | BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8536055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111223 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111189 - Add gamepad hardware data fetcher, and higher level thread ↵dpranke@chromium.org2011-11-228-534/+0
| | | | | | | | | | | | | | | | | | | | | | | | container DataFetcher is the hardware and platform-specific data getter that talks to OS level interfaces for each platform and fill in a structure provided to it. Currently only Windows is here. Provider is a manager for the background thread that the DataFetcher runs on, and interacts with the rest of browser. This is part of a larger patch, the remainder of which is at http://codereview.chromium.org/8345027/ BUG=79050 Review URL: http://codereview.chromium.org/8568029 TBR=scottmg@chromium.org Review URL: http://codereview.chromium.org/8649003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111222 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to chrome/browser/ui/gtk/.avi@chromium.org2011-11-2248-225/+279
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8632022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111221 0039d316-1c4b-4281-b951-d872f2087c98
* Enable FocusManager tests for Aura.ben@chromium.org2011-11-229-1339/+1330
| | | | | | | | | | | | - Now building the file! - Disable some tests that only work on Windows. - Remove some dead Gtk code. http://crbug.com/102572 TEST=unittests Review URL: http://codereview.chromium.org/8642002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111220 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ui_controls for auraoshima@chromium.org2011-11-2224-441/+770
| | | | | | | | | | | | | | | | | | | | - Move windows impl to ui_controls_internal_win.cc so that aurawin can use it. - For windows, we can simply adjust coordinates, so ConvertPointToNativeScreen is added. - Aurax11 uses PostNativeEvent to send event. I changed XPutBackEvent to XSendEvent as PutBackEvent puts the event at the top. - Aurax11 uses synthesized flash event to run "run-after-events" task. - exclude events_x.cc from gtk build as it's not necessary. BUG=103497, 104396 TEST=following tests now passes on aura PrintDialogCloudTest.HandlersRegistered (browser tests) several tests in interactive_ui_tests (MenuModelAdapterTest,MenuItemViewTestInsert00) now passes. I'll post the list in the bug. Review URL: http://codereview.chromium.org/8585015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111219 0039d316-1c4b-4281-b951-d872f2087c98
* set noparent on resources/ntp4/OWNERS and resources/OWNERSestade@chromium.org2011-11-222-0/+3
| | | | | | | | | | | also add self to resources/ OWNERS file BUG=none TEST=none Review URL: http://codereview.chromium.org/8510077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111218 0039d316-1c4b-4281-b951-d872f2087c98
* Split DiskCacheBasedSSLHostInfo unit tests to its ownrvargas@google.com2011-11-225-703/+897
| | | | | | | | | | | file. I'll be adding more unit tests so it's a good time to do this. BUG=none TEST=none Review URL: http://codereview.chromium.org/8588011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111217 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to chrome/browser/chromeos/.avi@chromium.org2011-11-2265-233/+311
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8638016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111216 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Remove UpdateLibrary code, which is no longer used.satorux@chromium.org2011-11-228-295/+0
| | | | | | | | | | | | | This is part 3 of the UpdateLibrary to UpdateEngineClient migration. Hopefully, this is the last step. BUG=chromium-os:16564 TEST=chrome and tests build as before Review URL: http://codereview.chromium.org/8637020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111215 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2011-11-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111214 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up ExtensionServiceTest.yoz@chromium.org2011-11-222-232/+191
| | | | | | | | | | | | | | | | - Make InstallCrx, PackAndInstallCrx return the installed Extension*. - Change StartCrxInstall callers to use InstallCrx. - Fix dubious use of ScopedTempDir in PackAndInstallCrx. - Add an InstallState enum for the above functions. - Remove all uses of extensions()->at(), since ExtensionSet won't support it. BUG=104091 TEST=unit_tests Review URL: http://codereview.chromium.org/8598028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111213 0039d316-1c4b-4281-b951-d872f2087c98