OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // number in |ranges_|. The hack is in PrintEnd(), where a valid |canvas_| | 744 // number in |ranges_|. The hack is in PrintEnd(), where a valid |canvas_| |
745 // is preserved in PrintWebViewHelper::PrintPages. This makes it possible | 745 // is preserved in PrintWebViewHelper::PrintPages. This makes it possible |
746 // to generate the entire PDF given the variables below: | 746 // to generate the entire PDF given the variables below: |
747 // | 747 // |
748 // The most recently used WebCanvas, guaranteed to be valid. | 748 // The most recently used WebCanvas, guaranteed to be valid. |
749 skia::RefPtr<blink::WebCanvas> canvas_; | 749 skia::RefPtr<blink::WebCanvas> canvas_; |
750 // An array of page ranges. | 750 // An array of page ranges. |
751 std::vector<PP_PrintPageNumberRange_Dev> ranges_; | 751 std::vector<PP_PrintPageNumberRange_Dev> ranges_; |
752 | 752 |
753 scoped_refptr<ppapi::Resource> gamepad_impl_; | 753 scoped_refptr<ppapi::Resource> gamepad_impl_; |
| 754 scoped_refptr<ppapi::Resource> uma_private_impl_; |
754 | 755 |
755 // The plugin print interface. | 756 // The plugin print interface. |
756 const PPP_Printing_Dev* plugin_print_interface_; | 757 const PPP_Printing_Dev* plugin_print_interface_; |
757 | 758 |
758 // The plugin 3D interface. | 759 // The plugin 3D interface. |
759 const PPP_Graphics3D* plugin_graphics_3d_interface_; | 760 const PPP_Graphics3D* plugin_graphics_3d_interface_; |
760 | 761 |
761 // Contains the cursor if it's set by the plugin. | 762 // Contains the cursor if it's set by the plugin. |
762 scoped_ptr<blink::WebCursorInfo> cursor_; | 763 scoped_ptr<blink::WebCursorInfo> cursor_; |
763 | 764 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 871 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
871 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 872 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
872 | 873 |
873 friend class PpapiPluginInstanceTest; | 874 friend class PpapiPluginInstanceTest; |
874 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 875 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
875 }; | 876 }; |
876 | 877 |
877 } // namespace content | 878 } // namespace content |
878 | 879 |
879 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 880 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |