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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 const gfx::Rect& clip_rect, bool visible); | 44 const gfx::Rect& clip_rect, bool visible); |
45 virtual void Paint(HDC hdc, const gfx::Rect& rect); | 45 virtual void Paint(HDC hdc, const gfx::Rect& rect); |
46 virtual void Print(HDC hdc); | 46 virtual void Print(HDC hdc); |
47 virtual void SetFocus(); // only called when windowless | 47 virtual void SetFocus(); // only called when windowless |
48 // only called when windowless | 48 // only called when windowless |
49 virtual bool HandleEvent(NPEvent* event, | 49 virtual bool HandleEvent(NPEvent* event, |
50 WebCursor* cursor); | 50 WebCursor* cursor); |
51 virtual NPObject* GetPluginScriptableObject(); | 51 virtual NPObject* GetPluginScriptableObject(); |
52 virtual void DidFinishLoadWithReason(NPReason reason); | 52 virtual void DidFinishLoadWithReason(NPReason reason); |
53 virtual int GetProcessId(); | 53 virtual int GetProcessId(); |
54 virtual HWND GetWindowHandle(); | |
55 | 54 |
56 virtual void FlushGeometryUpdates() { | 55 virtual void FlushGeometryUpdates() { |
57 } | 56 } |
58 virtual void SendJavaScriptStream(const std::string& url, | 57 virtual void SendJavaScriptStream(const std::string& url, |
59 const std::wstring& result, | 58 const std::wstring& result, |
60 bool success, bool notify_needed, | 59 bool success, bool notify_needed, |
61 int notify_data); | 60 int notify_data); |
62 virtual void DidReceiveManualResponse(const std::string& url, | 61 virtual void DidReceiveManualResponse(const std::string& url, |
63 const std::string& mime_type, | 62 const std::string& mime_type, |
64 const std::string& headers, | 63 const std::string& headers, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 bool load_manually_; | 253 bool load_manually_; |
255 | 254 |
256 // Indicates whether a geometry update sequence is the first. | 255 // Indicates whether a geometry update sequence is the first. |
257 bool first_geometry_update_; | 256 bool first_geometry_update_; |
258 | 257 |
259 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); | 258 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateImpl); |
260 }; | 259 }; |
261 | 260 |
262 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ | 261 #endif // #ifndef WEBKIT_GLUE_PLUGIN_WEBPLUGIN_DELEGATE_IMPL_H__ |
263 | 262 |
OLD | NEW |