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

Unified Diff: webkit/compositor_bindings/WebLayerTreeViewImpl.h

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added check for accelerated compositing, removed 'showFPSCounter' from settings, command-line flag … Created 8 years, 2 months 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: webkit/compositor_bindings/WebLayerTreeViewImpl.h
diff --git a/webkit/compositor_bindings/WebLayerTreeViewImpl.h b/webkit/compositor_bindings/WebLayerTreeViewImpl.h
index f9b9e11286c116558652dfdec06261a0a7038be3..d0c9d7e9aabe9eb21dad92315c15ee38091869b6 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.h
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.h
@@ -49,6 +49,8 @@ public:
virtual void renderingStats(WebRenderingStats&) const OVERRIDE;
virtual void setFontAtlas(SkBitmap, WebRect asciiToRectTable[128], int fontHeight) OVERRIDE;
virtual void loseCompositorContext(int numTimes) OVERRIDE;
+ virtual void setShowFPSCounter(bool show) OVERRIDE;
+ virtual bool hasFontAtlas() OVERRIDE;
nduca 2012/10/20 19:49:41 You're going to need to set up your patches to lan
nduca 2012/10/20 19:49:41 Also, put hasFontAtlas next to the setFontAtlas fu
// cc::CCLayerTreeHostClient implementation.
virtual void willBeginFrame() OVERRIDE;
@@ -68,6 +70,7 @@ public:
private:
WebLayerTreeViewClient* m_client;
scoped_ptr<cc::CCLayerTreeHost> m_layerTreeHost;
+ bool m_hasFontAtlas;
};
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698