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

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

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (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
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index 6213c93bc00dc3be25053d38dbedbfd9f4691a54..91b3c05e75383b98ed9f045071ad8c361cde67ff 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -82,10 +82,6 @@ public:
virtual void layout() override;
virtual void paint(WebCanvas*, const WebRect&) override;
-#if OS(ANDROID)
- virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) override;
-#endif
- virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) override;
virtual bool isTrackingRepaints() const override;
virtual void themeChanged() override;
virtual bool handleInputEvent(const WebInputEvent&) override;
@@ -111,8 +107,6 @@ public:
virtual bool isSelectionAnchorFirst() const override;
virtual bool caretOrSelectionRange(size_t* location, size_t* length) override;
virtual void setTextDirection(WebTextDirection) override;
- virtual bool isAcceleratedCompositingActive() const override;
- virtual void willCloseLayerTreeView() override;
// WebView methods:
virtual void setMainFrame(WebFrame*) override;
@@ -242,8 +236,6 @@ public:
// unless the view did not need a layout.
void layoutUpdated(WebLocalFrameImpl*);
- void didRemoveAllPendingStylesheet(WebLocalFrameImpl*);
-
void updateMainFrameLayoutSize();
// Returns the input event we're currently processing. This is used in some
@@ -255,10 +247,8 @@ public:
GraphicsLayer* rootGraphicsLayer();
void setRootGraphicsLayer(GraphicsLayer*);
- void scheduleCompositingLayerSync();
GraphicsLayerFactory* graphicsLayerFactory() const;
RenderLayerCompositor* compositor() const;
- void registerForAnimations(WebLayer*);
void scheduleAnimation();
virtual void setVisibilityState(WebPageVisibilityState, bool) override;
@@ -275,8 +265,6 @@ public:
void enableTapHighlights(Vector<RawPtr<Node> >&);
void computeScaleAndScrollForFocusedNode(Node* focusedNode, float& scale, IntPoint& scroll, bool& needAnimation);
- void clearCompositedSelectionBounds();
-
// Exposed for the purpose of overriding device metrics.
void sendResizeEventAndRepaint();
@@ -305,7 +293,6 @@ public:
bool matchesHeuristicsForGpuRasterizationForTesting() const { return m_matchesHeuristicsForGpuRasterization; }
private:
- void resumeTreeViewCommits();
IntSize contentsSize() const;
void resetSavedScrollAndScaleState();
@@ -343,12 +330,9 @@ private:
// the HitTestResult for it.
HitTestResult hitTestResultForWindowPos(const IntPoint&);
- void setIsAcceleratedCompositingActive(bool);
void doComposite();
void reallocateRenderer();
- void updateLayerTreeBackgroundColor();
void updateRootLayerTransform();
- void updateLayerTreeDeviceScaleFactor();
// Helper function: Widens the width of |source| by the specified margins
// while keeping it smaller than page width.
@@ -419,14 +403,10 @@ private:
RefPtr<UserGestureToken> m_mouseCaptureGestureToken;
IntRect m_rootLayerScrollDamage;
- WebLayerTreeView* m_layerTreeView;
WebLayer* m_rootLayer;
GraphicsLayer* m_rootGraphicsLayer;
GraphicsLayer* m_rootTransformLayer;
OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory;
- bool m_isAcceleratedCompositingActive;
- bool m_layerTreeViewCommitsDeferred;
- bool m_layerTreeViewClosed;
bool m_matchesHeuristicsForGpuRasterization;
// If true, the graphics context is being restored.
bool m_recreatingGraphicsContext;
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698