| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <list> | 9 #include <list> |
| 10 | 10 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 WebPlugin* plugin_; | 298 WebPlugin* plugin_; |
| 299 scoped_refptr<PluginInstance> instance_; | 299 scoped_refptr<PluginInstance> instance_; |
| 300 | 300 |
| 301 #if defined(OS_WIN) | 301 #if defined(OS_WIN) |
| 302 // Original wndproc before we subclassed. | 302 // Original wndproc before we subclassed. |
| 303 WNDPROC plugin_wnd_proc_; | 303 WNDPROC plugin_wnd_proc_; |
| 304 | 304 |
| 305 // Used to throttle WM_USER+1 messages in Flash. | 305 // Used to throttle WM_USER+1 messages in Flash. |
| 306 uint32 last_message_; | 306 uint32 last_message_; |
| 307 bool is_calling_wndproc; | 307 bool is_calling_wndproc; |
| 308 | |
| 309 // The current keyboard layout of this process and the main thread ID of the | |
| 310 // browser process. These variables are used for synchronizing the keyboard | |
| 311 // layout of this process with the one of the browser process. | |
| 312 HKL keyboard_layout_; | |
| 313 int parent_thread_id_; | |
| 314 #endif // defined(OS_WIN) | 308 #endif // defined(OS_WIN) |
| 315 | 309 |
| 316 #if defined(USE_X11) | 310 #if defined(USE_X11) |
| 317 // The SHM pixmap for a windowless plugin. | 311 // The SHM pixmap for a windowless plugin. |
| 318 XID windowless_shm_pixmap_; | 312 XID windowless_shm_pixmap_; |
| 319 | 313 |
| 320 // The pixmap we're drawing into, for a windowless plugin. | 314 // The pixmap we're drawing into, for a windowless plugin. |
| 321 GdkPixmap* pixmap_; | 315 GdkPixmap* pixmap_; |
| 322 double first_event_time_; | 316 double first_event_time_; |
| 323 | 317 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 // True if NPP_New did not return an error. | 506 // True if NPP_New did not return an error. |
| 513 bool creation_succeeded_; | 507 bool creation_succeeded_; |
| 514 | 508 |
| 515 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 509 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
| 516 }; | 510 }; |
| 517 | 511 |
| 518 } // namespace npapi | 512 } // namespace npapi |
| 519 } // namespace webkit | 513 } // namespace webkit |
| 520 | 514 |
| 521 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 515 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |