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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const WebVector<WebRect>& cut_outs_rects, | 114 const WebVector<WebRect>& cut_outs_rects, |
115 bool is_visible) = 0; | 115 bool is_visible) = 0; |
116 | 116 |
117 virtual void UpdateFocus(bool focused, WebFocusType) = 0; | 117 virtual void UpdateFocus(bool focused, WebFocusType) = 0; |
118 | 118 |
119 virtual void UpdateVisibility(bool) = 0; | 119 virtual void UpdateVisibility(bool) = 0; |
120 | 120 |
121 virtual WebInputEventResult HandleInputEvent(const WebInputEvent&, | 121 virtual WebInputEventResult HandleInputEvent(const WebCoalescedInputEvent&, |
122 WebCursorInfo&) = 0; | 122 WebCursorInfo&) = 0; |
123 | 123 |
124 virtual bool HandleDragStatusUpdate(WebDragStatus, | 124 virtual bool HandleDragStatusUpdate(WebDragStatus, |
125 const WebDragData&, | 125 const WebDragData&, |
126 WebDragOperationsMask, | 126 WebDragOperationsMask, |
127 const WebPoint& position, | 127 const WebPoint& position, |
128 const WebPoint& screen_position) { | 128 const WebPoint& screen_position) { |
129 return false; | 129 return false; |
130 } | 130 } |
131 | 131 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // it loading later. | 247 // it loading later. |
248 virtual bool IsErrorPlaceholder() { return false; } | 248 virtual bool IsErrorPlaceholder() { return false; } |
249 | 249 |
250 protected: | 250 protected: |
251 ~WebPlugin() {} | 251 ~WebPlugin() {} |
252 }; | 252 }; |
253 | 253 |
254 } // namespace blink | 254 } // namespace blink |
255 | 255 |
256 #endif | 256 #endif |
OLD | NEW |