summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows build due to missing mock ffmpeg entry points.ajwong@chromium.org2009-12-232-0/+6
| | | | | | Review URL: http://codereview.chromium.org/522004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35228 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame in IE full tab mode would not render pages if Adblock Pro was ↵ananta@chromium.org2009-12-232-29/+58
| | | | | | | | | | | | | | | | | | | | | installed on the machine. Based on my debugging it looks like AdBlock gets confused because we report the mime type initally as text/html and then swich to application/chromepage. Fix is to attempt to determine the mime type in our IInternetProtocolSink::ReportProgress implementation. If we fail we continue to determine the mime type in IInternetProtocolSink::ReportData. Added a helper function CheckAndReportChromeMimeTypeForRequest which is invoked from both places. Fixes http://code.google.com/p/chromium/issues/detail?id=31031 Bug=31031 Review URL: http://codereview.chromium.org/501181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35227 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Double-clicking tabs in the task manager should focus that tab.thakis@chromium.org2009-12-232-3/+13
| | | | | | | | | BUG=13156 TEST=Hook up task manager. Open it, double-click tabs. They should become active. Review URL: http://codereview.chromium.org/521005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35225 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a known crash since the change causing crash was reverted.kuchhal@chromium.org2009-12-231-3/+0
| | | | | | | | | BUG=30681 TBR=stoyan Review URL: http://codereview.chromium.org/522002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35224 0039d316-1c4b-4281-b951-d872f2087c98
* Enable UMA data upload in ChromeFramejar@chromium.org2009-12-234-11/+23
| | | | | | | | BUG=30508 r=ananta Review URL: http://codereview.chromium.org/502019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35223 0039d316-1c4b-4281-b951-d872f2087c98
* Make NaCl integration test not flaky - fixed the problem that caused the ↵gregoryd@google.com2009-12-231-3/+1
| | | | | | | | | | | test to fail. BUG=30990 TEST=nacl_ui_test Review URL: http://codereview.chromium.org/519001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35222 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash/leak issue in native_view_host_gtk.cc.oshima@chromium.org2009-12-2310-16/+43
| | | | | | | | | | | | | | | | * There are two path to NativeViewDetaching and we need to handle them differently. 1) Via gtk destroy signal. In this case, we should not try to remove the native view from parent because it's being deleted. 2) Through NativeViewHost::Detach(). In this case we need to remove the native view from parent because we added it to parent in NativeViewAttached(). * Fix NativeControlGtk not to destroy the native view because it's now destoryed by NativeViewHostGtk. * Fixed TabContentViewGtk so that it owns the nativew view. The native view was destroyed when Detached. * Added more checks so that test can catch regression. BUG=26154 TEST=The same procedure in bug should now pass. I added several checks that lead tests to fail if this problem exists. Review URL: http://codereview.chromium.org/510004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35220 0039d316-1c4b-4281-b951-d872f2087c98
* Added the chromium_builder_dbg_tsan_mac targetglider@chromium.org2009-12-231-0/+12
| | | | | | | | to increase the cycle speed of the Tsan buildbot on Mac OS. Review URL: http://codereview.chromium.org/490003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35217 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium to use upstream WebPageSerializer instead of glue/DomSerializer.yaar@chromium.org2009-12-2314-1540/+406
| | | | | | | | See corresponding changes in webkit here: https://bugs.webkit.org/show_bug.cgi?id=31737 Review URL: http://codereview.chromium.org/434087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35216 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 279.0 to 280.0chrome-bot@google.com2009-12-231-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35215 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35207 - WebKit deps roll 52468:52520levin@chromium.org2009-12-232-8/+1
| | | | | | | | | | | | | TBR=hamaji@chromium.org TEST=layout tests BUG=None Review URL: http://codereview.chromium.org/520002 TBR=levin@chromium.org Review URL: http://codereview.chromium.org/515011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35214 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35208 - Add new failures to test_expectations. Inestigations are ongoing.levin@chromium.org2009-12-231-8/+0
| | | | | | | | | | | | | TBR=hamaji@chromium.org BUG=None TEST=layout test on OSX (debug) Review URL: http://codereview.chromium.org/516006 TBR=levin@chromium.org Review URL: http://codereview.chromium.org/515010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35213 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35211 - Fix test_expectation.txt duplicate expectations.levin@chromium.org2009-12-231-2/+2
| | | | | | | | | | | | | TBR=hamaji@chromium.org TEST=debug layout test on OSX BUG=None Review URL: http://codereview.chromium.org/521002 TBR=levin@chromium.org Review URL: http://codereview.chromium.org/522001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35212 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test_expectation.txt duplicate expectations.levin@chromium.org2009-12-231-2/+2
| | | | | | | | | | TBR=hamaji@chromium.org TEST=debug layout test on OSX BUG=None Review URL: http://codereview.chromium.org/521002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35211 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a GLMock object so we can check the code isgman@chromium.org2009-12-2312-119/+1174
| | | | | | | | | | | | | | | | correctly calling GL Rather than make a GLBase with all virtual functions I made it compile twice, once for shipping code where it includes the local platform's gl.h and again for unit tests where it includes gl_mock.h. TEST=none BUG=none Review URL: http://codereview.chromium.org/511001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35210 0039d316-1c4b-4281-b951-d872f2087c98
* Add GridLayout::SetInsets(const gfx::Insets& insets).satorux@chromium.org2009-12-232-0/+10
| | | | | | | | | | | | | | | | | Per the style guide, function overloading like this is allowed. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Overloading#Function_Overloading I wanted this API so I could define and use a constant like: const gfx::Insets kSomeInsets(1, 2, 3, 4); layout->SetInsets(kSomeInsets); BUG=none TEST=try Review URL: http://codereview.chromium.org/509027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35209 0039d316-1c4b-4281-b951-d872f2087c98
* Add new failures to test_expectations. Inestigations are ongoing.levin@chromium.org2009-12-231-0/+8
| | | | | | | | | | TBR=hamaji@chromium.org BUG=None TEST=layout test on OSX (debug) Review URL: http://codereview.chromium.org/516006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35208 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit deps roll 52468:52520levin@chromium.org2009-12-232-1/+8
| | | | | | | | | | TBR=hamaji@chromium.org TEST=layout tests BUG=None Review URL: http://codereview.chromium.org/520002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35207 0039d316-1c4b-4281-b951-d872f2087c98
* Don't inject content scripts into incognito browsers.rafaelw@chromium.org2009-12-2310-17/+96
| | | | | | | | | | | This patch prevents content scripts from being injected into incognito profile tabs by only injecting into the same profile in which the extension is running. BUG=21392 TEST=Load chrome/test/data/extensions/api/incognito_no_script and open any url in incognito browser. No page titles should be modified to "modified". Review URL: http://codereview.chromium.org/502079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35203 0039d316-1c4b-4281-b951-d872f2087c98
* (fix merge error).rafaelw@chromium.org2009-12-234-0/+22
| | | | | | | | | | | | | | Reland Disallow chrome.tabs.executeScript from injecting code into gallery TBR=aa BUG=30146 TEST=browertest is pending: http://codereview.chromium.org/506066 Original review: http://codereview.chromium.org/501098/ Review URL: http://codereview.chromium.org/518005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35202 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Disallow chrome.tabs.executeScript from injecting code into gallery"rafaelw@chromium.org2009-12-234-22/+0
| | | | | | | | | | This reverts commit 699f771db23a92c9966fd9af92f0c69886d58136. TBR=rvargas Review URL: http://codereview.chromium.org/516005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35201 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow chrome.tabs.executeScript from injecting code into galleryrafaelw@chromium.org2009-12-234-0/+22
| | | | | | | | | BUG=30146 TEST=browertest is pending: http://codereview.chromium.org/506066 Review URL: http://codereview.chromium.org/501098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35200 0039d316-1c4b-4281-b951-d872f2087c98
* Reorder some statements to fix compile warning on Linux canary.jam@chromium.org2009-12-231-2/+2
| | | | | | Review URL: http://codereview.chromium.org/515008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35199 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break from my last checkin. I accidently removed -T from the ↵jam@chromium.org2009-12-232-8/+3
| | | | | | | | | parameters to gperf, which supresses adding the struct to the generated file for the second unit test hash. TBR=brettw Review URL: http://codereview.chromium.org/518002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35198 0039d316-1c4b-4281-b951-d872f2087c98
* Fix utf8 issue in extension action context menu.finnur@chromium.org2009-12-231-1/+1
| | | | | | | | | BUG=29538 TEST=Extensions with utf8 encoded names should appear correctly named in the context menu. Review URL: http://codereview.chromium.org/520001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35197 0039d316-1c4b-4281-b951-d872f2087c98
* Use a perfect hash map for the registry controlled domain service.jam@chromium.org2009-12-2311-3927/+18583
| | | | | | | | On my very fast machine, building the std::set in release mode on startup and blocks the UI thread for 15ms (there are > 3300 entries). It also uses 275KB of memory, not including 50KB of data in the dll. Using a perfect hash map, there's no startup cost. The dll's size increases by 135KB but there's no extra memory consumption, leading to a memory reduction of 140KB. Review URL: http://codereview.chromium.org/515001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35196 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chrome files I somehow missed before.dpranke@google.com2009-12-232-38/+0
| | | | | | | | | | TBR=esiedel@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/515004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35195 0039d316-1c4b-4281-b951-d872f2087c98
* Remove remaining layout tests under src/webkit/data/layout_tests. Alldpranke@google.com2009-12-23111-15201/+7
| | | | | | | | | | | | | | | | layout tests have been upstreamed to webkit.org; there are a few chromium- specific tests under LayoutTests/platform/chromium. Note that this removes some test expectations that will need to be put back in when the tests show up with the next WebKit roll. BUG=30503 TEST=many... R=eseidel@chromium.org Review URL: http://codereview.chromium.org/511002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35194 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35189 (caused test_shell_tests crashes on valgrind bot):willchan@chromium.org2009-12-232-105/+32
| | | | | | | | | | | | | | Take 2: Reenable TCMalloc on Linux and make POSIX signal handling async signal safe. Reinstates r34096 and r34036, which were reverted by r34632 due to hanging ui_tests and browser_tests on bots. I've been unable to repro on the trybots despite hitting them with a ton of try jobs, so I'm trying on the buildbots again. BUG=http://crbug.com/30501 Review URL: http://codereview.chromium.org/505068 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/517001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35192 0039d316-1c4b-4281-b951-d872f2087c98
* Removed trailing comma in enum to fix nacl build.apatrick@google.com2009-12-231-1/+1
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/516002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35191 0039d316-1c4b-4281-b951-d872f2087c98
* Update NaCl revisiongregoryd@google.com2009-12-221-1/+1
| | | | | | | | | BUG=30990 TEST= NaCl integration test should succeed Review URL: http://codereview.chromium.org/510002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35190 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2: Re-enable TCMalloc on Linux and make POSIX signal handling async ↵willchan@chromium.org2009-12-222-32/+105
| | | | | | | | | | | | signal safe. Reinstates r34096 and r34036, which were reverted by r34632 due to hanging ui_tests and browser_tests on bots. I've been unable to repro on the trybots despite hitting them with a ton of try jobs, so I'm trying on the buildbots again. BUG=http://crbug.com/30501 Review URL: http://codereview.chromium.org/505068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35189 0039d316-1c4b-4281-b951-d872f2087c98
* Gets the extension popup/bubble to work correctly on Chrome OS.sky@chromium.org2009-12-226-14/+99
| | | | | | | | BUG=30358 TEST=see bug Review URL: http://codereview.chromium.org/501179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35188 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35184 - This seemed to cause BlacklistedExtensionWillNotInstalllevin@chromium.org2009-12-226-72/+11
| | | | | | | | | | | | to fail. TBR=finnur@chromium.org TEST=BlacklistedExtensionWillNotInstall Review URL: http://codereview.chromium.org/514001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35187 0039d316-1c4b-4281-b951-d872f2087c98
* Change chromeos build to use viewsoshima@chromium.org2009-12-226-69/+58
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/508025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35186 0039d316-1c4b-4281-b951-d872f2087c98
* Added Pepper 3D device that instantiates the GPU plugin and sends GLES2 ↵apatrick@google.com2009-12-2269-392/+1108
| | | | | | | | | | | | | | | | | | | | | | | commands to it via a command buffer. Added API for managing buffers to Pepper 3D device. Removed DCHECK from WebPluginImpl::SetWindow that checks against a windowless plugin being given a window handle. Please check this! Now an initially windowless plugin instance gets a handle when it requests a Pepper 3D context. Perhaps the window handle should be concealed from the underlying plugin isntance. Removed enable_gpu gyp variable and C macro. GPU code is always built on windows but not mac or linux. It is enabled at runtime with the --enable-gpu-plugin switch. Redesigned CommandBuffer interface so it exposes shared memory through a Buffer. This was necessary because Pepper has no notion of shared memory handles. The Buffer exposes the shared memory as both a handle (through base::SharedMemory) and the mapped address and size. Refactored CommandBufferEngine so mapped shared memory addresses and sizes are returned with a single call rather than two separate calls. Added 3D demo to pepper test plugin. TEST=try servers BUG=none Review URL: http://codereview.chromium.org/367002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35185 0039d316-1c4b-4281-b951-d872f2087c98
* Permission escalation when extension updates should trigger the install ↵finnur@chromium.org2009-12-226-11/+72
| | | | | | | | | | | warning when enabling the extension through the Extensions Management UI. BUG=30752 TEST=This requires an extension that autoupdates _and_ increases its permissions. If you ignore the infobar that says it has been disabled, you should still get the Install Warning dialog when you try to enable the extension. Review URL: http://codereview.chromium.org/501137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35184 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations.txt to account for recent failures.levin@chromium.org2009-12-222-1/+3
| | | | | | | | | BUG=31026,31028 TEST=layout tests: crash-when-navigating-away-then-back.html and feDisplacementMap-01.svg Review URL: http://codereview.chromium.org/501180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35183 0039d316-1c4b-4281-b951-d872f2087c98
* Add a change that was supposed to be part of the previous CL - see ↵gregoryd@google.com2009-12-221-1/+1
| | | | | | | | http://codereview.chromium.org/501127/show Review URL: http://codereview.chromium.org/507074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race condition at cros startupdavemoore@chromium.org2009-12-221-15/+42
| | | | | | Review URL: http://codereview.chromium.org/504084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35181 0039d316-1c4b-4281-b951-d872f2087c98
* Putting back tests that are excluded in bug 28808oshima@chromium.org2009-12-226-30/+3
| | | | | | | | | BUG=28808 TEST=Run ui_tests Review URL: http://codereview.chromium.org/502071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35180 0039d316-1c4b-4281-b951-d872f2087c98
* Fix valgrind mem leak in AppCacheUpdateJobTest and remove suppression.jennb@chromium.org2009-12-222-30/+0
| | | | | | | | | TEST=valgrind test_shell_tests BUG=none Review URL: http://codereview.chromium.org/501175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35179 0039d316-1c4b-4281-b951-d872f2087c98
* Added myself to the WATCHLIST for all files under gpu/. I wasn't able to ↵apatrick@google.com2009-12-221-1/+4
| | | | | | | | | | | successfully run watchlist.py on my box either before or after making the change. TEST=none BUG=none Review URL: http://codereview.chromium.org/504067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35178 0039d316-1c4b-4281-b951-d872f2087c98
* Check permissions for chrome.tabs.executeScript() in theaa@chromium.org2009-12-2213-78/+192
| | | | | | | | | | renderer just before injection to avoid races. BUG=30937 Review URL: http://codereview.chromium.org/509032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35176 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug on removing last pinned tab that left new tab buttonsky@chromium.org2009-12-222-0/+16
| | | | | | | | | | | | | | | | indented too much. When a tab is removed we don't actually remove the tab until the animation is done. This means the value returned by GetTabHOffset isn't correct until after the tab is removed. I'm fixing by forcing layout when done, which triggers calling GetTabHOffset. The bug exists on both gtk and views, this fixes both. BUG=22934 TEST=see bug Review URL: http://codereview.chromium.org/505071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35175 0039d316-1c4b-4281-b951-d872f2087c98
* Make the error messages for manifest parsing a little friendlier.finnur@chromium.org2009-12-221-6/+12
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/507057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35174 0039d316-1c4b-4281-b951-d872f2087c98
* Try 2: on fstat checkingthomasvl@chromium.org2009-12-221-3/+5
| | | | | | | | | | | - make sure the handle is valid before doing anything with the fd. - make sure the fstat works before mapping. BUG=none TEST=none Review URL: http://codereview.chromium.org/509036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35173 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Hook up "End process" button on task manager.thakis@chromium.org2009-12-223-12/+97
| | | | | | | | | | | Nib changes: Connect "End process" button to action and outlet, allow multiple selection on the table, make TaskManagerWindowController the delegate of the table view. BUG=13156 TEST=Hook up task manager in menu, open it. Button should be enabled if at least one task is selected, clicking the button should terminate the selected processes. Review URL: http://codereview.chromium.org/505073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35172 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of OmxVideoDecodeEngine.ajwong@chromium.org2009-12-2232-706/+1610
| | | | | | | | | | | | | | | | | | Also moves FFmpegVideoDecodeEngine FFmpegVideoDecoder, OmxVideoDecoder, and VideoDecoderImpl into their own files. Refactors FFmpegDemuxerTest to be less of a characterization test, and to hopefully be less fragile. Creates a set of utilities for handling Callbacks versus Tasks, and resource management related to Callbacks. Re-enables the annexb filters for the chrome build of FFmpeg. Added a BitstreamConverter class that abstracts the bitstream filter code. Cleans up a few gyp mistakes with flag exporting. Review URL: http://codereview.chromium.org/492023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35171 0039d316-1c4b-4281-b951-d872f2087c98
* Makes extension badges on Chrome OS draw the same as they do on windows.sky@chromium.org2009-12-221-1/+1
| | | | | | | | | CHROMEOS_BUG=1008 TEST=none Review URL: http://codereview.chromium.org/509033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35170 0039d316-1c4b-4281-b951-d872f2087c98