summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Revert 113479 - Revert "Revert 113250 - Add CommandBuffer::SetGetBuffer"rsimha@google.com2011-12-083-17/+11
| | | | | | | | | | | | | | | | | | Reason for revert: Bot redness. See http://build.chromium.org/p/chromium/builders/Mac10.6%20Tests%20%281%29/builds/15717 Original checkin notes: This reverts commit bd45bd252aeb8babac62547a5c605fbf64287cd3. TEST=ran webkit tests in DRT and webgl tests in chrome BUG=103989 Review URL: http://codereview.chromium.org/8758026 TBR=gman@chromium.org Review URL: http://codereview.chromium.org/8865008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113512 0039d316-1c4b-4281-b951-d872f2087c98
* Make Clipboard::FormatType an opaque handle type.dcheng@chromium.org2011-12-071-9/+7
| | | | | | | | | BUG=106523 TEST=ui_unittests --gtest_filter=ClipboardTest.* and manual testing Review URL: http://codereview.chromium.org/8801038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113502 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PP_Module from parameters for PPB_Var.VarFromUtf8.dmichael@chromium.org2011-12-0719-186/+74
| | | | | | | | | | | | | | | | This change has tendrils stretching throughout the code, but mostly this lets us delete a bunch of stuff. This also does a slight refactor to put the PPB_Var implementations in 1 place, since they were already practically identical, and I didn't want to do the backwards-compat code in 2 places. BUG=106596 TEST=N/A TBR=darin,tony darin,tony TBR for rubber-stamp of webkit/glue/webkit_glue.gypi Review URL: http://codereview.chromium.org/8826011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113491 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 113250 - Add CommandBuffer::SetGetBuffer"gman@chromium.org2011-12-073-11/+17
| | | | | | | | | | | This reverts commit bd45bd252aeb8babac62547a5c605fbf64287cd3. TEST=ran webkit tests in DRT and webgl tests in chrome BUG=103989 Review URL: http://codereview.chromium.org/8758026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113479 0039d316-1c4b-4281-b951-d872f2087c98
* Webcam ppapi flash fix.ihf@chromium.org2011-12-071-16/+17
| | | | | | | | | | Return buffers that are in flight during shutdown and make sure to issue defered stop. BUG=106369 Review URL: http://codereview.chromium.org/8819010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113467 0039d316-1c4b-4281-b951-d872f2087c98
* Don't attempt to forward declare StringPiece. #include the declaration, or ↵erikwright@chromium.org2011-12-072-8/+1
| | | | | | | | | | | | | | | | remove the forward declaration where it was not actually used. 1) Forward declaring StringPiece is generally discouraged because it prevents callers from benefiting from automatic coersion from string/char* types. 2) A follow-up CL (http://codereview.chromium.org/8659047/) will make StringPiece a template, and thus awkward to forward declare. The very small number of places that were appropriately forward declaring it do not justify writing a 'string_piece_forward.h'. This particular CL would be one of the rare ones where a forward declaration would be 'appropriate', but it does not warrant forward-declaring both the template and the typedef, and the number of similar cases does not justify creating a _forward.h header. BUG=87634 R=tony@chromium.org Review URL: http://codereview.chromium.org/8819022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113465 0039d316-1c4b-4281-b951-d872f2087c98
* Updating TODO bug number for BufferedDataSourceTest.Range_NotSupported.scherkus@chromium.org2011-12-071-1/+1
| | | | | | | | | BUG=104783 TBR=acolwell Review URL: http://codereview.chromium.org/8849009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113461 0039d316-1c4b-4281-b951-d872f2087c98
* Setup TestShellPlatformDelegate before MessageLoop.shess@chromium.org2011-12-071-5/+5
| | | | | | | | | | | | MessagePumpMac wants NSApp to be initialized before the UI MessageLoop is created. BUG=102224 Review URL: http://codereview.chromium.org/8844001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113437 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the shared_impl resource files to give them more regular names.brettw@chromium.org2011-12-0721-101/+59
| | | | | | | | | | | [ Reland of 113290 http://codereview.chromium.org/8790004 ] I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. Review URL: http://codereview.chromium.org/8849003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113428 0039d316-1c4b-4281-b951-d872f2087c98
* Replace media::Limits struct with media::limits namespace and update ↵scherkus@chromium.org2011-12-072-8/+12
| | | | | | | | documentation. Review URL: http://codereview.chromium.org/8786013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113425 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-accelerated-filters flag to Chrome. This is the chrome-side ↵senorblanco@chromium.org2011-12-072-0/+5
| | | | | | | | | | change corresponding to http://trac.webkit.org/changeset/102088. Note that most of this is the result of blind devotion to cargo cult, based on code for other flags. BUG=none TEST=none Review URL: http://codereview.chromium.org/8822025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113388 0039d316-1c4b-4281-b951-d872f2087c98
* Implement NPNVsupportsCompositingCoreAnimationPluginsBoolstuartmorgan@chromium.org2011-12-071-0/+7
| | | | | | | | | | | | | | Returns true when plugin compositing is enabled, so that plugins that dynamically query for composited CA support know it's safe to use CA. Updates NPAPI headers to r14 of the upstream 'npapi-sdk' project headers, to pick up the new constant. BUG=40997 TEST=HTML overlays should work with, e.g., the Google Earth plugin on 10.6+ Review URL: http://codereview.chromium.org/8805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113370 0039d316-1c4b-4281-b951-d872f2087c98
* Draft of a PPAPI interface for ArrayBuffer.dmichael@chromium.org2011-12-072-4/+5
| | | | | | | | | | | | | | | | | | | | | | See the TypedArray spec for reference: http://www.khronos.org/registry/typedarray/specs/latest/ Things in the spec that I'm omiting: - slice (Having a view of the ArrayBuffer that has a different offset/length) TODO in future CLs: -Implementation for in-process/trusted + tests (almost ready) -NaCl proxy -OOP proxy Later still: - Support for ArrayBufferView and TypedArray based on that. BUG=103435 TEST=N/A Review URL: http://codereview.chromium.org/8502030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113355 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113290 - Rename the shared_impl resource files to give them more ↵brettw@chromium.org2011-12-0720-58/+100
| | | | | | | | | | | | | | | | | | regular names. I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. BUG= TEST= Review URL: http://codereview.chromium.org/8790004 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8824015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113302 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the shared_impl resource files to give them more regular names.brettw@chromium.org2011-12-0620-100/+58
| | | | | | | | | | | | | I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. BUG= TEST= Review URL: http://codereview.chromium.org/8790004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113290 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113250 - Add CommandBuffer::SetGetBufferdglazkov@chromium.org2011-12-063-9/+11
| | | | | | | | | | | | | | | | | | | | | | | As well as remove CommandBuffer::GetRingBuffer and change CommandBuffer::Initialize Before this change the service allocated and managed the command buffer. After this change the client uses CreateTransferBuffer, GetTransferBuffer, end potentially DeleteTransferBufffer to manage the command buffer. Another CL will actually make the client delete the command buffer on demand. TEST=unit tests and run some samples and a NaCl 3D game BUG=103989 Review URL: http://codereview.chromium.org/8566059 TBR=gman@chromium.org Review URL: http://codereview.chromium.org/8827005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113255 0039d316-1c4b-4281-b951-d872f2087c98
* Add CommandBuffer::SetGetBuffergman@chromium.org2011-12-063-11/+9
| | | | | | | | | | | | | | | | | | | | As well as remove CommandBuffer::GetRingBuffer and change CommandBuffer::Initialize Before this change the service allocated and managed the command buffer. After this change the client uses CreateTransferBuffer, GetTransferBuffer, end potentially DeleteTransferBufffer to manage the command buffer. Another CL will actually make the client delete the command buffer on demand. TEST=unit tests and run some samples and a NaCl 3D game BUG=103989 Review URL: http://codereview.chromium.org/8566059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113250 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper WebSocket API: Add unit test to call Close()toyoshim@chromium.org2011-12-061-1/+23
| | | | | | | | | | | | - Add unit tests to validate Close() operation in various situations - Bug fix to invoke ongoing receive completion callback on Close() BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_*Close' Review URL: http://codereview.chromium.org/8821008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113239 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the GL_ANGLE_texture_usage and GL_EXT_texture_storagevangelis@chromium.org2011-12-064-0/+14
| | | | | | | | | | extensions to the command buffer and the WebGraphicsContext3D APIs. BUG=106142 TEST=unittests Review URL: http://codereview.chromium.org/8772033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113223 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to ↵dpolukhin@chromium.org2011-12-069-4/+348
| | | | | | | | | | | | | Browser PPB_{TCP|UDP}Socket_Private interfaces are exposed to Browser process. Added shared (between NaCl and Pepper) tests for both interfaces. BUG=105859 TEST=ui_tests Review URL: http://codereview.chromium.org/8804006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113172 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebThread::{add,remove}TaskObserver.adamk@chromium.org2011-12-062-6/+77
| | | | | | | | | | Re-landing r113010 with clang style fixes. R=tony@chromium.org Review URL: http://codereview.chromium.org/8805027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113073 0039d316-1c4b-4281-b951-d872f2087c98
* Enable custom MIME types in web copy/paste.dcheng@chromium.org2011-12-051-2/+9
| | | | | | | | | | | | | Also fixes a leak that was accidentally introduced in http://src.chromium.org/viewvc/chrome?view=rev&revision=113018. BUG=31037,106472 TEST=manual testing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113040 Review URL: http://codereview.chromium.org/8802004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113064 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113040 - Enable custom MIME types in web copy/paste.dcheng@chromium.org2011-12-051-9/+2
| | | | | | | | | | | | BUG=31037 TEST=manual testing Review URL: http://codereview.chromium.org/8802004 TBR=dcheng@chromium.org Review URL: http://codereview.chromium.org/8805030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113045 0039d316-1c4b-4281-b951-d872f2087c98
* Enable custom MIME types in web copy/paste.dcheng@chromium.org2011-12-051-2/+9
| | | | | | | | | BUG=31037 TEST=manual testing Review URL: http://codereview.chromium.org/8802004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113040 0039d316-1c4b-4281-b951-d872f2087c98
* Make the transfer request code path use full referrersjochen@chromium.org2011-12-053-3/+8
| | | | | | | | | | BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113038 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Don't round zoom levels to the nearest integer.thestig@chromium.org2011-12-051-12/+1
| | | | | | | | | BUG=106231 TEST=none Review URL: http://codereview.chromium.org/8784008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113034 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113010 - Implement WebThread::{add,remove}TaskObserver.avi@chromium.org2011-12-052-71/+4
| | | | | | | | | | | Depends on http://trac.webkit.org/changeset/101418 Review URL: http://codereview.chromium.org/8586038 TBR=adamk@chromium.org Review URL: http://codereview.chromium.org/8805026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113014 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebThread::{add,remove}TaskObserver.adamk@chromium.org2011-12-052-4/+71
| | | | | | | | Depends on http://trac.webkit.org/changeset/101418 Review URL: http://codereview.chromium.org/8586038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113010 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 112984 - Roll WebKit 101876 -> 101994scheib@chromium.org2011-12-051-4/+0
| | | | | | | | | | | | | Added temporary downstream webkit expectations. TBR=scheib Review URL: http://codereview.chromium.org/8801010 TBR=vsevik@chromium.org Review URL: http://codereview.chromium.org/8800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112997 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 101876 -> 101994vsevik@chromium.org2011-12-051-0/+4
| | | | | | | | | | Added temporary downstream webkit expectations. TBR=scheib Review URL: http://codereview.chromium.org/8801010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112984 0039d316-1c4b-4281-b951-d872f2087c98
* Removed passing tests from downstream WebKit test_expectations.txtvsevik@chromium.org2011-12-051-10/+0
| | | | | | | | TBR=scheib Review URL: http://codereview.chromium.org/8800005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112964 0039d316-1c4b-4281-b951-d872f2087c98
* Add glue for supporting custom MIME types in DataTransfer.dcheng@chromium.org2011-12-049-3/+75
| | | | | | | | | BUG=31037 TEST=none in this patch, will be landed in WebKit as layout tests. Review URL: http://codereview.chromium.org/8775025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112927 0039d316-1c4b-4281-b951-d872f2087c98
* Pass along the referrer policy (renderer side)jochen@chromium.org2011-12-032-2/+8
| | | | | | | | | | BUG=105028 TEST=none (browser side still missing, does nothing yet) Review URL: http://codereview.chromium.org/8774050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112898 0039d316-1c4b-4281-b951-d872f2087c98
* Improve support for multiselect list box accessibility on Windows.dmazzoni@chromium.org2011-12-031-0/+4
| | | | | | | | | | | | | | Exposes several new states and attributes and fires new notifications when the selection changes. Adds general-purpose implementations of IUnknown and IEnumVARIANT to base/win/, which will be used in the future as we remote ATL from accessibility code. BUG=5027,98984 TEST=manual testing with JAWS and NVDA Review URL: http://codereview.chromium.org/8588036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112870 0039d316-1c4b-4281-b951-d872f2087c98
* Update these includes to use the new header locationsabarth@chromium.org2011-12-03144-338/+338
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8787003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112824 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket Pepper API: error handling improvementtoyoshim@chromium.org2011-12-022-22/+67
| | | | | | | | | | | | | | - didReceiveMessageError() handling - didStartClosingHandshake() handling - didReceive* state_ checking - MayForceCallback handling BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket*' Review URL: http://codereview.chromium.org/8772001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112820 0039d316-1c4b-4281-b951-d872f2087c98
* Make accessible scroll position attributes more generic anddmazzoni@chromium.org2011-12-022-9/+33
| | | | | | | | | | | add attributes for the min and max scroll position, as the first step towards implementing accessible scrolling APIs. BUG=104468 TEST=none Review URL: http://codereview.chromium.org/8776026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112814 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 112693 - committed before review was done - Landing 8688002: ↵jam@chromium.org2011-12-029-348/+4
| | | | | | | | | | | | PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser Review URL: http://codereview.chromium.org/8688002 Patch from Yuri Gorshenin <ygorshenin@chromium.org>. TBR=dpolukhin@chromium.org Review URL: http://codereview.chromium.org/8775063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112754 0039d316-1c4b-4281-b951-d872f2087c98
* Add exports needed for glue to build as a component.dpranke@chromium.org2011-12-0282-218/+436
| | | | | | | | | | | | | This adds WEBKIT_GLUE_EXPORT, WEBKIT_PLUGINS_EXPORT, and WEBKIT_EXTENSIONS_EXPORT macros that are used by the files in webkit/{glue,plugins,extensions} to show what needs to be exported from a DLL. R=darin@chromium.org BUG=98755 TEST=waterfall stays green. Review URL: http://codereview.chromium.org/8741006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112748 0039d316-1c4b-4281-b951-d872f2087c98
* Split a portion of BufferedResourceLoader into a separate class ActiveLoader.scherkus@chromium.org2011-12-027-131/+188
| | | | | | | | | | | | ActiveLoader encapsulates an active WebURLLoader and takes care of maintaining deferred status, references to parent object, and automatic cancelation during teardown. As a result of fixing the imbalanced reference counts to BufferedResourceLoader there were a few use-after-free bugs due to doing work after executing callbacks. The ordering has been updated to ensure that no more work is done after executing callbacks. BUG=100914 Review URL: http://codereview.chromium.org/8667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112747 0039d316-1c4b-4281-b951-d872f2087c98
* Convert file ref private to use new registration.brettw@chromium.org2011-12-021-0/+1
| | | | | | | | | | This removes some manual registration code. It should also make FileRef private work in process, it didn't look like it was being registered for in-process use before. Review URL: http://codereview.chromium.org/8772027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112740 0039d316-1c4b-4281-b951-d872f2087c98
* Enable GL_CHROMIUM_post_sub_buffer for osmesabacker@chromium.org2011-12-021-1/+4
| | | | | | | | | | | | Small changes to WGC3DInProcessImpl to pass the extension up to WebKit. BUG=none TEST=with https://bugs.webkit.org/show_bug.cgi?id=67341 and --use-gl=osmesa Review URL: http://codereview.chromium.org/8772021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112738 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit roll 101778 -> 101791vsevik@chromium.org2011-12-021-0/+6
| | | | | | | | TBR=scheib Review URL: http://codereview.chromium.org/8773044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112715 0039d316-1c4b-4281-b951-d872f2087c98
* Landing 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to ↵dpolukhin@chromium.org2011-12-029-4/+348
| | | | | | | | | Browser Review URL: http://codereview.chromium.org/8688002 Patch from Yuri Gorshenin <ygorshenin@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112693 0039d316-1c4b-4281-b951-d872f2087c98
* webkit roll 101681 -> 101748vsevik@chromium.org2011-12-021-9/+0
| | | | | | | | TBR=scheib Review URL: http://codereview.chromium.org/8776042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112658 0039d316-1c4b-4281-b951-d872f2087c98
* Enable port validation because net::IsPortAllowedByDefault() was exported nowtoyoshim@chromium.org2011-12-021-7/+4
| | | | | | | | | BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_InvalidConnect'; git try -b win_shared Review URL: http://codereview.chromium.org/8764022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112637 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert AppCacheHelper::DeleteAppCachesForOrigin.jhawkins@chromium.org2011-12-027-31/+38
| | | | | | | | | | | BUG=none TEST=none R=groby@chromium.org Review URL: http://codereview.chromium.org/8769024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112635 0039d316-1c4b-4281-b951-d872f2087c98
* Remove OVERRIDEs from methods inherited from WebKit APItoyoshim@chromium.org2011-12-021-8/+6
| | | | | | | | | BUG=105708 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket*' Review URL: http://codereview.chromium.org/8771002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112634 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert AppCacheHelper::DeleteAppCacheGroup.jhawkins@chromium.org2011-12-023-26/+25
| | | | | | | | | | BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/8775034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112623 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert AppCacheService::GetAllAppCacheInfo.jhawkins@chromium.org2011-12-025-23/+21
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8776024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112622 0039d316-1c4b-4281-b951-d872f2087c98