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

Side by Side Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 11783101: Make LayerTreeHost::animateLayers take a wall clock time in addition to a monotonic time (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits Created 7 years, 11 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 unified diff | Download patch
« no previous file with comments | « cc/thread_proxy.cc ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLayerTreeViewImpl_h 5 #ifndef WebLayerTreeViewImpl_h
6 #define WebLayerTreeViewImpl_h 6 #define WebLayerTreeViewImpl_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/layer_tree_host_client.h" 9 #include "cc/layer_tree_host_client.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual float deviceScaleFactor() const OVERRIDE; 42 virtual float deviceScaleFactor() const OVERRIDE;
43 virtual void setBackgroundColor(WebColor) OVERRIDE; 43 virtual void setBackgroundColor(WebColor) OVERRIDE;
44 virtual void setHasTransparentBackground(bool) OVERRIDE; 44 virtual void setHasTransparentBackground(bool) OVERRIDE;
45 virtual void setVisible(bool) OVERRIDE; 45 virtual void setVisible(bool) OVERRIDE;
46 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE; 46 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE;
47 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE; 47 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE;
48 virtual void setNeedsAnimate() OVERRIDE; 48 virtual void setNeedsAnimate() OVERRIDE;
49 virtual void setNeedsRedraw() OVERRIDE; 49 virtual void setNeedsRedraw() OVERRIDE;
50 virtual bool commitRequested() const OVERRIDE; 50 virtual bool commitRequested() const OVERRIDE;
51 virtual void composite() OVERRIDE; 51 virtual void composite() OVERRIDE;
52 virtual void updateAnimations(double frameBeginTime) OVERRIDE; 52 // TODO(ajuma): Remove this after WebKit bug 106594 (which switches to using the 2-argument version) lands.
53 virtual void updateAnimations(double frameBeginTime);
54 virtual void updateAnimations(double monotonicFrameBeginTime, double wallClo ckFrameBeginTime);
53 virtual void didStopFlinging() OVERRIDE; 55 virtual void didStopFlinging() OVERRIDE;
54 virtual bool compositeAndReadback(void *pixels, const WebRect&) OVERRIDE; 56 virtual bool compositeAndReadback(void *pixels, const WebRect&) OVERRIDE;
55 virtual void finishAllRendering() OVERRIDE; 57 virtual void finishAllRendering() OVERRIDE;
56 virtual void setDeferCommits(bool deferCommits) OVERRIDE; 58 virtual void setDeferCommits(bool deferCommits) OVERRIDE;
57 virtual void renderingStats(WebRenderingStats&) const OVERRIDE; 59 virtual void renderingStats(WebRenderingStats&) const OVERRIDE;
58 virtual void setShowFPSCounter(bool show); 60 virtual void setShowFPSCounter(bool show);
59 virtual void setShowPaintRects(bool show); 61 virtual void setShowPaintRects(bool show);
60 virtual void setContinuousPaintingEnabled(bool); 62 virtual void setContinuousPaintingEnabled(bool);
61 63
62 // cc::LayerTreeHostClient implementation. 64 // cc::LayerTreeHostClient implementation.
(...skipping 13 matching lines...) Expand all
76 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); 78 virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
77 79
78 private: 80 private:
79 WebLayerTreeViewClient* m_client; 81 WebLayerTreeViewClient* m_client;
80 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; 82 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost;
81 }; 83 };
82 84
83 } // namespace WebKit 85 } // namespace WebKit
84 86
85 #endif // WebLayerTreeViewImpl_h 87 #endif // WebLayerTreeViewImpl_h
OLDNEW
« no previous file with comments | « cc/thread_proxy.cc ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698