OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual void updateGeometry( | 102 virtual void updateGeometry( |
103 const WebRect& windowRect, const WebRect& clipRect, | 103 const WebRect& windowRect, const WebRect& clipRect, |
104 const WebRect& unobscuredRect, const WebVector<WebRect>& cutOutsRects, | 104 const WebRect& unobscuredRect, const WebVector<WebRect>& cutOutsRects, |
105 bool isVisible) = 0; | 105 bool isVisible) = 0; |
106 | 106 |
107 virtual void updateFocus(bool focused, WebFocusType) = 0; | 107 virtual void updateFocus(bool focused, WebFocusType) = 0; |
108 | 108 |
109 virtual void updateVisibility(bool) = 0; | 109 virtual void updateVisibility(bool) = 0; |
110 | 110 |
111 virtual bool acceptsInputEvents() = 0; | 111 virtual bool acceptsInputEvents() = 0; |
112 virtual bool handleInputEvent(const WebInputEvent&, WebCursorInfo&) = 0; | 112 virtual WebInputEventResult handleInputEvent(const WebInputEvent&, WebCursor
Info&) = 0; |
113 | 113 |
114 virtual bool handleDragStatusUpdate(WebDragStatus, const WebDragData&, WebDr
agOperationsMask, const WebPoint& position, const WebPoint& screenPosition) { re
turn false; } | 114 virtual bool handleDragStatusUpdate(WebDragStatus, const WebDragData&, WebDr
agOperationsMask, const WebPoint& position, const WebPoint& screenPosition) { re
turn false; } |
115 | 115 |
116 virtual void didReceiveResponse(const WebURLResponse&) = 0; | 116 virtual void didReceiveResponse(const WebURLResponse&) = 0; |
117 virtual void didReceiveData(const char* data, int dataLength) = 0; | 117 virtual void didReceiveData(const char* data, int dataLength) = 0; |
118 virtual void didFinishLoading() = 0; | 118 virtual void didFinishLoading() = 0; |
119 virtual void didFailLoading(const WebURLError&) = 0; | 119 virtual void didFailLoading(const WebURLError&) = 0; |
120 | 120 |
121 // Called in response to WebPluginContainer::loadFrameRequest | 121 // Called in response to WebPluginContainer::loadFrameRequest |
122 virtual void didFinishLoadingFrameRequest( | 122 virtual void didFinishLoadingFrameRequest( |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 virtual bool isPlaceholder() { return true; } | 187 virtual bool isPlaceholder() { return true; } |
188 | 188 |
189 protected: | 189 protected: |
190 ~WebPlugin() { } | 190 ~WebPlugin() { } |
191 }; | 191 }; |
192 | 192 |
193 } // namespace blink | 193 } // namespace blink |
194 | 194 |
195 #endif | 195 #endif |
OLD | NEW |