summaryrefslogtreecommitdiffstats
path: root/ppapi/example
Commit message (Collapse)AuthorAgeFilesLines
* Move paint aggregator and the completion callback factory.brettw@chromium.org2012-01-061-0/+1
| | | | | | | | | | | [Reland of 116281] Move paint aggregator and the completion callback factory to the ppapi/helpers directory since they're not strictly wrappers. Review URL: http://codereview.chromium.org/9030001 Review URL: http://codereview.chromium.org/9122012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116759 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 116281 - Move paint aggregator and the completion callback factory.brettw@chromium.org2012-01-041-1/+0
| | | | | | | | | | | Move paint aggregator and the completion callback factory to the ppapi/helpers directory since they're not strictly wrappers. Review URL: http://codereview.chromium.org/9030001 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/9086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116284 0039d316-1c4b-4281-b951-d872f2087c98
* Move paint aggregator and the completion callback factory.brettw@chromium.org2012-01-041-0/+1
| | | | | | | | Move paint aggregator and the completion callback factory to the ppapi/helpers directory since they're not strictly wrappers. Review URL: http://codereview.chromium.org/9030001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116281 0039d316-1c4b-4281-b951-d872f2087c98
* Change the DidChangeView update to take a new ViewChanged resource.brettw@chromium.org2012-01-031-27/+22
| | | | | | | | | | | This will allow us to be more flexible about adding data to view changed updates in the future. For now, I've incorporated fullscreen and tab foreground state into the view state. BUG= TEST= Review URL: http://codereview.chromium.org/8951014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116142 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a trivial typo (width and height are swapped)toyoshim@chromium.org2011-10-251-1/+1
| | | | | | | | | | BUG=NONE TEST=manual test; chrome --register-pepper-plugins="$SRC/out/Debug/lib.target/libppapi_example.so;application/x-ppapi-example" file:///$SRC/ppapi/example/example.html Review URL: http://codereview.chromium.org/8369028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107071 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue that PPB_CursorControl_Dev.SetCursor doesn't take effect until ↵yzshen@chromium.org2011-10-091-7/+24
| | | | | | | | | | | | | | the next input event. BUG=94981 TEST= 1) run manual test in ppapi/example; 2) click on the plugin; 3) the cursor should change to a rectangle and keep changing its dimensions, even if you don't move/click the mouse. Review URL: http://codereview.chromium.org/8196003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104686 0039d316-1c4b-4281-b951-d872f2087c98
* Add IsScalingDisabled and PP_PRINTOUTPUTFORMAT_EMF to pepper printing interface.vandebo@chromium.org2011-09-281-10/+6
| | | | | | | | | | | | IsScalingDisabled will let us handle PDFS that don't want to be scaled. PP_PRINTOUTPUTFORMAT_EMF is to simply the printing flow on Windows. BUG=67091, 92045, 91880, 92000, 92218, 95905 TEST=NONE Review URL: http://codereview.chromium.org/8041052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103177 0039d316-1c4b-4281-b951-d872f2087c98
* Fix URLLoader error in PPAPI example program.yuzo@chromium.org2011-08-221-2/+2
| | | | | | | | | | | | | | Currenty pp:URLRequestInfo created with the default constructor is passed to pp:URLLoader and causes PP_ERROR_BADARGUMENT. Use the constructor that takes PP_Instance instead. BUG=none TEST=run ppapi example Review URL: http://codereview.chromium.org/7686004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97606 0039d316-1c4b-4281-b951-d872f2087c98
* Removed MemAlloc and MemFree from PPB_Coremball@google.com2011-07-141-3/+5
| | | | | | | | | BUG=81610 TEST=Trybots Review URL: http://codereview.chromium.org/7349016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92554 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off scripting by default. If this sticks, a later CL will delete all ↵dmichael@chromium.org2011-07-131-2/+2
| | | | | | | | | | | the dead code. BUG=82606 TEST=trybots Review URL: http://codereview.chromium.org/7345014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92294 0039d316-1c4b-4281-b951-d872f2087c98
* Add interfaces for requesting and receiving input event resources.brettw@chromium.org2011-07-071-4/+6
| | | | | | | | | | | | | | | | This converts the input event from a C struct to a resource to give us more ability to change over time. This patch includes a proxy and a C++ wrapper for this resource. You now have to register for classes of input events. No events are sent by default. This also allows us to specify whether the events support bubbling or not, which allows us to better-optimize IPC. TEST=none BUG=none Review URL: http://codereview.chromium.org/7285010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91711 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flag field to PP_CompletionCallback to control if the callback shouldpolina@google.com2011-06-301-2/+2
| | | | | | | | | | | | | | | always be invoked asynchronously on success or error or skipped if the operation can complete synchronously without blocking. Keep the default behavior as-is until clients update their code. Bump revisions of all interfaces that take callbacks as args. Update browser interface function implementations and C++ layer to force callbacks if sync option is not set. Change ppapi/tests to run tests involving callbacks with both flag options. BUG=79376 TEST=ppapi_tests + bots Review URL: http://codereview.chromium.org/6899055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91205 0039d316-1c4b-4281-b951-d872f2087c98
* Workarround so that the example plugin does not crashcpu@chromium.org2011-05-121-0/+2
| | | | | | | | | | The pp:VarPrivate is broken in out-of-process mode BUG=82356 TEST=none Review URL: http://codereview.chromium.org/7016008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85142 0039d316-1c4b-4281-b951-d872f2087c98
* Make FSP work for peppercpu@chromium.org2011-05-021-3/+26
| | | | | | | | | | Basically cook gettimeofday for win32 BUG=none TEST=none Review URL: http://codereview.chromium.org/6880334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83757 0039d316-1c4b-4281-b951-d872f2087c98
* Revert Pepper Key event "USB code" CL.wez@chromium.org2011-04-262-20/+1
| | | | | | | | | | | | | | Revert "Expose scancodes to PP_InputEvent_Key events that are independent of the input language/layout in effect, i.e. that represent the physical key pressed, independent of its meaning in the current context." This reverts commit 35b9f7f01686f51142d8d5b16a88d04575113029. BUG= TEST= Review URL: http://codereview.chromium.org/6902020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83034 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Instance_Trusted to Instance_Private, wire it up in Chrome.dmichael@chromium.org2011-04-191-6/+7
| | | | | | | | | | | Add C++ InstancePrivate. BUG=None TEST=PPAPI tests Review URL: http://codereview.chromium.org/6871040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82104 0039d316-1c4b-4281-b951-d872f2087c98
* 1;2cReplace PP_ERROR_WOULDBLOCK with PP_OK_COMPLETIONPENDING. Improve error ↵polina@google.com2011-04-111-2/+2
| | | | | | | | | | code comments. Update all code that uses this error code. Keep the old code for now flagging it as deprecated. Update copyrights. BUG=none TEST=bots Review URL: http://codereview.chromium.org/6814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81168 0039d316-1c4b-4281-b951-d872f2087c98
* Create a VarPrivate interface to contain the scripting helper functions of Var.brettw@chromium.org2011-04-111-12/+13
| | | | | | | | | | | | Currently, the old functions are left in Var. When people have a chance to move to this new API, we can delete them from Var. This also adds new enums for ARRAY and DICTIONARY vars, and makes the var C++ wrapper forward-compatible with them by refcounting any enums that it doesn't know about. Review URL: http://codereview.chromium.org/6823016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81068 0039d316-1c4b-4281-b951-d872f2087c98
* Expose scancodes to PP_InputEvent_Key events that are independent of the ↵wez@chromium.org2011-04-082-1/+20
| | | | | | | | | | | | | input language/layout in effect, i.e. that represent the physical key pressed, independent of its meaning in the current context. This will inherently rely on the nativeKeyCode field of Chrome's WebKeyboardEvents. BUG= TEST= Review URL: http://codereview.chromium.org/6691066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80918 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_CursorControl_Dev.SetCursor: Add support for custom cursor.yzshen@chromium.org2011-03-231-2/+31
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6720001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79168 0039d316-1c4b-4281-b951-d872f2087c98
* Add a console interface for logging to the JS console from a PPAPI plugin.brettw@chromium.org2011-03-111-22/+20
| | | | | | | TEST=manual Review URL: http://codereview.chromium.org/6667010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77852 0039d316-1c4b-4281-b951-d872f2087c98
* Added plugin size to error logging and a logging statement when the plugin ↵ddorwin@chromium.org2011-01-131-2/+8
| | | | | | | | | | | | | size changes. I found these changes useful while debugging issues when modifying the plugin. BUG=none TEST=none Review URL: http://codereview.chromium.org/6214007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71366 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to toggle the size of the plugin.ddorwin@chromium.org2011-01-131-3/+25
| | | | | | | | | | Useful for exercising DidChangeView() and needed (along with .cc changes) to test bug 64847. BUG=none TEST=none Review URL: http://codereview.chromium.org/6156004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71362 0039d316-1c4b-4281-b951-d872f2087c98
* Add an instance parameter to var objects, audio, and the 2D API. This ↵brettw@chromium.org2011-01-071-5/+10
| | | | | | | | | | | | | | | | replaces the module in most cases. This will be used in the proxy to multiplex one plugin across multiple renderer processes. We need the instance in the proxy to know which process to send it to. I added a deprecated var object creation function for native client, which depends on the module and this is very difficult to change. Because it doesn't have the multiplexing requirements, this is fine for now. TEST=ppapi ui tests BUG=none Review URL: http://codereview.chromium.org/6085009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70721 0039d316-1c4b-4281-b951-d872f2087c98
* Move URLLoader, URLRequestInfo, and URLResponseInfo out of the dev directorybrettw@chromium.org2010-11-101-7/+7
| | | | | | | | | | | | and rename accordingly. Rename URLResponseInfo.GetBody to GetBodyAsFileRef. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65705 0039d316-1c4b-4281-b951-d872f2087c98
* Move PPAPI into the Chrome repo. The old repo wasbrettw@chromium.org2010-11-015-0/+521
http://ppapi.googlecode.com/ TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64613 0039d316-1c4b-4281-b951-d872f2087c98