| OLD | NEW |
| 1 // -*- c++ -*- | 1 // -*- c++ -*- |
| 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 // The portable representation of an instance and root scriptable object. | 6 // The portable representation of an instance and root scriptable object. |
| 7 // The PPAPI version of the plugin instantiates a subclass of this class. | 7 // The PPAPI version of the plugin instantiates a subclass of this class. |
| 8 | 8 |
| 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 class DescWrapperFactory; | 41 class DescWrapperFactory; |
| 42 } // namespace nacl | 42 } // namespace nacl |
| 43 | 43 |
| 44 namespace pp { | 44 namespace pp { |
| 45 class Find_Dev; | 45 class Find_Dev; |
| 46 class MouseLock; | 46 class MouseLock; |
| 47 class Printing_Dev; | 47 class Printing_Dev; |
| 48 class Selection_Dev; | 48 class Selection_Dev; |
| 49 class URLLoader; | 49 class URLLoader; |
| 50 class URLUtil_Dev; | 50 class URLUtil_Dev; |
| 51 class WidgetClient_Dev; | |
| 52 class Zoom_Dev; | 51 class Zoom_Dev; |
| 53 } | 52 } |
| 54 | 53 |
| 55 namespace ppapi_proxy { | 54 namespace ppapi_proxy { |
| 56 class BrowserPpp; | 55 class BrowserPpp; |
| 57 } | 56 } |
| 58 | 57 |
| 59 namespace plugin { | 58 namespace plugin { |
| 60 | 59 |
| 61 class ErrorInfo; | 60 class ErrorInfo; |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 495 |
| 497 // Pending progress events. | 496 // Pending progress events. |
| 498 std::queue<ProgressEvent*> progress_events_; | 497 std::queue<ProgressEvent*> progress_events_; |
| 499 | 498 |
| 500 // Adapter class constructors require a reference to 'this', so we can't | 499 // Adapter class constructors require a reference to 'this', so we can't |
| 501 // contain them directly. | 500 // contain them directly. |
| 502 nacl::scoped_ptr<pp::Find_Dev> find_adapter_; | 501 nacl::scoped_ptr<pp::Find_Dev> find_adapter_; |
| 503 nacl::scoped_ptr<pp::MouseLock> mouse_lock_adapter_; | 502 nacl::scoped_ptr<pp::MouseLock> mouse_lock_adapter_; |
| 504 nacl::scoped_ptr<pp::Printing_Dev> printing_adapter_; | 503 nacl::scoped_ptr<pp::Printing_Dev> printing_adapter_; |
| 505 nacl::scoped_ptr<pp::Selection_Dev> selection_adapter_; | 504 nacl::scoped_ptr<pp::Selection_Dev> selection_adapter_; |
| 506 nacl::scoped_ptr<pp::WidgetClient_Dev> widget_client_adapter_; | |
| 507 nacl::scoped_ptr<pp::Zoom_Dev> zoom_adapter_; | 505 nacl::scoped_ptr<pp::Zoom_Dev> zoom_adapter_; |
| 508 | 506 |
| 509 // Used for NexeFileDidOpenContinuation | 507 // Used for NexeFileDidOpenContinuation |
| 510 int64_t load_start_; | 508 int64_t load_start_; |
| 511 | 509 |
| 512 int64_t init_time_; | 510 int64_t init_time_; |
| 513 int64_t ready_time_; | 511 int64_t ready_time_; |
| 514 size_t nexe_size_; | 512 size_t nexe_size_; |
| 515 | 513 |
| 516 // Callback to receive .nexe and .dso download progress notifications. | 514 // Callback to receive .nexe and .dso download progress notifications. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 531 | 529 |
| 532 // Whether we are using IPC-based PPAPI proxy. | 530 // Whether we are using IPC-based PPAPI proxy. |
| 533 bool using_ipc_proxy_; | 531 bool using_ipc_proxy_; |
| 534 | 532 |
| 535 const PPB_NaCl_Private* nacl_interface_; | 533 const PPB_NaCl_Private* nacl_interface_; |
| 536 }; | 534 }; |
| 537 | 535 |
| 538 } // namespace plugin | 536 } // namespace plugin |
| 539 | 537 |
| 540 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 538 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| OLD | NEW |