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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using WebLayerTreeSettings for things WebKit can set 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 side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/web_compositor_support_impl.cc
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.cc b/webkit/compositor_bindings/web_compositor_support_impl.cc
index 48af47e4cd5fc2f48bf9e41d8e4c120bb52c2ee8..5c724e3e83d3dba5adb5f327f7bc93b0d616e2dd 100644
--- a/webkit/compositor_bindings/web_compositor_support_impl.cc
+++ b/webkit/compositor_bindings/web_compositor_support_impl.cc
@@ -7,7 +7,6 @@
#include "base/debug/trace_event.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop_proxy.h"
-#include "cc/settings.h"
#include "cc/thread_impl.h"
#include "webkit/compositor_bindings/web_animation_impl.h"
#include "webkit/compositor_bindings/web_content_layer_impl.h"
@@ -79,22 +78,6 @@ void WebCompositorSupportImpl::shutdown() {
impl_thread_message_loop_proxy_ = NULL;
}
-void WebCompositorSupportImpl::setPerTilePaintingEnabled(bool enabled) {
- cc::Settings::setPerTilePaintingEnabled(enabled);
-}
-
-void WebCompositorSupportImpl::setPartialSwapEnabled(bool enabled) {
- cc::Settings::setPartialSwapEnabled(enabled);
-}
-
-void WebCompositorSupportImpl::setAcceleratedAnimationEnabled(bool enabled) {
- cc::Settings::setAcceleratedAnimationEnabled(enabled);
-}
-
-void WebCompositorSupportImpl::setPageScalePinchZoomEnabled(bool enabled) {
- cc::Settings::setPageScalePinchZoomEnabled(enabled);
-}
-
WebLayerTreeView* WebCompositorSupportImpl::createLayerTreeView(
WebLayerTreeViewClient* client, const WebLayer& root,
const WebLayerTreeView::Settings& settings) {

Powered by Google App Engine
This is Rietveld 408576698