| 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 <string> | 8 #include <string> |
| 9 #include <list> | 9 #include <list> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual WebPluginResourceClient* CreateResourceClient(int resource_id, | 71 virtual WebPluginResourceClient* CreateResourceClient(int resource_id, |
| 72 const std::string &url, | 72 const std::string &url, |
| 73 bool notify_needed, | 73 bool notify_needed, |
| 74 void *notify_data, | 74 void *notify_data, |
| 75 void* stream); | 75 void* stream); |
| 76 | 76 |
| 77 virtual void URLRequestRouted(const std::string&url, bool notify_needed, | 77 virtual void URLRequestRouted(const std::string&url, bool notify_needed, |
| 78 void* notify_data); | 78 void* notify_data); |
| 79 bool windowless() const { return windowless_ ; } | 79 bool windowless() const { return windowless_ ; } |
| 80 gfx::Rect rect() const { return window_rect_; } | 80 gfx::Rect rect() const { return window_rect_; } |
| 81 gfx::Rect clip_rect() const { return clip_rect_; } |
| 81 | 82 |
| 82 enum PluginQuirks { | 83 enum PluginQuirks { |
| 83 PLUGIN_QUIRK_SETWINDOW_TWICE = 1, | 84 PLUGIN_QUIRK_SETWINDOW_TWICE = 1, |
| 84 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2, | 85 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2, |
| 85 PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4, | 86 PLUGIN_QUIRK_DONT_CALL_WND_PROC_RECURSIVELY = 4, |
| 86 PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8, | 87 PLUGIN_QUIRK_DONT_SET_NULL_WINDOW_HANDLE_ON_DESTROY = 8, |
| 87 PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16, | 88 PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES = 16, |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 int quirks() { return quirks_; } | 91 int quirks() { return quirks_; } |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 bool load_manually_; | 254 bool load_manually_; |
| 254 | 255 |
| 255 // Indicates whether a geometry update sequence is the first. | 256 // Indicates whether a geometry update sequence is the first. |
| 256 bool first_geometry_update_; | 257 bool first_geometry_update_; |
| 257 | 258 |
| 258 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 259 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ | 262 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ |
| 262 | 263 |
| OLD | NEW |