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

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

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile. Created 7 years, 3 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 (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_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" 10 #include "third_party/WebKit/public/platform/WebCompositorSupport.h"
(...skipping 16 matching lines...) Expand all
27 WebKit::WebContentLayerClient* client); 27 WebKit::WebContentLayerClient* client);
28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer( 28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer(
29 WebKit::WebExternalTextureLayerClient* client); 29 WebKit::WebExternalTextureLayerClient* client);
30 virtual WebKit::WebImageLayer* createImageLayer(); 30 virtual WebKit::WebImageLayer* createImageLayer();
31 virtual WebKit::WebNinePatchLayer* createNinePatchLayer(); 31 virtual WebKit::WebNinePatchLayer* createNinePatchLayer();
32 virtual WebKit::WebSolidColorLayer* createSolidColorLayer(); 32 virtual WebKit::WebSolidColorLayer* createSolidColorLayer();
33 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( 33 virtual WebKit::WebScrollbarLayer* createScrollbarLayer(
34 WebKit::WebScrollbar* scrollbar, 34 WebKit::WebScrollbar* scrollbar,
35 WebKit::WebScrollbarThemePainter painter, 35 WebKit::WebScrollbarThemePainter painter,
36 WebKit::WebScrollbarThemeGeometry*); 36 WebKit::WebScrollbarThemeGeometry*);
37 virtual WebKit::WebScrollbarLayer* createSolidColorScrollbarLayer(
38 WebKit::WebScrollbar::Orientation orientation, int thumb_thickness);
37 virtual WebKit::WebAnimation* createAnimation( 39 virtual WebKit::WebAnimation* createAnimation(
38 const WebKit::WebAnimationCurve& curve, 40 const WebKit::WebAnimationCurve& curve,
39 WebKit::WebAnimation::TargetProperty target, 41 WebKit::WebAnimation::TargetProperty target,
40 int animation_id); 42 int animation_id);
41 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); 43 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve();
42 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); 44 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve();
43 virtual WebKit::WebTransformOperations* createTransformOperations(); 45 virtual WebKit::WebTransformOperations* createTransformOperations();
44 virtual WebKit::WebFilterOperations* createFilterOperations(); 46 virtual WebKit::WebFilterOperations* createFilterOperations();
45 47
46 private: 48 private:
47 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); 49 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
48 }; 50 };
49 51
50 } // namespace webkit 52 } // namespace webkit
51 53
52 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 54 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/common/webpreferences.cc ('k') | webkit/renderer/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698