Index: public/web/WebTouchAction.h |
diff --git a/public/platform/WebCallbacks.h b/public/web/WebTouchAction.h |
similarity index 86% |
copy from public/platform/WebCallbacks.h |
copy to public/web/WebTouchAction.h |
index 4dd0421d5043391f276ec84a6d75f3de9d0bc42d..20030ec797046aa59e7da61fefe23a656047a578 100644 |
--- a/public/platform/WebCallbacks.h |
+++ b/public/web/WebTouchAction.h |
@@ -28,17 +28,15 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebCallbacks_h |
-#define WebCallbacks_h |
+#ifndef WebTouchAction_h |
+#define WebTouchAction_h |
namespace blink { |
-template<typename S, typename T> |
-class WebCallbacks { |
-public: |
- virtual ~WebCallbacks() { }; |
- virtual void onSuccess(S*) { }; |
- virtual void onError(T*) { }; |
+// Flags for permitted touch actions, specified in http://www.w3.org/TR/pointerevents/#the-touch-action-css-property. |
+enum WebTouchAction { |
+ WebTouchActionNone = 0, |
+ WebTouchActionAuto = 1 |
esprehn
2013/11/21 16:26:29
Is there a reason to specify the values? We usuall
Rick Byers
2013/11/21 22:09:29
Note yet. I did this because the next two values
|
}; |
} // namespace blink |