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

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

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 Created 8 years 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 | Annotate | Revision Log
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void setShowFPSCounter(bool show); 54 virtual void setShowFPSCounter(bool show);
55 virtual void setShowPaintRects(bool show); 55 virtual void setShowPaintRects(bool show);
56 virtual void loseCompositorContext(int numTimes) OVERRIDE; 56 virtual void loseCompositorContext(int numTimes) OVERRIDE;
57 57
58 // cc::LayerTreeHostClient implementation. 58 // cc::LayerTreeHostClient implementation.
59 virtual void willBeginFrame() OVERRIDE; 59 virtual void willBeginFrame() OVERRIDE;
60 virtual void didBeginFrame() OVERRIDE; 60 virtual void didBeginFrame() OVERRIDE;
61 virtual void animate(double monotonicFrameBeginTime) OVERRIDE; 61 virtual void animate(double monotonicFrameBeginTime) OVERRIDE;
62 virtual void layout() OVERRIDE; 62 virtual void layout() OVERRIDE;
63 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) OVERRIDE; 63 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) OVERRIDE;
64 virtual scoped_ptr<WebCompositorOutputSurface> createOutputSurface() OVERRID E; 64 virtual scoped_ptr<cc::OutputSurface> createOutputSurface() OVERRIDE;
65 virtual void didRecreateOutputSurface(bool success) OVERRIDE; 65 virtual void didRecreateOutputSurface(bool success) OVERRIDE;
66 virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE; 66 virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE;
67 virtual void willCommit() OVERRIDE; 67 virtual void willCommit() OVERRIDE;
68 virtual void didCommit() OVERRIDE; 68 virtual void didCommit() OVERRIDE;
69 virtual void didCommitAndDrawFrame() OVERRIDE; 69 virtual void didCommitAndDrawFrame() OVERRIDE;
70 virtual void didCompleteSwapBuffers() OVERRIDE; 70 virtual void didCompleteSwapBuffers() OVERRIDE;
71 virtual void scheduleComposite() OVERRIDE; 71 virtual void scheduleComposite() OVERRIDE;
72 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); 72 virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
73 73
74 private: 74 private:
75 WebLayerTreeViewClient* m_client; 75 WebLayerTreeViewClient* m_client;
76 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; 76 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost;
77 }; 77 };
78 78
79 } // namespace WebKit 79 } // namespace WebKit
80 80
81 #endif // WebLayerTreeViewImpl_h 81 #endif // WebLayerTreeViewImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698