| 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 25 matching lines...) Expand all Loading... |
| 36 #include "WebInputMethodController.h" | 36 #include "WebInputMethodController.h" |
| 37 #include "public/platform/WebCanvas.h" | 37 #include "public/platform/WebCanvas.h" |
| 38 #include "public/platform/WebDragOperation.h" | 38 #include "public/platform/WebDragOperation.h" |
| 39 #include "public/platform/WebFocusType.h" | 39 #include "public/platform/WebFocusType.h" |
| 40 #include "public/platform/WebString.h" | 40 #include "public/platform/WebString.h" |
| 41 #include "public/platform/WebURL.h" | 41 #include "public/platform/WebURL.h" |
| 42 #include "v8/include/v8.h" | 42 #include "v8/include/v8.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class WebCoalescedInputEvent; |
| 46 class WebDragData; | 47 class WebDragData; |
| 47 class WebInputEvent; | |
| 48 class WebPluginContainer; | 48 class WebPluginContainer; |
| 49 class WebURLResponse; | 49 class WebURLResponse; |
| 50 struct WebCompositionUnderline; | 50 struct WebCompositionUnderline; |
| 51 struct WebCursorInfo; | 51 struct WebCursorInfo; |
| 52 struct WebPrintParams; | 52 struct WebPrintParams; |
| 53 struct WebPrintPresetOptions; | 53 struct WebPrintPresetOptions; |
| 54 struct WebPoint; | 54 struct WebPoint; |
| 55 struct WebRect; | 55 struct WebRect; |
| 56 struct WebURLError; | 56 struct WebURLError; |
| 57 template <typename T> | 57 template <typename T> |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // Coordinates are relative to the containing window. | 110 // Coordinates are relative to the containing window. |
| 111 virtual void UpdateGeometry(const WebRect& window_rect, | 111 virtual void UpdateGeometry(const WebRect& window_rect, |
| 112 const WebRect& clip_rect, | 112 const WebRect& clip_rect, |
| 113 const WebRect& unobscured_rect, | 113 const WebRect& unobscured_rect, |
| 114 bool is_visible) = 0; | 114 bool is_visible) = 0; |
| 115 | 115 |
| 116 virtual void UpdateFocus(bool focused, WebFocusType) = 0; | 116 virtual void UpdateFocus(bool focused, WebFocusType) = 0; |
| 117 | 117 |
| 118 virtual void UpdateVisibility(bool) = 0; | 118 virtual void UpdateVisibility(bool) = 0; |
| 119 | 119 |
| 120 virtual WebInputEventResult HandleInputEvent(const WebInputEvent&, | 120 virtual WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&, |
| 121 WebCursorInfo&) = 0; | 121 WebCursorInfo&) = 0; |
| 122 | 122 |
| 123 virtual bool HandleDragStatusUpdate(WebDragStatus, | 123 virtual bool HandleDragStatusUpdate(WebDragStatus, |
| 124 const WebDragData&, | 124 const WebDragData&, |
| 125 WebDragOperationsMask, | 125 WebDragOperationsMask, |
| 126 const WebPoint& position, | 126 const WebPoint& position, |
| 127 const WebPoint& screen_position) { | 127 const WebPoint& screen_position) { |
| 128 return false; | 128 return false; |
| 129 } | 129 } |
| 130 | 130 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // it loading later. | 246 // it loading later. |
| 247 virtual bool IsErrorPlaceholder() { return false; } | 247 virtual bool IsErrorPlaceholder() { return false; } |
| 248 | 248 |
| 249 protected: | 249 protected: |
| 250 ~WebPlugin() {} | 250 ~WebPlugin() {} |
| 251 }; | 251 }; |
| 252 | 252 |
| 253 } // namespace blink | 253 } // namespace blink |
| 254 | 254 |
| 255 #endif | 255 #endif |
| OLD | NEW |