| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 SkBitmap* sad_guest_; | 180 SkBitmap* sad_guest_; |
| 181 bool guest_crashed_; | 181 bool guest_crashed_; |
| 182 bool resize_pending_; | 182 bool resize_pending_; |
| 183 scoped_ptr<BrowserPluginHostMsg_ResizeGuest_Params> pending_resize_params_; | 183 scoped_ptr<BrowserPluginHostMsg_ResizeGuest_Params> pending_resize_params_; |
| 184 // True if we have ever sent a NavigateGuest message to the embedder. | 184 // True if we have ever sent a NavigateGuest message to the embedder. |
| 185 bool navigate_src_sent_; | 185 bool navigate_src_sent_; |
| 186 std::string src_; | 186 std::string src_; |
| 187 int process_id_; | 187 int process_id_; |
| 188 std::string storage_partition_id_; | 188 std::string storage_partition_id_; |
| 189 bool persist_storage_; | 189 bool persist_storage_; |
| 190 bool visible_; |
| 190 typedef std::vector<v8::Persistent<v8::Function> > EventListeners; | 191 typedef std::vector<v8::Persistent<v8::Function> > EventListeners; |
| 191 typedef std::map<std::string, EventListeners> EventListenerMap; | 192 typedef std::map<std::string, EventListeners> EventListenerMap; |
| 192 EventListenerMap event_listener_map_; | 193 EventListenerMap event_listener_map_; |
| 193 #if defined(OS_WIN) | 194 #if defined(OS_WIN) |
| 194 base::SharedMemory shared_memory_; | 195 base::SharedMemory shared_memory_; |
| 195 #endif | 196 #endif |
| 196 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 197 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace content | 200 } // namespace content |
| 200 | 201 |
| 201 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 202 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
| OLD | NEW |