| OLD | NEW |
| 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 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 sdk_util::ThreadSafeQueue<PSEvent> event_queue_; | 178 sdk_util::ThreadSafeQueue<PSEvent> event_queue_; |
| 179 uint32_t events_enabled_; | 179 uint32_t events_enabled_; |
| 180 Verbosity verbosity_; | 180 Verbosity verbosity_; |
| 181 | 181 |
| 182 // TTY handling | 182 // TTY handling |
| 183 int tty_fd_; | 183 int tty_fd_; |
| 184 const char* tty_prefix_; | 184 const char* tty_prefix_; |
| 185 MessageHandlerMap message_handlers_; | 185 MessageHandlerMap message_handlers_; |
| 186 | 186 |
| 187 // A message to Post to JavaScript instead of exiting, or NULL if exit() |
| 188 // should be called instead. |
| 189 char* exit_message_; |
| 190 |
| 187 PSMainFunc_t main_cb_; | 191 PSMainFunc_t main_cb_; |
| 188 | 192 |
| 189 const PPB_Core* ppb_core_; | 193 const PPB_Core* ppb_core_; |
| 190 const PPB_Var* ppb_var_; | 194 const PPB_Var* ppb_var_; |
| 191 const PPB_View* ppb_view_; | 195 const PPB_View* ppb_view_; |
| 192 }; | 196 }; |
| 193 | 197 |
| 194 #endif // PPAPI_MAIN_PS_INSTANCE_H_ | 198 #endif // PPAPI_MAIN_PS_INSTANCE_H_ |
| OLD | NEW |