| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 virtual void SetFocus(); // only called when windowless | 55 virtual void SetFocus(); // only called when windowless |
| 56 // only called when windowless | 56 // only called when windowless |
| 57 // See NPAPI NPP_HandleEvent for more information. | 57 // See NPAPI NPP_HandleEvent for more information. |
| 58 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, | 58 virtual bool HandleInputEvent(const WebKit::WebInputEvent& event, |
| 59 WebCursor* cursor); | 59 WebCursor* cursor); |
| 60 virtual NPObject* GetPluginScriptableObject(); | 60 virtual NPObject* GetPluginScriptableObject(); |
| 61 virtual void DidFinishLoadWithReason(NPReason reason); | 61 virtual void DidFinishLoadWithReason(NPReason reason); |
| 62 virtual int GetProcessId(); | 62 virtual int GetProcessId(); |
| 63 | 63 |
| 64 virtual void FlushGeometryUpdates() { | |
| 65 } | |
| 66 virtual void SendJavaScriptStream(const std::string& url, | 64 virtual void SendJavaScriptStream(const std::string& url, |
| 67 const std::wstring& result, | 65 const std::wstring& result, |
| 68 bool success, bool notify_needed, | 66 bool success, bool notify_needed, |
| 69 intptr_t notify_data); | 67 intptr_t notify_data); |
| 70 virtual void DidReceiveManualResponse(const std::string& url, | 68 virtual void DidReceiveManualResponse(const std::string& url, |
| 71 const std::string& mime_type, | 69 const std::string& mime_type, |
| 72 const std::string& headers, | 70 const std::string& headers, |
| 73 uint32 expected_length, | 71 uint32 expected_length, |
| 74 uint32 last_modified); | 72 uint32 last_modified); |
| 75 virtual void DidReceiveManualData(const char* buffer, int length); | 73 virtual void DidReceiveManualData(const char* buffer, int length); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 272 |
| 275 // Holds the current cursor set by the windowless plugin. | 273 // Holds the current cursor set by the windowless plugin. |
| 276 WebCursor current_windowless_cursor_; | 274 WebCursor current_windowless_cursor_; |
| 277 | 275 |
| 278 friend class WebPluginDelegate; | 276 friend class WebPluginDelegate; |
| 279 | 277 |
| 280 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 278 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |
| 281 }; | 279 }; |
| 282 | 280 |
| 283 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ | 281 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |