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

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

Issue 11186039: Move CC switches to cc/switches.h. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add cc to DEPS in chrome/ and content/ Created 8 years, 2 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
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 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7 7
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h"
10 10
11 namespace webkit { 11 namespace webkit {
12 12
13 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 13 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
14 public: 14 public:
15 WebCompositorSupportImpl(); 15 WebCompositorSupportImpl();
16 virtual ~WebCompositorSupportImpl(); 16 virtual ~WebCompositorSupportImpl();
17 17
18 virtual void initialize(WebKit::WebThread* thread); 18 virtual void initialize(WebKit::WebThread* thread);
19 virtual bool isThreadingEnabled(); 19 virtual bool isThreadingEnabled();
20 virtual void shutdown(); 20 virtual void shutdown();
21 virtual void setPerTilePaintingEnabled(bool enabled);
22 virtual void setPartialSwapEnabled(bool enabled);
23 virtual void setAcceleratedAnimationEnabled(bool enabled);
24 virtual void setPageScalePinchZoomEnabled(bool enabled);
25 virtual WebKit::WebLayerTreeView* createLayerTreeView( 21 virtual WebKit::WebLayerTreeView* createLayerTreeView(
26 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, 22 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
27 const WebKit::WebLayerTreeView::Settings& settings); 23 const WebKit::WebLayerTreeView::Settings& settings);
28 virtual WebKit::WebLayer* createLayer(); 24 virtual WebKit::WebLayer* createLayer();
29 virtual WebKit::WebContentLayer* createContentLayer( 25 virtual WebKit::WebContentLayer* createContentLayer(
30 WebKit::WebContentLayerClient* client); 26 WebKit::WebContentLayerClient* client);
31 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer(); 27 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer();
32 virtual WebKit::WebExternalTextureLayer* 28 virtual WebKit::WebExternalTextureLayer*
33 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); 29 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
34 virtual WebKit::WebIOSurfaceLayer* 30 virtual WebKit::WebIOSurfaceLayer*
(...skipping 13 matching lines...) Expand all
48 int animationId); 44 int animationId);
49 virtual WebKit::WebFloatAnimationCurve* 45 virtual WebKit::WebFloatAnimationCurve*
50 createFloatAnimationCurve(); 46 createFloatAnimationCurve();
51 virtual WebKit::WebTransformAnimationCurve* 47 virtual WebKit::WebTransformAnimationCurve*
52 createTransformAnimationCurve(); 48 createTransformAnimationCurve();
53 }; 49 };
54 50
55 } // namespace webkit 51 } // namespace webkit
56 52
57 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 53 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698