Chromium Code Reviews

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

Issue 11565022: Add API to route end of fling messages from WebLayerTreeView to InputHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add call to fake_proxy Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« 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 29 matching lines...)
40 virtual void setBackgroundColor(WebColor) OVERRIDE; 40 virtual void setBackgroundColor(WebColor) OVERRIDE;
41 virtual void setHasTransparentBackground(bool) OVERRIDE; 41 virtual void setHasTransparentBackground(bool) OVERRIDE;
42 virtual void setVisible(bool) OVERRIDE; 42 virtual void setVisible(bool) OVERRIDE;
43 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE; 43 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE;
44 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE; 44 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE;
45 virtual void setNeedsAnimate() OVERRIDE; 45 virtual void setNeedsAnimate() OVERRIDE;
46 virtual void setNeedsRedraw() OVERRIDE; 46 virtual void setNeedsRedraw() OVERRIDE;
47 virtual bool commitRequested() const OVERRIDE; 47 virtual bool commitRequested() const OVERRIDE;
48 virtual void composite() OVERRIDE; 48 virtual void composite() OVERRIDE;
49 virtual void updateAnimations(double frameBeginTime) OVERRIDE; 49 virtual void updateAnimations(double frameBeginTime) OVERRIDE;
50 virtual void didStopFlinging() OVERRIDE;
50 virtual bool compositeAndReadback(void *pixels, const WebRect&) OVERRIDE; 51 virtual bool compositeAndReadback(void *pixels, const WebRect&) OVERRIDE;
51 virtual void finishAllRendering() OVERRIDE; 52 virtual void finishAllRendering() OVERRIDE;
52 virtual void setDeferCommits(bool deferCommits) OVERRIDE; 53 virtual void setDeferCommits(bool deferCommits) OVERRIDE;
53 virtual void renderingStats(WebRenderingStats&) const OVERRIDE; 54 virtual void renderingStats(WebRenderingStats&) const OVERRIDE;
54 virtual void setShowFPSCounter(bool show); 55 virtual void setShowFPSCounter(bool show);
55 virtual void setShowPaintRects(bool show); 56 virtual void setShowPaintRects(bool show);
56 virtual void loseCompositorContext(int numTimes) OVERRIDE; 57 virtual void loseCompositorContext(int numTimes) OVERRIDE;
57 58
58 // cc::LayerTreeHostClient implementation. 59 // cc::LayerTreeHostClient implementation.
59 virtual void willBeginFrame() OVERRIDE; 60 virtual void willBeginFrame() OVERRIDE;
(...skipping 12 matching lines...)
72 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); 73 virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
73 74
74 private: 75 private:
75 WebLayerTreeViewClient* m_client; 76 WebLayerTreeViewClient* m_client;
76 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; 77 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost;
77 }; 78 };
78 79
79 } // namespace WebKit 80 } // namespace WebKit
80 81
81 #endif // WebLayerTreeViewImpl_h 82 #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