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

Unified Diff: Source/core/page/ChromeClient.h

Issue 16507017: Initial touch-action main thread implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't add delay param to public API just yet Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/page/ChromeClient.h
diff --git a/Source/core/page/ChromeClient.h b/Source/core/page/ChromeClient.h
index 23da08db88f6f66f224982b0c8a83331bb51aff9..a18bad235f5673085cb694335216a12cd9995137 100644
--- a/Source/core/page/ChromeClient.h
+++ b/Source/core/page/ChromeClient.h
@@ -32,6 +32,7 @@
#include "core/platform/PopupMenuClient.h"
#include "core/platform/graphics/GraphicsContext.h"
#include "core/rendering/RenderEmbeddedObject.h"
+#include "core/rendering/style/RenderStyleConstants.h"
#include "modules/webdatabase/DatabaseDetails.h"
#include "platform/HostWindow.h"
#include "platform/PopupMenu.h"
@@ -221,6 +222,8 @@ public:
virtual void needTouchEvents(bool) = 0;
+ virtual void setTouchAction(int touchId, TouchAction touchActions) = 0;
+
// Checks if there is an opened popup, called by RenderMenuList::showPopup().
virtual bool hasOpenedPopup() const = 0;
virtual PassRefPtr<PopupMenu> createPopupMenu(Frame&, PopupMenuClient*) const = 0;

Powered by Google App Engine
This is Rietveld 408576698