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

Unified Diff: sky/engine/web/WebViewImpl.h

Issue 762993003: Remove GraphicsLayer family of classes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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: sky/engine/web/WebViewImpl.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index a5d33e54bb834528693919101e6add3eba2ea19c..d9bdf6b7ff79bc026d10f8620904518a5ae07d55 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -34,7 +34,6 @@
#include "sky/engine/core/html/ime/InputMethodContext.h"
#include "sky/engine/platform/geometry/IntPoint.h"
#include "sky/engine/platform/geometry/IntRect.h"
-#include "sky/engine/platform/graphics/GraphicsLayer.h"
#include "sky/engine/public/platform/WebGestureCurveTarget.h"
#include "sky/engine/public/platform/WebLayer.h"
#include "sky/engine/public/platform/WebPoint.h"
@@ -55,7 +54,6 @@
namespace blink {
class Frame;
-class LinkHighlight;
class UserGestureToken;
class WebActiveGestureAnimation;
class WebLocalFrameImpl;
@@ -253,9 +251,6 @@ public:
ScrollGranularity*);
void computeScaleAndScrollForBlockRect(const WebPoint& hitPoint, const WebRect& blockRect, float padding, float defaultScaleWhenAlreadyLegible, float& scale, WebPoint& scroll);
- Node* bestTapNode(const PlatformGestureEvent& tapEvent);
- void enableTapHighlightAtPoint(const PlatformGestureEvent& tapEvent);
- void enableTapHighlights(Vector<RawPtr<Node> >&);
void computeScaleAndScrollForFocusedNode(Node* focusedNode, float& scale, IntPoint& scroll, bool& needAnimation);
// Exposed for the purpose of overriding device metrics.
@@ -265,14 +260,6 @@ public:
bool hasHorizontalScrollbar();
bool hasVerticalScrollbar();
- // Heuristic-based function for determining if we should disable workarounds
- // for viewing websites that are not optimized for mobile devices.
- bool shouldDisableDesktopWorkarounds();
-
- // Exposed for tests.
- unsigned numLinkHighlights() { return m_linkHighlights.size(); }
- LinkHighlight* linkHighlight(int i) { return m_linkHighlights[i].get(); }
-
WebSettingsImpl* settingsImpl();
// Returns the bounding box of the block type node touched by the WebRect.
@@ -407,7 +394,6 @@ private:
WebPoint m_globalPositionOnFlingStart;
int m_flingModifier;
bool m_flingSourceDevice;
- Vector<OwnPtr<LinkHighlight> > m_linkHighlights;
bool m_showFPSCounter;
bool m_showPaintRects;

Powered by Google App Engine
This is Rietveld 408576698