| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Unmap.
* Make ByteLength more consistent with the rest of PPAPI.
* Make C++ wrapper not cache the buffer.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9169052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119286 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
First pass at implementing the MessageLoop interface. This includes a simple example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119270 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interface. This includes a simple
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9097006
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9290040
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9234068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119268 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supported from WebKit.
Move the render thread logic for managing the mouse lock state out of the pepper_plugin_delegate_impl, and into a higher level dispatcher for render_view_impl.
Handle mouse lock / pointer lock requests from both pepper and webkit (WebKit API not yet landed, small TODOs left in this code to enable once that lands).
BUG=109957
TEST=Pepper examples/mouse_lock and NaCl mouse lock examples still work.
Review URL: http://codereview.chromium.org/8970016
TBR=scheib@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9293001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119208 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the render thread logic for managing the mouse lock state out of the pepper_plugin_delegate_impl, and into a higher level dispatcher for render_view_impl.
Handle mouse lock / pointer lock requests from both pepper and webkit (WebKit API not yet landed, small TODOs left in this code to enable once that lands).
BUG=109957
TEST=Pepper examples/mouse_lock and NaCl mouse lock examples still work.
Review URL: http://codereview.chromium.org/8970016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119206 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
includes a simple
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9097006
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9290040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119200 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
example and a helper class. The current example just asserts due to thread
checks we have in there now, but this should provide a good starting point.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9097006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119198 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and hide LeakyLazyInstanceTraits in base::internal to discourage cargo-culting
new users.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9117038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119173 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
to these headers and footers. New removefiles script for removing unneeded files for devsite and new python script for cleaning up resulting doxygen output for devsite.
Review URL: https://chromiumcodereview.appspot.com/9126002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119091 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal here is to be able to add thread checking to the enter functions, which will require more types of failure than just "bad resource".
I folded completion callback force executing into this, which also simplifies the thunks a bit. If we like this method, I'll convert the rest and delete MayForceCallback.
I converted URLLoader and Graphics2D to use this.
Review URL: https://chromiumcodereview.appspot.com/9235003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118951 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=61173
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/9185033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118930 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/9195029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118888 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usually, the websocket_ doesn't have an object when SetBinaryType() is called.
BUG=87310
TEST=ui_tests --gtest_filter='*WebSocket_CcInterfaces'
Review URL: http://codereview.chromium.org/9193013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118787 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=run_pnacl_example_browser_test
Review URL: https://chromiumcodereview.appspot.com/9138047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118621 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of the work to suppport enumeration of multiple audio/video capture devices.
Relevant changes:
The thread that discussed interface design - http://codereview.chromium.org/8981009/
PPB_ResourceArray_Dev (committed) - http://codereview.chromium.org/9111008/
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9192019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
for process creation
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9270032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unfortunately the dependency only worked when building chromium in a
chromium checkout and not a webkit-only checkout. This fixes that.
R=piman@chromium.org, ananta@chromium.org
BUG=110910
TEST=build.webkit.org chromium bots can run gyp happily.
Review URL: https://chromiumcodereview.appspot.com/9131026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118570 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After invoking an interface method this will allow creation from other than
RenderThread.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9265027
TBR=sehr@google.com
Review URL: https://chromiumcodereview.appspot.com/9131027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118565 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
After invoking an interface method this will allow creation from other than
RenderThread.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9265027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118553 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The sync_socket creation failure has been fixed so the test should now pass. See bug for details
BUG=103975
TEST=this is a test dammit!
Review URL: http://codereview.chromium.org/9254042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118537 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the Webkit thread in the PPAPI plugin process and perform the text and font operations
on the PPAPI main thread. This thread is now registered as the Webkit thread.
Fixes performance issues seen in Flapper with text and font operations. It appears that the perf
issues occur due to context switching between the main thread and the webkit thread.
As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file
has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font
creation has been wired up to the ResourceCreationAPI as suggested.
BUG=110190
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/9192038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118503 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/8965082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
Remove the Webkit thread in the PPAPI plugin process and perform the text and font operations
on the PPAPI main thread. This thread is now registered as the Webkit thread.
Fixes performance issues seen in Flapper with text and font operations. It appears that the perf
issues occur due to context switching between the main thread and the webkit thread.
As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file
has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font
creation has been wired up to the ResourceCreationAPI as suggested.
BUG=110190
R=brettw
Review URL: https://chromiumcodereview.appspot.com/9133015
TBR=ananta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9150055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118399 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
dynamic linking to go ahead before metadata is complete.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9195016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118390 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and font operations
on the PPAPI main thread. This thread is now registered as the Webkit thread.
Fixes performance issues seen in Flapper with text and font operations. It appears that the perf
issues occur due to context switching between the main thread and the webkit thread.
As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file
has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font
creation has been wired up to the ResourceCreationAPI as suggested.
BUG=110190
R=brettw
Review URL: https://chromiumcodereview.appspot.com/9133015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118385 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement PPB_WebSocket _Dev SRPC proxy
- support PP_Var write back in plugin/browser callback bridge
- resource leak fix in browser_callback
Enable all WebSocket related ppapi tests in NaCl
- support TEST_PPAPI_NACL_VIA_HTTP_WITH_WS macro in ppapi_uitest
- fix a test which expects synchronous completion
BUG=87310
TEST=ui_tests --gtest_filter='PPAPINaClTest.WebSocket_*'
Review URL: https://chromiumcodereview.appspot.com/9227008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118268 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change re-enables building gles2_c_lib as a component.
TBR=gman@chromium.org
BUG=107735
TEST=waterfall stays green
Review URL: https://chromiumcodereview.appspot.com/9150022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118263 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- support SetBinaryType()
- support WebArrayBuffer and stop supporting WebData
- use Var instead of PP_Var to hold received messages
- Add C++ interfaces to handle binary types
BUG=87310
TEST=ui_test --gtest_filter='PPAPITest.WebSocket_*'
Review URL: http://codereview.chromium.org/9026007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use NACL_PRId32 for PP_Instance, PP_Resource, and PP_Module instead of NACL_PRIu32 in DebugPrintf
- use PP_ToBool or PP_FromBool to cast between PP_Bool and bool
BUG=none
TEST=ui_test
Review URL: http://codereview.chromium.org/9253011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118253 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Broke compile on windows.
TBR=gman@chromium.org
BUG=107735
TEST=waterfall greens up again
Review URL: https://chromiumcodereview.appspot.com/9264003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118252 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This results in PPAPI headers always being generated with Unix line-endings.
BUG=109116
TEST=Re-generate PPAPI headers on a Windows system, using a Windows-native version of Python, and verify that the generated headers have Unix line-endings.
Review URL: http://codereview.chromium.org/9088010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118245 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gles2_c_lib_export.h file, and ensures that all of the GL shim symbols are exported properly.
This also fixes a couple of prototype issues in glTexStorage2DEXT and glEnableFeatureCHROMIUM along the way.
R=gman@chromium.org
TEST=waterfall, specifically platform/chromium/compositing/accelerated-drawing tests don't crash
Review URL: https://chromiumcodereview.appspot.com/8956051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118240 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Necessary for working with PP_NetAddress_Private structure in NaCl module (for instance, for changing port after TCP connection).
BUG=108265
TEST=UI test NetAddressPrivateUntrusted
Review URL: https://chromiumcodereview.appspot.com/9007009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118089 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some thunk functions returned PP_ERROR_BADRESOURCE for EnterResource failure
though returning value is not int32_t error code.
BUG=87310
TEST=ui_tests --gtest_filter='PPAPI*.WebSocket_*'
Review URL: http://codereview.chromium.org/9097008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118050 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=89842
TEST=./ui_tests --gtest_filter=PPAPITest.URLLoader*PrefetchBufferThreshold
Review URL: http://codereview.chromium.org/9139076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117970 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This makes the interface a bit easier to use and, more importantly, easier to
update the interface while maintaining suitable compatibility.
Review URL: http://codereview.chromium.org/9207012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117750 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Additional changes needed in PDF plugin to use this functionality.
BUG=89241
TEST=Test printing using PDF toolbar on the embedded and normal PDFs. Please do so AFTER PDF changes will be submitted (they have to be submitted separately).
Review URL: http://codereview.chromium.org/9139024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117699 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
http://code.google.com/p/nativeclient-sdk/issues/detail?id=125
Review URL: http://codereview.chromium.org/9190069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=79098
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117561
Review URL: http://codereview.chromium.org/9148044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117657 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
<codee> to <code> and <script> to <code>.
Review URL: http://codereview.chromium.org/9132003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117654 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/9124014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG= http://code.google.com/p/chromium/issues/detail?id=106266
TEST=ppapi/tests/test_post_message.cc
Review URL: http://codereview.chromium.org/9187071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117643 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=try bots.
Review URL: http://codereview.chromium.org/9148054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117634 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=dmichael
Review URL: http://codereview.chromium.org/9187070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117587 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=79098
Review URL: http://codereview.chromium.org/9148044
TBR=scottmg@chromium.org
Review URL: http://codereview.chromium.org/9186060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117572 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=79098
Review URL: http://codereview.chromium.org/9148044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117561 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running the generator with default arguments from a CWD other than
the script's directory, the default arguments will be incorrect. This adds
a check which will print an error message and fail. If any argument,
including the default arguments are provided on the command-line, then this
check is bypassed.
BUG= 109177
Review URL: http://codereview.chromium.org/9168014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117547 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PPP_VideoDecoder_Dev::EndOfStream
Nobody's ever called it and it doesn't make sense given the API: EOS is
signalled when no more bits are available to Decode(), via Flush().
BUG=109819
TEST=trybots
Review URL: http://codereview.chromium.org/9186022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117545 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original CL: r117399, http://codereview.chromium.org/9034035/
Reverted in r117414, http://codereview.chromium.org/9139054/ due to a static initializer.
This is the same as r117399 except using a LazyInstance to eliminate the static initializer.
BUG=
TEST=
TBR=dmichael@chromium.org
Review URL: http://codereview.chromium.org/9187055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a unit test for the bufferedAmount property to verify its behaviors around
connection close.
BUG=87310
TEST=ui_test --gtest_filter='PPAPITest.WebSocket_BufferedAmount'
Review URL: http://codereview.chromium.org/8989047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117415 0039d316-1c4b-4281-b951-d872f2087c98
|