Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: third_party/WebKit/public/web/WebPlugin.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 #include "../platform/WebFocusType.h" 37 #include "../platform/WebFocusType.h"
38 #include "../platform/WebString.h" 38 #include "../platform/WebString.h"
39 #include "../platform/WebURL.h" 39 #include "../platform/WebURL.h"
40 #include "WebDragStatus.h" 40 #include "WebDragStatus.h"
41 #include "WebInputMethodController.h" 41 #include "WebInputMethodController.h"
42 #include <v8.h> 42 #include <v8.h>
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class WebDragData; 46 class WebDragData;
47 class WebInputEvent; 47 class CoalescedWebInputEvent;
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
111 virtual void updateGeometry(const WebRect& windowRect, 111 virtual void updateGeometry(const WebRect& windowRect,
112 const WebRect& clipRect, 112 const WebRect& clipRect,
113 const WebRect& unobscuredRect, 113 const WebRect& unobscuredRect,
114 const WebVector<WebRect>& cutOutsRects, 114 const WebVector<WebRect>& cutOutsRects,
115 bool isVisible) = 0; 115 bool isVisible) = 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 CoalescedWebInputEvent&,
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& screenPosition) { 128 const WebPoint& screenPosition) {
129 return false; 129 return false;
130 } 130 }
131 131
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 virtual bool isPlaceholder() { return true; } 228 virtual bool isPlaceholder() { return true; }
229 229
230 protected: 230 protected:
231 ~WebPlugin() {} 231 ~WebPlugin() {}
232 }; 232 };
233 233
234 } // namespace blink 234 } // namespace blink
235 235
236 #endif 236 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698