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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_instance.h

Issue 19717004: [NaCl SDK] Add nacl_io and sdk_util namespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad copyright in mount_mem Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_SIMPLE_PS_INSTANCE_H_ 5 #ifndef PPAPI_SIMPLE_PS_INSTANCE_H_
6 #define PPAPI_SIMPLE_PS_INSTANCE_H_ 6 #define PPAPI_SIMPLE_PS_INSTANCE_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <map> 9 #include <map>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // launching the 'ppapi_main' thread. 117 // launching the 'ppapi_main' thread.
118 virtual bool ProcessProperties(); 118 virtual bool ProcessProperties();
119 119
120 private: 120 private:
121 static void* MainThreadThunk(void *start_info); 121 static void* MainThreadThunk(void *start_info);
122 122
123 protected: 123 protected:
124 pp::MessageLoop* main_loop_; 124 pp::MessageLoop* main_loop_;
125 125
126 PropertyMap_t properties_; 126 PropertyMap_t properties_;
127 ThreadSafeQueue<PSEvent> event_queue_; 127 sdk_util::ThreadSafeQueue<PSEvent> event_queue_;
128 uint32_t events_enabled_; 128 uint32_t events_enabled_;
129 Verbosity verbosity_; 129 Verbosity verbosity_;
130 int fd_tty_; 130 int fd_tty_;
131 131
132 PSMainFunc_t main_cb_; 132 PSMainFunc_t main_cb_;
133 133
134 const PPB_Core* ppb_core_; 134 const PPB_Core* ppb_core_;
135 const PPB_Var* ppb_var_; 135 const PPB_Var* ppb_var_;
136 const PPB_View* ppb_view_; 136 const PPB_View* ppb_view_;
137
138 friend class PSGraphics3DClient;
139 friend class PSMouseLock;
140 }; 137 };
141 138
142 #endif // PPAPI_MAIN_PS_INSTANCE_H_ 139 #endif // PPAPI_MAIN_PS_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698