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_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 RenderViewImpl* render_view_; | 129 RenderViewImpl* render_view_; |
130 WebKit::WebPluginContainer* container_; | 130 WebKit::WebPluginContainer* container_; |
131 scoped_ptr<BrowserPluginBindings> bindings_; | 131 scoped_ptr<BrowserPluginBindings> bindings_; |
132 scoped_ptr<BrowserPluginBackingStore> backing_store_; | 132 scoped_ptr<BrowserPluginBackingStore> backing_store_; |
133 TransportDIB* damage_buffer_; | 133 TransportDIB* damage_buffer_; |
134 gfx::Rect plugin_rect_; | 134 gfx::Rect plugin_rect_; |
135 // Bitmap for crashed plugin. Lazily initialized, non-owning pointer. | 135 // Bitmap for crashed plugin. Lazily initialized, non-owning pointer. |
136 SkBitmap* sad_guest_; | 136 SkBitmap* sad_guest_; |
137 bool guest_crashed_; | 137 bool guest_crashed_; |
138 bool resize_pending_; | 138 bool resize_pending_; |
139 long long parent_frame_; | 139 int64 parent_frame_; |
140 std::string src_; | 140 std::string src_; |
141 typedef std::vector<v8::Persistent<v8::Function> > EventListeners; | 141 typedef std::vector<v8::Persistent<v8::Function> > EventListeners; |
142 typedef std::map<std::string, EventListeners> EventListenerMap; | 142 typedef std::map<std::string, EventListeners> EventListenerMap; |
143 EventListenerMap event_listener_map_; | 143 EventListenerMap event_listener_map_; |
144 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 144 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
145 }; | 145 }; |
146 | 146 |
147 } // namespace content | 147 } // namespace content |
148 | 148 |
149 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 149 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
OLD | NEW |