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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
811 std::vector<PP_PrintPageNumberRange_Dev> ranges_; | 811 std::vector<PP_PrintPageNumberRange_Dev> ranges_; |
812 | 812 |
813 scoped_refptr<ppapi::Resource> gamepad_impl_; | 813 scoped_refptr<ppapi::Resource> gamepad_impl_; |
814 scoped_refptr<ppapi::Resource> uma_private_impl_; | 814 scoped_refptr<ppapi::Resource> uma_private_impl_; |
815 | 815 |
816 // The plugin print interface. | 816 // The plugin print interface. |
817 const PPP_Printing_Dev* plugin_print_interface_; | 817 const PPP_Printing_Dev* plugin_print_interface_; |
818 | 818 |
819 // The plugin 3D interface. | 819 // The plugin 3D interface. |
820 const PPP_Graphics3D* plugin_graphics_3d_interface_; | 820 const PPP_Graphics3D* plugin_graphics_3d_interface_; |
821 | |
ncarter (slow)
2016/04/14 17:37:36
Removal of this line seems like a mistake.
Łukasz Anforowicz
2016/04/14 19:34:48
Ooops, I am not sure how I managed to miss this in
| |
822 // Contains the cursor if it's set by the plugin. | 821 // Contains the cursor if it's set by the plugin. |
823 std::unique_ptr<blink::WebCursorInfo> cursor_; | 822 std::unique_ptr<blink::WebCursorInfo> cursor_; |
824 | 823 |
825 // Set to true if this plugin thinks it will always be on top. This allows us | 824 // Set to true if this plugin thinks it will always be on top. This allows us |
826 // to use a more optimized painting path in some cases. | 825 // to use a more optimized painting path in some cases. |
827 bool always_on_top_; | 826 bool always_on_top_; |
828 // Even if |always_on_top_| is true, the plugin is not fully visible if there | 827 // Even if |always_on_top_| is true, the plugin is not fully visible if there |
829 // are some cut-out areas (occupied by iframes higher in the stacking order). | 828 // are some cut-out areas (occupied by iframes higher in the stacking order). |
830 // This information is used in the optimized painting path. | 829 // This information is used in the optimized painting path. |
831 std::vector<gfx::Rect> cut_outs_rects_; | 830 std::vector<gfx::Rect> cut_outs_rects_; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
935 // view change events. | 934 // view change events. |
936 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 935 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
937 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 936 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
938 | 937 |
939 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 938 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
940 }; | 939 }; |
941 | 940 |
942 } // namespace content | 941 } // namespace content |
943 | 942 |
944 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 943 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |