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

Unified Diff: third_party/WebKit/Source/core/input/EventHandlingUtil.h

Issue 2255323004: Create MouseEventManager and EventHandlingUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 4 years, 3 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/Source/core/input/EventHandlingUtil.h
diff --git a/third_party/WebKit/Source/core/input/EventHandlingUtil.h b/third_party/WebKit/Source/core/input/EventHandlingUtil.h
new file mode 100644
index 0000000000000000000000000000000000000000..1e11ebd090d9b6e2be3a63118a344e97cd00cad0
--- /dev/null
+++ b/third_party/WebKit/Source/core/input/EventHandlingUtil.h
@@ -0,0 +1,29 @@
+// Copyright 2016 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 EventHandlingUtil_h
+#define EventHandlingUtil_h
+
+#include "core/frame/LocalFrame.h"
+#include "core/layout/HitTestResult.h"
+#include "platform/geometry/LayoutPoint.h"
+#include "public/platform/WebInputEventResult.h"
+
+namespace blink {
+
+namespace EventHandlingUtil {
+
+HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&,
+ HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly
+ | HitTestRequest::Active);
+
+WebInputEventResult mergeEventResult(
+ WebInputEventResult resultA, WebInputEventResult resultB);
+WebInputEventResult toWebInputEventResult(DispatchEventResult);
+
+} // namespace EventHandlingUtil
+
+} // namespace blink
+
+#endif // EventHandlingUtil_h
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/EventHandlingUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698