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

Side by Side Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 11410075: cc: Remove the WebCompositorSupport methods for the old cc::Settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/compositor_bindings/web_compositor_support_impl.h" 5 #include "webkit/compositor_bindings/web_compositor_support_impl.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "cc/thread_impl.h" 10 #include "cc/thread_impl.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool WebCompositorSupportImpl::isThreadingEnabled() { 71 bool WebCompositorSupportImpl::isThreadingEnabled() {
72 return impl_thread_message_loop_proxy_; 72 return impl_thread_message_loop_proxy_;
73 } 73 }
74 74
75 void WebCompositorSupportImpl::shutdown() { 75 void WebCompositorSupportImpl::shutdown() {
76 DCHECK(initialized_); 76 DCHECK(initialized_);
77 initialized_ = false; 77 initialized_ = false;
78 impl_thread_message_loop_proxy_ = NULL; 78 impl_thread_message_loop_proxy_ = NULL;
79 } 79 }
80 80
81 void WebCompositorSupportImpl::setPerTilePaintingEnabled(bool enabled) {
82 }
83
84 void WebCompositorSupportImpl::setPartialSwapEnabled(bool enabled) {
85 }
86
87 void WebCompositorSupportImpl::setAcceleratedAnimationEnabled(bool enabled) {
88 }
89
90 void WebCompositorSupportImpl::setPageScalePinchZoomEnabled(bool enabled) {
91 }
92
93 WebLayerTreeView* WebCompositorSupportImpl::createLayerTreeView( 81 WebLayerTreeView* WebCompositorSupportImpl::createLayerTreeView(
94 WebLayerTreeViewClient* client, const WebLayer& root, 82 WebLayerTreeViewClient* client, const WebLayer& root,
95 const WebLayerTreeView::Settings& settings) { 83 const WebLayerTreeView::Settings& settings) {
96 DCHECK(initialized_); 84 DCHECK(initialized_);
97 scoped_ptr<WebKit::WebLayerTreeViewImpl> layerTreeViewImpl( 85 scoped_ptr<WebKit::WebLayerTreeViewImpl> layerTreeViewImpl(
98 new WebKit::WebLayerTreeViewImpl(client)); 86 new WebKit::WebLayerTreeViewImpl(client));
99 scoped_ptr<cc::Thread> impl_thread; 87 scoped_ptr<cc::Thread> impl_thread;
100 if (impl_thread_message_loop_proxy_) 88 if (impl_thread_message_loop_proxy_)
101 impl_thread = cc::ThreadImpl::createForDifferentThread( 89 impl_thread = cc::ThreadImpl::createForDifferentThread(
102 impl_thread_message_loop_proxy_); 90 impl_thread_message_loop_proxy_);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() { 148 WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
161 return new WebKit::WebFloatAnimationCurveImpl(); 149 return new WebKit::WebFloatAnimationCurveImpl();
162 } 150 }
163 151
164 WebTransformAnimationCurve* 152 WebTransformAnimationCurve*
165 WebCompositorSupportImpl::createTransformAnimationCurve() { 153 WebCompositorSupportImpl::createTransformAnimationCurve() {
166 return new WebKit::WebTransformAnimationCurveImpl(); 154 return new WebKit::WebTransformAnimationCurveImpl();
167 } 155 }
168 156
169 } // namespace webkit 157 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698