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

Unified Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 2863693003: Unify TouchAction classes (Closed)
Patch Set: needs more work Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebWidgetClient.h
diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h
index 28e941f779010dffac88bed10d1ee6acfe6e69e6..e490631eccc098d6aa467bed90fdf55b2f80c404 100644
--- a/third_party/WebKit/public/web/WebWidgetClient.h
+++ b/third_party/WebKit/public/web/WebWidgetClient.h
@@ -32,6 +32,9 @@
#define WebWidgetClient_h
#include "WebNavigationPolicy.h"
+#if BLINK_IMPLEMENTATION
+#include "platform/graphics/TouchAction.h"
+#endif
#include "public/platform/WebCommon.h"
#include "public/platform/WebDragOperation.h"
#include "public/platform/WebLayerTreeView.h"
@@ -41,7 +44,6 @@
#include "public/platform/WebScreenInfo.h"
#include "public/web/WebMeaningfulLayout.h"
#include "public/web/WebTextDirection.h"
-#include "public/web/WebTouchAction.h"
namespace blink {
@@ -139,7 +141,9 @@ class WebWidgetClient {
// Called during WebWidget::HandleInputEvent for a TouchStart event to inform
// the embedder of the touch actions that are permitted for this touch.
- virtual void SetTouchAction(WebTouchAction touch_action) {}
+#if BLINK_IMPLEMENTATION
+ virtual void SetTouchAction(blink::TouchAction touch_action) {}
xidachen 2017/05/05 15:17:52 wkorman@, pdr@: I am getting close. Just one last
wkorman 2017/05/05 20:25:47 I think I agree with you, with my (our?) newfound
+#endif
// Request the browser to show virtual keyboard for current input type.
virtual void ShowVirtualKeyboardOnElementFocus() {}
« no previous file with comments | « third_party/WebKit/public/web/WebViewClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698