summaryrefslogtreecommitdiffstats
path: root/ppapi/api
Commit message (Collapse)AuthorAgeFilesLines
* Update PPB_VideoDecoder documentation.bbudge@chromium.org2014-05-211-15/+27
| | | | | | | | | | | | The Decode function should not require the plugin to maintain its buffer when it completes asynchronously. BUG=281689 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/291083003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271917 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Manifest refactoring in trusted plugin.teravest@chromium.org2014-05-201-4/+1
| | | | | | | | | | | | | This lifts more manifest processing code out of the trusted plugin. Specifically, instead of the trusted plugin receiving a PP_Var with the contents of the manifest and making another method to create the manifest id, the trusted plugin now simply receives the manifest ID directly. BUG=239656 Review URL: https://codereview.chromium.org/287153006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271719 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Nexe downloading out of the trusted plugin.teravest@chromium.org2014-05-161-13/+7
| | | | | | | | | | | | | | | | This moves the logic for nexe downloading outside the trusted plugin. This is part of a series of changes to remove FileDownloader and its associated logic. I've tried to make this change small so it will be easy to review. A followup change will clean up some of the accounting logic post-download to make this path simpler and easier to follow. BUG=370556 R=bbudge@chromium.org Review URL: https://codereview.chromium.org/276423003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271090 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Simplify manifest download logic.teravest@chromium.org2014-05-161-13/+4
| | | | | | | | | | | | | | | | This cleans up some of the trusted plugin logic for requesting a NaCl manifest and removes some interfaces in PPB_NaCl_Private, providing better encapsulation. This code is easier to follow after this change, as well, since more of the logic is unified in ppb_nacl_private_impl.cc. This is part of a larger effort to remove the trusted plugin. BUG=239656 Review URL: https://codereview.chromium.org/288773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270887 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Simplify LaunchSelLdr error reporting.teravest@chromium.org2014-05-131-1/+1
| | | | | | | | | | | | | | | This moves error reporting for LaunchSelLdr out of the trusted plugin, removing the need for a callback in ServiceRuntime to unpack the error string and report it. This is part of a larger effort to move all code out of the trusted plugin. BUG=239656 R=bbudge@chromium.org Review URL: https://codereview.chromium.org/282683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270140 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Miscellaneous trusted plugin cleanup.teravest@chromium.org2014-05-131-4/+1
| | | | | | | | | | | This does some small cleanup of a bunch of little things without any logic changes. BUG=239656 Review URL: https://codereview.chromium.org/270863006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270010 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move DoPostMessage out of trusted plugin.teravest@chromium.org2014-05-101-0/+6
| | | | | | | | | | | | | | | This is the first effort at moving some of the ReverseService logic out of the trusted plugin. I'd like to move these over soon since the tangled callback is pretty nasty, and hidehiko@ has run into the ugliness while adding features for Bare Metal Mode. This one is pretty easy since it's stateless. BUG=239656 Review URL: https://codereview.chromium.org/268793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269480 0039d316-1c4b-4281-b951-d872f2087c98
* PNaCl translator: teach Chrome to send CPU features to the compilerjfb@chromium.org2014-05-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | The PNaCl compiler used to assume SSE2 and no more, this is very suboptimial when dealing with SIMD, which is newly supported by PNaCl. This implementation only detects the basic CPU features that Chrome's base/cpu.h knows about, and passes along that information to the PNaCl translator so that it may compile using the features. It also doesn't pass AVX and later as features since those aren't currently supported by the NaCl sandbox. The extra flags are also passed to the cache, so that a user can swap in a different CPU and get the expected retranslation. This work could also teach PNaCl about other CPU features such as popcnt or idiv/udiv on ARM, but is restricted to x86 SIMD for now since that's what base/cpu.h supports. R= dschuff@chromium.org, jvoung@chromium.org, nfullagar@chromium.org TEST= ./out/Release/browser_tests --gtest_filter=NaClBrowserTestPnacl.*:PPAPINaClPNaClTest.*:NaClBrowserTestPnacl.* BUG= https://code.google.com/p/nativeclient/issues/detail?id=2205 Review URL: https://codereview.chromium.org/265933008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268761 0039d316-1c4b-4281-b951-d872f2087c98
* Adds IDL for enums and structs for encoding/decoding.bbudge@chromium.org2014-05-062-0/+259
| | | | | | | | | | | | Adds IDL for PPB_VideoDecoder. Adds C++ wrappers and generated files. BUG=281689 R=binji@chromium.org, dmichael@chromium.org, igorc@chromium.org Review URL: https://codereview.chromium.org/210373003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268618 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove file_utils from trusted plugin.teravest@chromium.org2014-05-061-0/+8
| | | | | | | | | | | | | This change moves some file reading and JSON parsing for pnacl resource info outside the trusted plugin. This allows us to remove file_utils entirely from the trusted plugin. BUG=239656 R=bbudge@chromium.org Review URL: https://codereview.chromium.org/261143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268578 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move manifest logic to components/nacl.teravest@chromium.org2014-05-061-0/+21
| | | | | | | | | | | | | | | The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. BUG=353592 R=bbudge@chromium.org, mallinath@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268280 Review URL: https://codereview.chromium.org/264943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268535 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Add media stream video track output APIronghuawu@chromium.org2014-05-051-1/+33
| | | | | | | | | | Implemented the pepper host for the output mode. R=bbudge@chromium.org, dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/145263008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268318 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 268280 "Pepper: Move manifest logic to components/nacl."miu@chromium.org2014-05-051-21/+0
| | | | | | | | | | | | | | | | | | | | | | | Caused build breakage because static initializer was added to ppb_nacl_private_impl.cc. Candidate (line 96): + const int32_t kPNaClManifestId = std::numeric_limits<int32_t>::max(); > Pepper: Move manifest logic to components/nacl. > > The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. > > BUG=353592 > R=bbudge@chromium.org, mallinath@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250 > > Review URL: https://codereview.chromium.org/264943003 TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/265393004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268295 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move manifest logic to components/nacl.teravest@chromium.org2014-05-051-0/+21
| | | | | | | | | | | | | The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. BUG=353592 R=bbudge@chromium.org, mallinath@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250 Review URL: https://codereview.chromium.org/264943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268280 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 268250 "Pepper: Move manifest logic to components/nacl."miu@chromium.org2014-05-051-21/+0
| | | | | | | | | | | | | | | | | | | | | The change added a static initializer, breaking the build: ppb_nacl_private_impl.cc nacl::(anonymous namespace)::kPNaClManifestId > Pepper: Move manifest logic to components/nacl. > > The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. > > BUG=353592 > R=bbudge@chromium.org, mallinath@chromium.org > > Review URL: https://codereview.chromium.org/264943003 R=teravest@chromium.org TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/264143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268267 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move manifest logic to components/nacl.teravest@chromium.org2014-05-051-0/+21
| | | | | | | | | | | The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. BUG=353592 R=bbudge@chromium.org, mallinath@chromium.org Review URL: https://codereview.chromium.org/264943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268250 0039d316-1c4b-4281-b951-d872f2087c98
* Implement open_resource in non-SFI mode.hidehiko@chromium.org2014-05-021-2/+14
| | | | | | | | | | | | | | | | This CL implements open_resource() in non-SFI mode. 1) Introduced a new sync message PpapiHostMsg_OpenResource and its handlers. 2) Implement async version of OpenManifestEntry. As IPC's handler is called on renderer's main thread, otherwise it causes deadlock. TEST=Run trybots. BUG=358431 Review URL: https://codereview.chromium.org/249183004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267962 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move nmf downloading out of trusted plugin.teravest@chromium.org2014-05-011-0/+8
| | | | | | | | | | | | | | | | | This change moves NMF downloading for non-data URLs outside the trusted plugin (data URLs were moved in a previous change). This is another step to removing all dependencies on FileDownloader in the trusted plugin. It's difficult to reuse the URLLoaderHost code from components/nacl (since URLLoaderHost is not in content/public), so this change uses WebURLLoader directly. TBR=dglazkov BUG=239656 Review URL: https://codereview.chromium.org/251383005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267660 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Ext_Socket_Dev.yzshen@chromium.org2014-04-301-542/+0
| | | | | | | | | BUG=366304,244653,312916,314899 TEST=None Review URL: https://codereview.chromium.org/252923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267348 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove PPB_NaCl_Private GetUrlScheme().teravest@chromium.org2014-04-301-3/+0
| | | | | | | | | | | | | This is part of a larger effort to get rid of the trusted plugin (code under ppapi/native_client/src/trusted/plugin). This pulls more code into the renderer while preserving the current behavior. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/259073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267310 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move attributes out of the trusted plugin.teravest@chromium.org2014-04-241-2/+11
| | | | | | | | | | | | | | | This moves attribute parsing and storage out of the trusted plugin. There's some additional cleanup in here as well: * Unused fields in Plugin are removed. * Stale/unhelpful comments are dropped in the move. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/249083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265964 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ManifestService::StartupInitializationComplete().hidehiko@chromium.org2014-04-231-0/+17
| | | | | | | | | | | | | | | | | | | | This CL introduces StartupInitializationComplete() message between a plugin and the renderer, focusing on non-SFI mode. Currently PluginReverseInterface::StartupInitializationComplete() is called directly in ServiceRuntime::InitReverseService in non-SFI mode. However, it is too early. Since it blocks the renderer's main thread by sync PPAPI IPC message, when we support the open_resource() for non-SFI mode, it would cause a deadlock issue. This CL delays the invocation of StartupInitializationComplete until when PPAPI IPC channel is ready in plugin side to follow NaCl's manner in SFI-mode. TBR=jln@chromium.org TEST=Ran browser_tests --gtest_filter=*NonSfi* locally, and ran trybots. BUG=358431 Review URL: https://codereview.chromium.org/238353016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265611 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move some manifest processing for refactor.teravest@chromium.org2014-04-221-8/+7
| | | | | | | | | | | This moves some of the manifest processing logic outside the trusted plugin. This reduces the number of things we need to expose in PPB_NaCl_Private. BUG=239656 Review URL: https://codereview.chromium.org/243353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265394 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove FileDownloader DOWNLOAD_TO_BUFFER.teravest@chromium.org2014-04-211-0/+2
| | | | | | | | | | | | | | | The semantics for downloading a NaCl manifest specified for a data URL are pretty simple. This change adds an interface to parse a data URL to PPB_NaCl_Private, and uses that instead of FileDownloader, simplifying that class. R=dmichael@chromium.org TBR=eroman BUG=239656 Review URL: https://codereview.chromium.org/242803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264999 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move URL resolves outside trusted plugin.teravest@chromium.org2014-04-181-5/+11
| | | | | | | | | | | | | | | | This moves plugin_base_url and manifest_base_url outside the trusted plugin, pulling more state over to NexeLoadManager. I had hoped to clean up SetIsInstalled() as part of this change, but we don't have precise semantics for what is_installed means (yet), so I can't change how that behaves. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/241173006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264807 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move PnaclOptions outside trusted plugin.teravest@chromium.org2014-04-171-0/+6
| | | | | | | | | | | | | | I ran into this while moving the Manifest code out of the trusted plugin and figured this was big enough to stand on its own. We have to create a PP_PNaClOptions struct instead of PnaclOptions so that the objects of that type can be passed to functions in PPB_NaCl_Private. BUG=239656 Review URL: https://codereview.chromium.org/235983020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264365 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move time logic out of the trusted plugin.teravest@chromium.org2014-04-151-4/+3
| | | | | | | | | | | This moves more of the time values stored for UMA histograms out of the trusted plugin code at ppapi/native_client to components/nacl/renderer. BUG=239656 Review URL: https://codereview.chromium.org/236363009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263954 0039d316-1c4b-4281-b951-d872f2087c98
* Encrypted Media: Support VP9 playback.xhwang@chromium.org2014-04-111-2/+3
| | | | | | | | | | | | Also adds a browser test with encrypted VP9 video. The test video file is checked in a separate CL. IsTypeSupported() doesn't work with VP9 yet, which will be fixed in a followup CL. BUG=361318 Review URL: https://codereview.chromium.org/234813008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263407 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Remove NaClHttpResponseHeaders.teravest@chromium.org2014-04-111-14/+9
| | | | | | | | | | | This change moves HTTP response header parsing to Chromium, removing the need for having this logic in ppapi/native_client. BUG=239656 Review URL: https://codereview.chromium.org/227913008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263168 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Update pp_var.h documentation for Resource vars.dmichael@chromium.org2014-04-102-17/+34
| | | | | | | | | BUG=361215 R=raymes@chromium.org Review URL: https://codereview.chromium.org/229033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263135 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Move some of NexeFileDidOpen to NexeLoadManagerdmichael@chromium.org2014-04-101-0/+12
| | | | | | | | | | | | This also tickled a bug in the generator because I named a variable with "http". Which made the generator tests run on presubmit. Which tickled a bug in the tests :-). So those are fixed here as an aside. BUG=239656 Review URL: https://codereview.chromium.org/231243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263073 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Fix comments for PPB and PPP InputEvent.teravest@chromium.org2014-04-102-9/+7
| | | | | | | | | | | | | | | | | | | | The comments provided in PPB_InputEvent and PPP_InputEvent incorrectly describe how handled events are delivered to handlers in web pages. When a plugin handles an event, the event is not "bubbled" to any default handlers. However, any listeners in a web page run before the event reaches the plugin, so the plugin can't prevent any listeners from getting the event. An attempt to make the implementation match the specification broke existing plugins, so the only reasonable approach is to make the comments match the behavior. BUG=324352 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/228653006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263034 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move some reporting into StartPpapiProxy.teravest@chromium.org2014-04-081-7/+12
| | | | | | | | | | | Now that we're doing more error reporting and histogramming in NexeLoadManager, we can move some of that type of logic into PPB_NaCl_Private.StartPpapiProxy. BUG=239656 Review URL: https://codereview.chromium.org/226593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262433 0039d316-1c4b-4281-b951-d872f2087c98
* Use VLOG instead of vfprintf in PLUGIN_PRINTF.teravest@chromium.org2014-04-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The trusted plugin refactor will move code from ppapi/native_client to components/nacl/renderer. For consistency with the rest of Chrome, the refactored code will use VLOG intead of PLUGIN_PRINTF. However, moving log statements over piecemeal will make debugging difficult as multiple logfiles would need to be consulted when debugging. Instead, this changes the internals of PLUGIN_PRINTF to call VLOG instead of vfprintf for logging. Any users who wish to see these debug statements must then pass one of the following additional flags to Chrome: "--v=1" or "--vmodule=components/nacl/renderer*=1" in addition to setting NACL_PLUGIN_DEBUG. This change removes any effects of the environment variable "NACL_PLUGIN_LOG". Once this change is submitted, I'll update any NaCl debugging documentation as appropriate. Note that this change may introduce allocations on the logging path. I think it should be unlikely that PLUGIN_PRINTF will receive inputs larger than 512 characters, but truncating the output is worse than heap allocations. BUG=239656 Review URL: https://codereview.chromium.org/224933006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262150 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move NexeDidCrash() to NexeLoadManager.teravest@chromium.org2014-04-051-11/+4
| | | | | | | | | | | | | | | | | | This change pulls more code out of ppapi/native_client to compnents/nacl/renderer. GetReadyTime() is removed from PPB_NaCl_Private here to simplify time management. I don't want to mix time math from Chrome and NaCl, so plugin.cc uses its own ready_time_ for some operations again, and SetReadyTime() stashes the current value of base::Time::Now in NexeLoadManager. BUG=239656 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261820 Review URL: https://codereview.chromium.org/216103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261978 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 261820 "Pepper: Move NexeDidCrash() to NexeLoadManager."scottmg@chromium.org2014-04-041-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Potentially causing failures (?) http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20Tests%20%28sandboxed%29/builds/509/steps/browser_tests/logs/BadNative [18,1263494912:20:15:11.094751] NaClAppRuntimeHostSetup: too late [18,1263494912:20:15:11.094843] NaClAppDescQuotaSetup: too late [18,1267164928:20:15:11.095246] NaClAppStartModule: error loading module [18,1267164928:20:15:11.095918] reap logs POST-ABORT: LOG_FATAL abort exit > Pepper: Move NexeDidCrash() to NexeLoadManager. > > This change pulls more code out of ppapi/native_client to > compnents/nacl/renderer. > > GetReadyTime() is removed from PPB_NaCl_Private here to simplify time > management. I don't want to mix time math from Chrome and NaCl, so plugin.cc > uses its own ready_time_ for some operations again, and SetReadyTime() stashes > the current value of base::Time::Now in NexeLoadManager. > > BUG=239656 > > Review URL: https://codereview.chromium.org/216103003 TBR=teravest@chromium.org, tommycli@chromium.org Review URL: https://codereview.chromium.org/226343004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261860 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move NexeDidCrash() to NexeLoadManager.teravest@chromium.org2014-04-041-11/+4
| | | | | | | | | | | | | | | | This change pulls more code out of ppapi/native_client to compnents/nacl/renderer. GetReadyTime() is removed from PPB_NaCl_Private here to simplify time management. I don't want to mix time math from Chrome and NaCl, so plugin.cc uses its own ready_time_ for some operations again, and SetReadyTime() stashes the current value of base::Time::Now in NexeLoadManager. BUG=239656 Review URL: https://codereview.chromium.org/216103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261820 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move exit_status to NexeLoadManager.teravest@chromium.org2014-04-031-7/+7
| | | | | | | | | | | This allows us to take SetReadOnlyProperty out of PPB_NaCl_Private. Hooray. BUG=236959 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/222203003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261447 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused PPB_Graphics2D_Dev interfaceraymes@google.com2014-04-031-96/+0
| | | | | | | | | | | This may be revived later to implement fast PDF scrolling but that's too far out so get rid of it for the time being. BUG=303491 R=jschuh@chromium.org, piman@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/216213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261242 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: LoadAbort and DeadNexe out of plugin.cc.teravest@chromium.org2014-04-021-4/+14
| | | | | | | | | | | | This moves more error reporting function logic into NexeLoadManager from plugin.cc in the trusted plugin. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/219133006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261135 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move ReportLoadSuccess to PPB_NaCl_Private.teravest@chromium.org2014-03-311-0/+6
| | | | | | | | | BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/216673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260557 0039d316-1c4b-4281-b951-d872f2087c98
* Add a PPB_Find_Private function to set the tickmarks on the page.raymes@chromium.org2014-03-301-0/+9
| | | | | | | | | | | This adds a PPB_Find_Private function to set the tickmarks on the page. BUG=303491 TBR=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/195893044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260443 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Bring PPB_MediaStream*Track to stable.dmichael@chromium.org2014-03-294-6/+12
| | | | | | | | | | R=teravest@chromium.org TBR=binji BUG=330851,353717 Review URL: https://codereview.chromium.org/212023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260314 0039d316-1c4b-4281-b951-d872f2087c98
* Check NaCl debug mask (not just flag) before choosing PNaCl debug URL.jvoung@google.com2014-03-281-3/+3
| | | | | | | | | | | | That way, the debug URL is chosen only if the app will be debugged. BUG=http://code.google.com/p/nativeclient/issues/detail?id=3765 R=bradnelson@google.com, tsepez@chromium.org TBR=bradnelson@chromium.org, teravest@chromium.org Review URL: https://codereview.chromium.org/212103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260067 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move is_installed state to NexeLoadManager.teravest@chromium.org2014-03-271-2/+8
| | | | | | | | | | | | This will make it easier to move more code out of ppapi/native_client, especially UMA/Histogram support. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/214973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259989 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: More ReportLoadError logic in PPB_NaCl_Private.teravest@chromium.org2014-03-271-0/+26
| | | | | | | | | | | | | | | This moves more state from the trusted plugin in ppapi/native_client to components/nacl/renderer: nacl_ready_state_ and nexe_error_reported_. The primary motivation is so that all of the logic for ReportLoadError() happens in components/nacl. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/212813005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259888 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Find_Dev to PPB_Find_Privateraymes@chromium.org2014-03-262-10/+8
| | | | | | | | | | This makes PPB_Find_Dev a private API and renames it as such. There is no intention to make this a public API. BUG=303491 Review URL: https://codereview.chromium.org/197623005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259497 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI/NaCl: Define NexeLoadManager class.teravest@chromium.org2014-03-251-0/+3
| | | | | | | | | | | | | | | This adds an object that tracks the lifetime of the "Plugin" class in the trusted plugin. State is kept in this class as long as the plugin is alive, to make accounting much simpler for PPB_NaCl_Private. This is derived from https://codereview.chromium.org/180213006/ but adds a bugfix that initializes NexeLoadManager earlier. BUG=239656 Review URL: https://codereview.chromium.org/208913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259362 0039d316-1c4b-4281-b951-d872f2087c98
* Add IsCrashReportingEnabled call to Pepper UMA APIelijahtaylor@chromium.org2014-03-211-1/+11
| | | | | | | | | | This mirrors the existing metricsPrivate JS API. BUG=341130 Review URL: https://codereview.chromium.org/195793026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258702 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move AddToConsole() to PPB_NaCl_Private.teravest@chromium.org2014-03-201-0/+5
| | | | | | | | | BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/203373005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258417 0039d316-1c4b-4281-b951-d872f2087c98