summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppapi_messages.h
Commit message (Collapse)AuthorAgeFilesLines
* Add type argument to pepper content decryptor method GenerateKeyRequest().tomfinegan@chromium.org2012-10-291-1/+2
| | | | | | | | | | | The type argument is used to carry a MIME type that identifies the type of initialization data. TEST=encrypted ExternalClearKey tests pass Review URL: https://chromiumcodereview.appspot.com/11270057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164757 0039d316-1c4b-4281-b951-d872f2087c98
* Add pepper content decryption audio decoding API.tomfinegan@chromium.org2012-10-191-4/+10
| | | | | | | | | BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11144011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163079 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPB_Testing_Dev GetDocumentURL to the NaCl IPC-based PPAPI proxy.bbudge@chromium.org2012-10-191-1/+19
| | | | | | | | BUG=116317 TEST=browser_tests Review URL: https://codereview.chromium.org/11190037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163036 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize Pepper CDM API decrypt and decode.tomfinegan@chromium.org2012-10-121-1/+2
| | | | | | | | | | | | | | - Removes PP_EncryptedVideoFrameInfo. - Replaces PPP_ContentDecryptor_Private::DecryptAndDecodeFrame() with DecryptAndDecode(). BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11087044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161551 0039d316-1c4b-4281-b951-d872f2087c98
* Add decoder de-initialization and reset to the Pepper CDM API.tomfinegan@chromium.org2012-10-121-0/+18
| | | | | | | | | | | | Adds pepper type PP_StreamType for identifying type of decoder. BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11028087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161522 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI CDM video decoder initialization.tomfinegan@chromium.org2012-10-111-0/+9
| | | | | | | | | | | | | | | | | | | Updates PPB and PPP sides of PPAPI Content Decryptor interfaces to support video decoder intialization. Adds support for decoder initialization in the PPAPI proxy, plugin instance, and the CDM wrapper. Adds new PPAPI types PP_VideoCodecProfile and PP_VideoDecoderConfig. Adds method InitializeVideoDecoder to PPP_ContentDecryptor_Private. Adds method DecoderInitialized to PPB_ContentDecryptor_Private. BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11013052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161448 0039d316-1c4b-4281-b951-d872f2087c98
* Implement plugin side of sync EnumerateVideoCaptureDevicesraymes@chromium.org2012-10-111-0/+7
| | | | | | | | | | This implements the plugin side of PPB_Flash::EnumerateVideoCaptureDevices which is a synchronous version of PPB_VideoCapture::EnumerateVideoDevices. The result is output into a PP_ArrayOutput. This also adds a unittest which does some basic testing of the messages sent, but mainly demonstrates how to write PluginResource unittests when dealing with sync messages (and adds some infrastructure to make it easy to do this). Once VideoCapture is implemented as a new-style resource, the code for this will simplify a lot. Review URL: https://chromiumcodereview.appspot.com/11039012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161265 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_Flash_Font.yzshen@chromium.org2012-10-091-0/+14
| | | | | | | | | | | It is a subset of PPB_PDF and shares the implementation with some PPB_PDF methods. With this interface, Pepper Flash doesn't need to depend on PPB_PDF. BUG=None TEST=None Review URL: https://codereview.chromium.org/10905227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160861 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper WebSocket API: Implement new design Chrome IPC.toyoshim@chromium.org2012-10-091-0/+80
| | | | | | | | | | | | This change implements new Chrome IPC for PPB_WebSocket. After this change, all mode including out of process will work with new design. It doesn't depend on old SRPC design any more. BUG=87310,116317 Review URL: https://chromiumcodereview.appspot.com/10944005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160783 0039d316-1c4b-4281-b951-d872f2087c98
* Update PPP side of Pepper CDM API to support video decoding.tomfinegan@chromium.org2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | This adds the PPP half of the video decoding support changes. Adds the following pepper types: - PP_VideoCodec - PP_DecryptedFrameFormat - PP_EncryptedVideoFrameInfo Replaces PPP_ContentDecryptor_Private::DecryptAndDecode with DecryptAndDecodeFrame. BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160078 0039d316-1c4b-4281-b951-d872f2087c98
* Added sync calls to resources.raymes@chromium.org2012-10-031-0/+6
| | | | | | | | | | | | | | | | | | | The resource (on the plugin side) provides an outgoing and a reply IPC message and the reply message will be set up synchronously. The nice thing about this change is that when writing new ResourceHosts, there is no difference between handling a sync message and a non-sync message. So, for example, you could have a single implementation of some function on the host side and the plugin could choose to call that implementation both synchronously and asynchronously. For example, for the function GetDefaultPrintSettings(), the plugin could call both: CallBrowser(PpapiHostMsg_Printing_GetDefaultPrintSettings()); AND CallBrowserSync(PpapiHostMsg_Printing_GetDefaultPrintSettings(), &reply); with only a single implementation of GetDefaultPrintSettings on the host side. This change also supports both synchronously and asynchronous handling sync messages on the host side (through IPC_MESSAGE_HANDLER_DELAY_REPLY). BUG=none Review URL: https://chromiumcodereview.appspot.com/10989042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159820 0039d316-1c4b-4281-b951-d872f2087c98
* Fix IPC-based NaCl PPAPI proxy to send upload / download progress messages.bbudge@chromium.org2012-10-021-2/+0
| | | | | | | | | Some NaCl apps require this, and it's not really part of the trusted interface. BUG=116317 TEST=Mini Ninjas, From Dust work. Review URL: https://codereview.chromium.org/11045002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159778 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up PpapiPermissions in more places.brettw@chromium.org2012-10-021-2/+5
| | | | | | | | This doesn't actually do much more checking of the permissions, but it should wire it up everywhere we'll need it. It will also at least only return public interfaces via GetInterface in the proxy now unless other bits are supplied. Review URL: https://codereview.chromium.org/10984094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159729 0039d316-1c4b-4281-b951-d872f2087c98
* Convert url request info to new proxy API.brettw@chromium.org2012-09-191-5/+5
| | | | | | | | | | | | | | This splits out the helper functions in the in-process version to a new file: url_request_info_util. This will be moved to content/renderer when we move the url_loader. The unit test was moved from webkit/plugins/ppapi to content/renderer/ppapi. I made it a browsertest which allowed the removal of a little boilerplate. I had to add "internal" functions for loading stuff with just the data struct rather than a resource so the proxy doesn't have to create an in-process URLRequestInfo resource (which can't be created now when running out-of-process) just to create a request. This should be a little more efficient now anyway, and these duplicates will go away when such code moves to the new proxy design. BUG= Review URL: https://codereview.chromium.org/10913257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157588 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate some buffer copies in the URLLoader proxy.darin@chromium.org2012-09-181-4/+8
| | | | | | | | | | | | | | | | | | Change ReadResponseBody_Ack to be a custom generated message so that the plugin can read directly from the IPC::Message payload. Copy data directly from the IPC::Message to current_read_buffer_, and only use buffer_ for when the IPC::Message has more data than can fit in current_read_buffer_. Change the sender of ReadResponseBody_Ack to write directly into the IPC::Message that will be sent. Modify URLLoader::ReadResponseBody to read from buffer_ even when the size of buffer_ is relatively small. R=brettw@chromium.org Review URL: https://codereview.chromium.org/10915301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157307 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'Net*' interface proxies to the untrusted NaCl IPC-PPAPI IRT build.bbudge@chromium.org2012-09-171-13/+13
| | | | | | | | BUG=116317 TEST=compiles, existing functional tests. Review URL: https://codereview.chromium.org/10905302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157162 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the async device ID getter to a chrome resource hostbrettw@chromium.org2012-09-151-0/+6
| | | | | | Review URL: https://codereview.chromium.org/10909138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156989 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPAPI dependency on 'net'.bbudge@chromium.org2012-09-131-1/+1
| | | | | | | | | | This is needed to complete the port of the PPAPI proxy plugin-side to NaCl. This replaces usages in ppapi of types in 'net' with simpler base types (eg. instead of IPEndPoint, use a std::vector<unsigned char> address and an int port). Also, this removes some static methods in net_address_private_impl.* that are hardly used, and removes the ppapi::NetAddressList typedef, using std::vector<PP_NetAddress_Private> instead. BUG=116317 TEST=existing, no new functionality Review URL: https://chromiumcodereview.appspot.com/10909154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156585 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the gamepad API in the IPC proxybrettw@chromium.org2012-09-101-2/+8
| | | | | | | | | | | | | | This does some reworking of the gamepad system to make it possible to hook in (previously it assumed that it was only talking to renderers) and I did some cleanup. Gamepad files were renamed to match the classes, and I did a bunch of test infrastructure work. IMPORTANT BEHAVIOR CHANGE: This changes the Web gamepad API to report all gamepad data as soon as any of them are interacted with. This is what we need to do for Pepper anyway (since it gets all or none of the share memory) and I think makes more sense for most consumers anyway. I separated out the user gesture detection code into a place where it can be used in the browser process as well, and exposed functionality in the gamepad provider to be notified when a user gesture happens. The existing gamepad test was disabled and had bitrotted. This fixes it. Review URL: https://chromiumcodereview.appspot.com/10912062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155676 0039d316-1c4b-4281-b951-d872f2087c98
* This adds the plugin side of the resource only, as well as a unittest.raymes@chromium.org2012-09-071-4/+5
| | | | | | | | | | BUG=138333 TEST=Ran new unittest Review URL: https://chromiumcodereview.appspot.com/10826026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155352 0039d316-1c4b-4281-b951-d872f2087c98
* Add TCP, UDP, and HostResolver proxies to NaCl IPC IRT build.bbudge@chromium.org2012-09-041-1/+11
| | | | | | | | | BUG=116317 TEST=none Review URL: https://chromiumcodereview.appspot.com/10916040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154816 0039d316-1c4b-4281-b951-d872f2087c98
* AllowBroadcast() is exposed to NaCl.ygorshenin@chromium.org2012-08-311-1/+7
| | | | | | | | | BUG=136797 TEST=browser_tests:*.UDPSocketPrivate Review URL: https://chromiumcodereview.appspot.com/10735056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154407 0039d316-1c4b-4281-b951-d872f2087c98
* Change NaCl IPC PPAPI proxy startup to support a NaCl-Browser processbbudge@chromium.org2012-08-301-0/+8
| | | | | | | | | | | | | | | channel. NaClProcessHost now creates an initial NaCl-Browser channel, then uses it to send a message to create the NaCl-Renderer channel. The main() for the IPC-IRT creates a PpapiDispatcher object to manage this channel and manage the PluginDispatchers for each renderer. BUG=116317 TEST=manual TBR=bbudge@chromium.org Review URL: https://chromiumcodereview.appspot.com/10912011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154231 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154134 - Change NaCl IPC PPAPI proxy startup to support a ↵bbudge@chromium.org2012-08-301-8/+0
| | | | | | | | | | | | | | | | | | | | | NaCl-Browser process channel. This fails to build on cros_daisy because of OVERRIDE. NaClProcessHost now creates an initial NaCl-Browser channel, then uses it to send a message to create the NaCl-Renderer channel. The main() for the IPC-IRT creates a PpapiDispatcher object to manage this channel and manage the PluginDispatchers for each renderer. BUG=116317 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10883047 TBR=bbudge@chromium.org Review URL: https://chromiumcodereview.appspot.com/10913007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154141 0039d316-1c4b-4281-b951-d872f2087c98
* Change NaCl IPC PPAPI proxy startup to support a NaCl-Browser processbbudge@chromium.org2012-08-301-0/+8
| | | | | | | | | | | | | | channel. NaClProcessHost now creates an initial NaCl-Browser channel, then uses it to send a message to create the NaCl-Renderer channel. The main() for the IPC-IRT creates a PpapiDispatcher object to manage this channel and manage the PluginDispatchers for each renderer. BUG=116317 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10883047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154134 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generallydmichael@chromium.org2012-08-271-24/+22
| | | | | | | | | | | | | | | | | This does a couple of things: - It defines a new wrapper for passing any kind of handle through the PPAPI proxy (SerializedHandle). - It updates nacl_ipc_adapter to have a more general way to pick apart messages based on their static types (which include the types of all the params). - It adds support for PPB_Graphics2D and PPB_Graphics3D to the NaCl IPC proxy (e.g., NaCl SDK examples pi_generator and tumbler work in the new proxy with this patch). The downside is it requires pulling parts of ppapi/shared_impl and ppapi/proxy in to the NaCl Win64 build. BUG=116317 TEST= Review URL: https://chromiumcodereview.appspot.com/10828023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153531 0039d316-1c4b-4281-b951-d872f2087c98
* Add a skeleton gamepad resource.brettw@chromium.org2012-08-241-0/+6
| | | | | | | | | | | | This implements the skeleton of the gamepad resource for the IPC proxy. It is not actually hooked up. Hooking it up will require moving some gamepad lock code to a shared location. This also hooks up the browser message routing for implementing resource hosts in the browser process. BUG= Review URL: https://chromiumcodereview.appspot.com/10824272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153265 0039d316-1c4b-4281-b951-d872f2087c98
* Cache image data objects.brettw@chromium.org2012-08-221-0/+4
| | | | | | | | | | This will re-use ImageData and mapped memory when you do ReplaceContents within a few seconds of doing a previous one. Hopefully this will speed up 2D painting. BUG=142507 Review URL: https://chromiumcodereview.appspot.com/10823378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152792 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the PPAPI CDM interface to pass more info.tomfinegan@chromium.org2012-08-221-8/+9
| | | | | | | | | | | | | | | | | | | Builds on interface work done by xhwang in issue 10857027. Add init_data argument to AddKey. Change the PPP Decrypt methods to take PP_EncryptedBlockInfo structs instead of simple integer identifiers. Change the PPB delivery methods to take PP_DecryptedBlockInfo structs instead of simple integer identifiers. Update the proxy code accordingly. BUG=138139 TEST=none Review URL: https://chromiumcodereview.appspot.com/10854209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152724 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI decryptor implementation.tomfinegan@chromium.org2012-08-171-0/+65
| | | | | | | | | | BUG=138139 TEST=none Review URL: https://chromiumcodereview.appspot.com/10827280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152004 0039d316-1c4b-4281-b951-d872f2087c98
* Add gpu targets to untrusted build, and add Graphics3D code to untrusted build.bbudge@chromium.org2012-08-071-2/+0
| | | | | | | | | | BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds all code needed for 3d and OpenGL ES. Review URL: https://chromiumcodereview.appspot.com/10837145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150432 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 150343 - Add gpu targets to untrusted build, and add Graphics3D code ↵bbudge@chromium.org2012-08-071-0/+2
| | | | | | | | | | | | | | | to untrusted build. BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds and runs the tumbler example. Review URL: https://chromiumcodereview.appspot.com/10796038 TBR=bbudge@chromium.org Review URL: https://chromiumcodereview.appspot.com/10830197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150345 0039d316-1c4b-4281-b951-d872f2087c98
* Add gpu targets to untrusted build, and add Graphics3D code to untrusted build.bbudge@chromium.org2012-08-071-2/+0
| | | | | | | | | | BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds and runs the tumbler example. Review URL: https://chromiumcodereview.appspot.com/10796038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150343 0039d316-1c4b-4281-b951-d872f2087c98
* Add PP_FlashLSORestrictions to the list of settings supported by the ↵bauerb@chromium.org2012-08-021-0/+6
| | | | | | | | | | Flash_GetSetting Pepper API. BUG=132410 Review URL: https://chromiumcodereview.appspot.com/10831045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149711 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetSitesWithData and FreeSiteList methods to PPP_Flash_BrowserOperations ↵bauerb@chromium.org2012-07-271-2/+14
| | | | | | | | | | | | interface and hook them up in PepperFlashSettingsManager. BUG=132409 TEST=none Review URL: https://chromiumcodereview.appspot.com/10825018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148839 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI/NaCl: Make ImageData for NaCl just use shared memorydmichael@chromium.org2012-07-251-0/+8
| | | | | | | | | | | BUG=116317 TEST= TBR=ben@chromium.org ben for ui/gfx OWNERS Review URL: https://chromiumcodereview.appspot.com/10790063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148427 0039d316-1c4b-4281-b951-d872f2087c98
* This implements the PPB_FileChooser resource as a new-style IPC-only resource.brettw@chromium.org2012-07-141-19/+13
| | | | | | | | Note that the new file name is file_chooser_resource in the proxy. I decided to drop the ppb_ prefix for the "new-style" files to help differentiate them, and also because it's technically wrong. PPB is an interface, and a resource "object" may support multiple interfaces. I think FooResource is easier to type and read. Review URL: https://chromiumcodereview.appspot.com/10544089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146737 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Add an API for setting a custom user agent for URL requests.viettrungluu@chromium.org2012-07-101-0/+2
| | | | | | | | | | | | | This doesn't hook it up yet. Pepper Flash needs this for RTMPT. BUG=134615 TEST=not really (except for trivial URL request test) Review URL: https://chromiumcodereview.appspot.com/10762017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145885 0039d316-1c4b-4281-b951-d872f2087c98
* Implement HiDPI support in Pepper dev interfacejhorwich@chromium.org2012-06-281-0/+5
| | | | | | | | | | | | | | | | | | | This patch requires WebKit patch https://bugs.webkit.org/show_bug.cgi?id=87874 (WebKit r121364) Expose device_scale_factor and css_scale_factor to Pepper plugins via a dev interface on View resource. Allow Pepper plugins to create a 2D graphics context with a scale factor so the plugins can render at device resolution rather than DIPs if they want. BUG=114673 TEST=browser_tests --gtest_filter="PPAPITest.*" TEST=browser_tests --gtest_filter="OutOfProcessPPAPITest.*" TEST=Build, run existing PPAPI plugin at 2x scale TEST=Build, run test HiDPI aware plugin to render at device rez, at 1x, 2x scale Review URL: https://chromiumcodereview.appspot.com/10544168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144773 0039d316-1c4b-4281-b951-d872f2087c98
* ppapi: Add support for touch events.sadrul@chromium.org2012-06-211-0/+11
| | | | | | | | | | | The corresponding webkit side patch is at https://bugs.webkit.org/show_bug.cgi?id=89089 BUG=128236 TEST=manually, using the browser-plugin Review URL: https://chromiumcodereview.appspot.com/10543159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143486 0039d316-1c4b-4281-b951-d872f2087c98
* Add resource message call and reply infrastructure.brettw@chromium.org2012-06-211-0/+38
| | | | | | | | | | | | These messages are not yet used. They will allow us to route messages directly to a resource implementation in the proxy or the host using information in a common header. The actual content of the message (as interpreted by the specifi resource in the plugin or class in the host) is a nested message. TEST=none BUT=none Review URL: https://chromiumcodereview.appspot.com/10560030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143463 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 143294 - Provides a real implementation of GetDefaultPrintSettings.raymes@google.com2012-06-211-1/+2
| | | | | | | | | | | | | | | | | Reverting due to: http://code.google.com/p/chromium/issues/detail?id=133972 This accesses the Chrome printing code to determine the default print settings for the default printer. Ideally we would query these settings every time they are requested, however this cannot be done (see the description in pepper_print_settings_initializer.h). Instead the settings are grabbed once at startup and cached. BUG= TEST=Added ppapi test. Review URL: https://chromiumcodereview.appspot.com/10539171 TBR=raymes@chromium.org Review URL: https://chromiumcodereview.appspot.com/10633008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143409 0039d316-1c4b-4281-b951-d872f2087c98
* Provides a real implementation of GetDefaultPrintSettings.raymes@chromium.org2012-06-201-2/+1
| | | | | | | | | | | | This accesses the Chrome printing code to determine the default print settings for the default printer. Ideally we would query these settings every time they are requested, however this cannot be done (see the description in pepper_print_settings_initializer.h). Instead the settings are grabbed once at startup and cached. BUG= TEST=Added ppapi test. Review URL: https://chromiumcodereview.appspot.com/10539171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143294 0039d316-1c4b-4281-b951-d872f2087c98
* Let flash query the number of CPU cores present.tsepez@chromium.org2012-06-181-0/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10533163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142830 0039d316-1c4b-4281-b951-d872f2087c98
* Add untrusted NaCl build for PPAPI proxy.bbudge@chromium.org2012-06-161-0/+2
| | | | | | | | | | This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy. BUG=116317 TEST=compiles, runs HelloWorld and GetURL SDK examples. Review URL: https://chromiumcodereview.appspot.com/10565015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142540 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142482 - Add untrusted NaCl build for PPAPI proxy.bbudge@chromium.org2012-06-151-2/+0
| | | | | | | | | | | | | This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy. BUG=116317 TEST=compiles, runs HelloWorld and GetURL SDK examples. Review URL: https://chromiumcodereview.appspot.com/10546140 TBR=bbudge@chromium.org Review URL: https://chromiumcodereview.appspot.com/10565012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142494 0039d316-1c4b-4281-b951-d872f2087c98
* Add untrusted NaCl build for PPAPI proxy.bbudge@chromium.org2012-06-151-0/+2
| | | | | | | | | | This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy. BUG=116317 TEST=compiles, runs HelloWorld and GetURL SDK examples. Review URL: https://chromiumcodereview.appspot.com/10546140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142482 0039d316-1c4b-4281-b951-d872f2087c98
* This returns the default print settings for the default printer. Currently ↵raymes@chromium.org2012-06-141-0/+18
| | | | | | | | | | | | this just returns some generic values until it is hooked up to the chrome printing code. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10544085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142232 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Pepper Flash settings integration - camera and microphone.yzshen@chromium.org2012-06-121-0/+36
| | | | | | | | | | | | The original code review: http://codereview.chromium.org/10479015/ TBR=csilv@chromium.org, brettw@chromium.org BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10541108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141665 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141482 - Pepper Flash settings integration - camera and microphone.yzshen@chromium.org2012-06-111-36/+0
| | | | | | | | | | | | BUG=112190 TEST=None Review URL: https://chromiumcodereview.appspot.com/10479015 TBR=yzshen@chromium.org Review URL: https://chromiumcodereview.appspot.com/10536103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141492 0039d316-1c4b-4281-b951-d872f2087c98