| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 6 #define WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 GtkWidget* socket_; | 230 GtkWidget* socket_; |
| 231 | 231 |
| 232 // Ensure pixmap_ exists and is at least width by height pixels. | 232 // Ensure pixmap_ exists and is at least width by height pixels. |
| 233 void EnsurePixmapAtLeastSize(int width, int height); | 233 void EnsurePixmapAtLeastSize(int width, int height); |
| 234 #endif | 234 #endif |
| 235 | 235 |
| 236 gfx::PluginWindowHandle parent_; | 236 gfx::PluginWindowHandle parent_; |
| 237 NPWindow window_; | 237 NPWindow window_; |
| 238 #if defined(OS_MACOSX) | 238 #if defined(OS_MACOSX) |
| 239 NP_CGContext cg_context_; | 239 NP_CGContext cg_context_; |
| 240 #ifndef NP_NO_QUICKDRAW |
| 241 NP_Port qd_port_; |
| 242 GWorldPtr qd_world_; |
| 243 #endif |
| 240 #endif | 244 #endif |
| 241 gfx::Rect window_rect_; | 245 gfx::Rect window_rect_; |
| 242 gfx::Rect clip_rect_; | 246 gfx::Rect clip_rect_; |
| 243 std::vector<gfx::Rect> cutout_rects_; | 247 std::vector<gfx::Rect> cutout_rects_; |
| 244 int quirks_; | 248 int quirks_; |
| 245 | 249 |
| 246 #if defined(OS_WIN) | 250 #if defined(OS_WIN) |
| 247 // Windowless plugins don't have keyboard focus causing issues with the | 251 // Windowless plugins don't have keyboard focus causing issues with the |
| 248 // plugin not receiving keyboard events if the plugin enters a modal | 252 // plugin not receiving keyboard events if the plugin enters a modal |
| 249 // loop like TrackPopupMenuEx or MessageBox, etc. | 253 // loop like TrackPopupMenuEx or MessageBox, etc. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 336 |
| 333 // Holds the current cursor set by the windowless plugin. | 337 // Holds the current cursor set by the windowless plugin. |
| 334 WebCursor current_windowless_cursor_; | 338 WebCursor current_windowless_cursor_; |
| 335 | 339 |
| 336 friend class webkit_glue::WebPluginDelegate; | 340 friend class webkit_glue::WebPluginDelegate; |
| 337 | 341 |
| 338 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 342 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |
| 339 }; | 343 }; |
| 340 | 344 |
| 341 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ | 345 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |