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

Unified Diff: third_party/WebKit/public/platform/WebTouchAction.h

Issue 2863693003: Unify TouchAction classes (Closed)
Patch Set: add cstdlib 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/BUILD.gn ('k') | third_party/WebKit/public/web/WebTouchAction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebTouchAction.h
diff --git a/third_party/WebKit/public/platform/WebTouchAction.h b/third_party/WebKit/public/platform/WebTouchAction.h
new file mode 100644
index 0000000000000000000000000000000000000000..88bd63c583787943540027873bb1a1e67aa17d96
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebTouchAction.h
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebTouchAction_h
+#define WebTouchAction_h
+
+#include "cc/input/touch_action.h"
+
+namespace blink {
+
+// The only reason of creating a WebTouchAction is that there is a virtual
+// function under WebWidgetClient that is overridden by classes under content/
+// and WebKit/.
+using WebTouchAction = cc::TouchAction;
+
+} // namespace blink
+
+#endif // WebTouchAction_h
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebTouchAction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698