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

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

Issue 12217099: Implement the Platform::sharedOffscreenGraphicsContext3D method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no factory member vars Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void scheduleComposite() OVERRIDE; 84 virtual void scheduleComposite() OVERRIDE;
85 virtual scoped_refptr<cc::ContextProvider> 85 virtual scoped_refptr<cc::ContextProvider>
86 OffscreenContextProviderForMainThread() OVERRIDE; 86 OffscreenContextProviderForMainThread() OVERRIDE;
87 virtual scoped_refptr<cc::ContextProvider> 87 virtual scoped_refptr<cc::ContextProvider>
88 OffscreenContextProviderForCompositorThread() OVERRIDE; 88 OffscreenContextProviderForCompositorThread() OVERRIDE;
89 89
90 private: 90 private:
91 RenderingType type_; 91 RenderingType type_;
92 WebKit::WebLayerTreeViewClient* client_; 92 WebKit::WebLayerTreeViewClient* client_;
93 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 93 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
94
95 class MainThreadContextProvider;
96 scoped_refptr<MainThreadContextProvider> contexts_main_thread_;
97 class CompositorThreadContextProvider;
98 scoped_refptr<CompositorThreadContextProvider> contexts_compositor_thread_;
99 }; 94 };
100 95
101 } // namespace Web_kit 96 } // namespace Web_kit
102 97
103 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ 98 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/compositor_bindings.gyp ('k') | webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698