Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: native_client_sdk/src/libraries/ppapi_simple/ps_instance.h

Issue 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/ppapi_simple/ps_instance.h
diff --git a/native_client_sdk/src/libraries/ppapi_simple/ps_instance.h b/native_client_sdk/src/libraries/ppapi_simple/ps_instance.h
index 48908b0b40b65b83e3bcc9b1f27ce80927427329..f2b52f7f17ed7e00ee3f816d89c929f44af0c017 100644
--- a/native_client_sdk/src/libraries/ppapi_simple/ps_instance.h
+++ b/native_client_sdk/src/libraries/ppapi_simple/ps_instance.h
@@ -154,11 +154,12 @@ class PSInstance : public pp::Instance, pp::MouseLock, pp::Graphics3DClient {
// Called by Init to processes default and embed tag arguments prior to
// launching the 'ppapi_main' thread.
virtual bool ProcessProperties();
+
private:
static void* MainThreadThunk(void *start_info);
ssize_t TtyOutputHandler(const char* buf, size_t count);
void MessageHandlerExit(const pp::Var& message);
- void MessageHandlerInput(const pp::Var& message);
+ void MessageHandlerInput(const pp::Var& target, const pp::Var& message);
binji 2014/05/01 20:22:31 "target" is called "key" in the definition below
Sam Clegg 2014/05/01 22:16:55 Done.
void MessageHandlerResize(const pp::Var& message);
void HandleResize(int width, int height);

Powered by Google App Engine
This is Rietveld 408576698