| Index: Source/web/WebViewImpl.h
|
| diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
|
| index 40de76b92016bf15ef61b9eb0d0ec0660657c0d3..0b49f02aecdad3889e4638a35749739574fe671e 100644
|
| --- a/Source/web/WebViewImpl.h
|
| +++ b/Source/web/WebViewImpl.h
|
| @@ -516,7 +516,8 @@ public:
|
|
|
| void computeScaleAndScrollForBlockRect(const WebRect& blockRect, float padding, float defaultScaleWhenAlreadyLegible, float& scale, WebPoint& scroll);
|
| WebCore::Node* bestTapNode(const WebCore::PlatformGestureEvent& tapEvent);
|
| - void enableTapHighlight(const WebCore::PlatformGestureEvent& tapEvent);
|
| + void enableTapHighlightAtPoint(const WebCore::PlatformGestureEvent& tapEvent);
|
| + void enableTapHighlights(Vector<WebCore::Node*>&);
|
| void computeScaleAndScrollForFocusedNode(WebCore::Node* focusedNode, float& scale, WebCore::IntPoint& scroll, bool& needAnimation);
|
|
|
| void animateDoubleTapZoom(const WebCore::IntPoint&);
|
| @@ -548,7 +549,8 @@ public:
|
| bool shouldDisableDesktopWorkarounds();
|
|
|
| // Exposed for tests.
|
| - LinkHighlight* linkHighlight() { return m_linkHighlight.get(); }
|
| + unsigned numLinkHighlights() { return m_linkHighlights.size(); }
|
| + LinkHighlight* linkHighlight(int i) { return m_linkHighlights[i].get(); }
|
|
|
| WebSettingsImpl* settingsImpl();
|
|
|
| @@ -810,7 +812,7 @@ private:
|
| WebPoint m_globalPositionOnFlingStart;
|
| int m_flingModifier;
|
| bool m_flingSourceDevice;
|
| - OwnPtr<LinkHighlight> m_linkHighlight;
|
| + Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
|
| OwnPtr<ValidationMessageClientImpl> m_validationMessage;
|
| OwnPtr<FullscreenController> m_fullscreenController;
|
|
|
|
|