| Index: third_party/WebKit/Source/core/page/EventWithHitTestResults.h
|
| diff --git a/third_party/WebKit/Source/core/page/EventWithHitTestResults.h b/third_party/WebKit/Source/core/page/EventWithHitTestResults.h
|
| index 9d0bdb7b5c451309d9fb44134c548cb18407bf0f..b8292558340782515805c0ccce21093591d31cc8 100644
|
| --- a/third_party/WebKit/Source/core/page/EventWithHitTestResults.h
|
| +++ b/third_party/WebKit/Source/core/page/EventWithHitTestResults.h
|
| @@ -23,8 +23,8 @@
|
|
|
| #include "core/layout/HitTestResult.h"
|
| #include "platform/PlatformEvent.h"
|
| -#include "platform/PlatformMouseEvent.h"
|
| #include "public/platform/WebGestureEvent.h"
|
| +#include "public/platform/WebMouseEvent.h"
|
|
|
| namespace blink {
|
|
|
| @@ -46,14 +46,16 @@ class EventWithHitTestResults {
|
| bool isOverLink() const { return m_hitTestResult.isOverLink(); }
|
| bool isOverWidget() const { return m_hitTestResult.isOverWidget(); }
|
| Node* innerNode() const { return m_hitTestResult.innerNode(); }
|
| + const String& canvasRegionId() const {
|
| + return m_hitTestResult.canvasRegionId();
|
| + }
|
|
|
| private:
|
| EventType m_event;
|
| HitTestResult m_hitTestResult;
|
| };
|
|
|
| -using MouseEventWithHitTestResults =
|
| - EventWithHitTestResults<PlatformMouseEvent>;
|
| +using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>;
|
|
|
| using GestureEventWithHitTestResults = EventWithHitTestResults<WebGestureEvent>;
|
|
|
|
|