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 CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ | 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ |
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ | 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void OnSetFocus(); | 57 void OnSetFocus(); |
58 void OnHandleEvent(const NPEvent& event, bool* handled, | 58 void OnHandleEvent(const NPEvent& event, bool* handled, |
59 WebCursor* cursor); | 59 WebCursor* cursor); |
60 | 60 |
61 void OnPaint(const gfx::Rect& damaged_rect); | 61 void OnPaint(const gfx::Rect& damaged_rect); |
62 void OnDidPaint(); | 62 void OnDidPaint(); |
63 | 63 |
64 void OnPrint(PluginMsg_PrintResponse_Params* params); | 64 void OnPrint(PluginMsg_PrintResponse_Params* params); |
65 | 65 |
66 void OnUpdateGeometry(const gfx::Rect& window_rect, | 66 void OnUpdateGeometry(const gfx::Rect& window_rect, |
67 const gfx::Rect& clip_rect, bool visible, | 67 const gfx::Rect& clip_rect, |
| 68 const std::vector<gfx::Rect>& cutout_rects, |
| 69 bool visible, |
68 const SharedMemoryHandle& windowless_buffer, | 70 const SharedMemoryHandle& windowless_buffer, |
69 const SharedMemoryHandle& background_buffer); | 71 const SharedMemoryHandle& background_buffer); |
70 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr); | 72 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr); |
71 void OnSendJavaScriptStream(const std::string& url, | 73 void OnSendJavaScriptStream(const std::string& url, |
72 const std::wstring& result, | 74 const std::wstring& result, |
73 bool success, bool notify_needed, | 75 bool success, bool notify_needed, |
74 int notify_data); | 76 int notify_data); |
75 | 77 |
76 void OnDidReceiveManualResponse( | 78 void OnDidReceiveManualResponse( |
77 const std::string& url, | 79 const std::string& url, |
(...skipping 19 matching lines...) Expand all Loading... |
97 scoped_refptr<PluginChannel> channel_; | 99 scoped_refptr<PluginChannel> channel_; |
98 | 100 |
99 WebPluginDelegateImpl* delegate_; | 101 WebPluginDelegateImpl* delegate_; |
100 WebPluginProxy* webplugin_; | 102 WebPluginProxy* webplugin_; |
101 | 103 |
102 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub); | 104 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub); |
103 }; | 105 }; |
104 | 106 |
105 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ | 107 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ |
106 | 108 |
OLD | NEW |