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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 // number in |ranges_|. The hack is in PrintEnd(), where a valid |canvas_| | 740 // number in |ranges_|. The hack is in PrintEnd(), where a valid |canvas_| |
741 // is preserved in PrintWebViewHelper::PrintPages. This makes it possible | 741 // is preserved in PrintWebViewHelper::PrintPages. This makes it possible |
742 // to generate the entire PDF given the variables below: | 742 // to generate the entire PDF given the variables below: |
743 // | 743 // |
744 // The most recently used WebCanvas, guaranteed to be valid. | 744 // The most recently used WebCanvas, guaranteed to be valid. |
745 skia::RefPtr<blink::WebCanvas> canvas_; | 745 skia::RefPtr<blink::WebCanvas> canvas_; |
746 // An array of page ranges. | 746 // An array of page ranges. |
747 std::vector<PP_PrintPageNumberRange_Dev> ranges_; | 747 std::vector<PP_PrintPageNumberRange_Dev> ranges_; |
748 | 748 |
749 scoped_refptr<ppapi::Resource> gamepad_impl_; | 749 scoped_refptr<ppapi::Resource> gamepad_impl_; |
| 750 scoped_refptr<ppapi::Resource> uma_private_impl_; |
750 | 751 |
751 // The plugin print interface. | 752 // The plugin print interface. |
752 const PPP_Printing_Dev* plugin_print_interface_; | 753 const PPP_Printing_Dev* plugin_print_interface_; |
753 | 754 |
754 // The plugin 3D interface. | 755 // The plugin 3D interface. |
755 const PPP_Graphics3D* plugin_graphics_3d_interface_; | 756 const PPP_Graphics3D* plugin_graphics_3d_interface_; |
756 | 757 |
757 // Contains the cursor if it's set by the plugin. | 758 // Contains the cursor if it's set by the plugin. |
758 scoped_ptr<blink::WebCursorInfo> cursor_; | 759 scoped_ptr<blink::WebCursorInfo> cursor_; |
759 | 760 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 864 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
864 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 865 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
865 | 866 |
866 friend class PpapiPluginInstanceTest; | 867 friend class PpapiPluginInstanceTest; |
867 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 868 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
868 }; | 869 }; |
869 | 870 |
870 } // namespace content | 871 } // namespace content |
871 | 872 |
872 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 873 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |