OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file.#ifndef WebViewBase_h | 3 // found in the LICENSE file.#ifndef WebViewBase_h |
4 | 4 |
5 #ifndef WebViewBase_h | 5 #ifndef WebViewBase_h |
6 #define WebViewBase_h | 6 #define WebViewBase_h |
7 | 7 |
8 #include "core/page/EventWithHitTestResults.h" | 8 #include "core/page/EventWithHitTestResults.h" |
9 #include "platform/transforms/TransformationMatrix.h" | 9 #include "platform/transforms/TransformationMatrix.h" |
10 #include "platform/wtf/RefCounted.h" | 10 #include "platform/wtf/RefCounted.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 virtual TransformationMatrix GetDeviceEmulationTransformForTesting() | 211 virtual TransformationMatrix GetDeviceEmulationTransformForTesting() |
212 const = 0; | 212 const = 0; |
213 virtual bool MatchesHeuristicsForGpuRasterizationForTesting() const = 0; | 213 virtual bool MatchesHeuristicsForGpuRasterizationForTesting() const = 0; |
214 virtual Node* BestTapNode( | 214 virtual Node* BestTapNode( |
215 const GestureEventWithHitTestResults& targeted_tap_event) = 0; | 215 const GestureEventWithHitTestResults& targeted_tap_event) = 0; |
216 virtual void EnableTapHighlightAtPoint( | 216 virtual void EnableTapHighlightAtPoint( |
217 const GestureEventWithHitTestResults& targeted_tap_event) = 0; | 217 const GestureEventWithHitTestResults& targeted_tap_event) = 0; |
218 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0; | 218 virtual LinkHighlightImpl* GetLinkHighlight(int) = 0; |
219 virtual unsigned NumLinkHighlights() = 0; | 219 virtual unsigned NumLinkHighlights() = 0; |
220 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0; | 220 virtual void EnableTapHighlights(HeapVector<Member<Node>>&) = 0; |
221 virtual void SetCurrentInputEventForTest(const WebInputEvent*) = 0; | |
Nate Chapin
2017/05/31 16:55:12
This is only needed to test NavigationPolicy decis
| |
222 }; | 221 }; |
223 } | 222 } |
224 | 223 |
225 #endif | 224 #endif |
OLD | NEW |