| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 uint32 expected_length, | 65 uint32 expected_length, |
| 66 uint32 last_modified); | 66 uint32 last_modified); |
| 67 virtual void DidReceiveManualData(const char* buffer, int length); | 67 virtual void DidReceiveManualData(const char* buffer, int length); |
| 68 virtual void DidFinishManualLoading(); | 68 virtual void DidFinishManualLoading(); |
| 69 virtual void DidManualLoadFail(); | 69 virtual void DidManualLoadFail(); |
| 70 virtual std::wstring GetPluginPath(); | 70 virtual std::wstring GetPluginPath(); |
| 71 virtual void InstallMissingPlugin(); | 71 virtual void InstallMissingPlugin(); |
| 72 virtual WebPluginResourceClient* CreateResourceClient(int resource_id, | 72 virtual WebPluginResourceClient* CreateResourceClient(int resource_id, |
| 73 const std::string &url, | 73 const std::string &url, |
| 74 bool notify_needed, | 74 bool notify_needed, |
| 75 void *notify_data); | 75 void *notify_data, |
| 76 void* stream); |
| 76 | 77 |
| 77 virtual void URLRequestRouted(const std::string&url, bool notify_needed, | 78 virtual void URLRequestRouted(const std::string&url, bool notify_needed, |
| 78 void* notify_data); | 79 void* notify_data); |
| 79 bool windowless() const { | 80 bool windowless() const { |
| 80 return windowless_; | 81 return windowless_; |
| 81 } | 82 } |
| 82 | 83 |
| 83 enum PluginQuirks { | 84 enum PluginQuirks { |
| 84 PLUGIN_QUIRK_SETWINDOW_TWICE = 1, | 85 PLUGIN_QUIRK_SETWINDOW_TWICE = 1, |
| 85 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2, | 86 PLUGIN_QUIRK_THROTTLE_WM_USER_PLUS_ONE = 2, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 bool load_manually_; | 255 bool load_manually_; |
| 255 | 256 |
| 256 // Indicates whether a geometry update sequence is the first. | 257 // Indicates whether a geometry update sequence is the first. |
| 257 bool first_geometry_update_; | 258 bool first_geometry_update_; |
| 258 | 259 |
| 259 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 260 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |
| 260 }; | 261 }; |
| 261 | 262 |
| 262 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ | 263 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ |
| 263 | 264 |
| OLD | NEW |