| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 virtual void updateGeometry(const WebRect& windowRect, | 114 virtual void updateGeometry(const WebRect& windowRect, |
| 115 const WebRect& clipRect, | 115 const WebRect& clipRect, |
| 116 const WebRect& unobscuredRect, | 116 const WebRect& unobscuredRect, |
| 117 const WebVector<WebRect>& cutOutsRects, | 117 const WebVector<WebRect>& cutOutsRects, |
| 118 bool isVisible) = 0; | 118 bool isVisible) = 0; |
| 119 | 119 |
| 120 virtual void updateFocus(bool focused, WebFocusType) = 0; | 120 virtual void updateFocus(bool focused, WebFocusType) = 0; |
| 121 | 121 |
| 122 virtual void updateVisibility(bool) = 0; | 122 virtual void updateVisibility(bool) = 0; |
| 123 | 123 |
| 124 virtual WebInputEventResult handleInputEvent(const WebInputEvent&, | 124 virtual WebInputEventResult handleInputEvent( |
| 125 WebCursorInfo&) = 0; | 125 const WebInputEvent&, |
| 126 const std::vector<const blink::WebInputEvent*>&, |
| 127 WebCursorInfo&) = 0; |
| 126 | 128 |
| 127 virtual bool handleDragStatusUpdate(WebDragStatus, | 129 virtual bool handleDragStatusUpdate(WebDragStatus, |
| 128 const WebDragData&, | 130 const WebDragData&, |
| 129 WebDragOperationsMask, | 131 WebDragOperationsMask, |
| 130 const WebPoint& position, | 132 const WebPoint& position, |
| 131 const WebPoint& screenPosition) { | 133 const WebPoint& screenPosition) { |
| 132 return false; | 134 return false; |
| 133 } | 135 } |
| 134 | 136 |
| 135 virtual void didReceiveResponse(const WebURLResponse&) = 0; | 137 virtual void didReceiveResponse(const WebURLResponse&) = 0; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 232 |
| 231 virtual bool isPlaceholder() { return true; } | 233 virtual bool isPlaceholder() { return true; } |
| 232 | 234 |
| 233 protected: | 235 protected: |
| 234 ~WebPlugin() {} | 236 ~WebPlugin() {} |
| 235 }; | 237 }; |
| 236 | 238 |
| 237 } // namespace blink | 239 } // namespace blink |
| 238 | 240 |
| 239 #endif | 241 #endif |
| OLD | NEW |