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

Unified Diff: third_party/WebKit/public/web/WebViewClient.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
Index: third_party/WebKit/public/web/WebViewClient.h
diff --git a/third_party/WebKit/public/web/WebViewClient.h b/third_party/WebKit/public/web/WebViewClient.h
index 300e85a752251906c3e53bb874f3c9e42262ac37..8283b6c16edbbd239967ab1d541262301f21c56c 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -33,6 +33,9 @@
#include "../platform/WebPageVisibilityState.h"
#include "../platform/WebString.h"
+#if BLINK_IMPLEMENTATION
+#include "platform/graphics/TouchAction.h"
+#endif
#include "WebAXEnums.h"
#include "WebFrame.h"
#include "WebPopupType.h"
@@ -252,7 +255,9 @@ class WebViewClient : protected WebWidgetClient {
void HasTouchEventHandlers(bool) override {}
WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }
- void SetTouchAction(WebTouchAction touch_action) override {}
+#if BLINK_IMPLEMENTATION
+ void SetTouchAction(blink::TouchAction touch_action) override {}
+#endif
void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position,
const WebNode& tapped_node,
bool page_changed) override {}

Powered by Google App Engine
This is Rietveld 408576698