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

Side by Side Diff: trunk/public/platform/WebCompositorSupport.h

Issue 183763024: Revert 168245 "Drop background color optimization for composited..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 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
« no previous file with comments | « trunk/Source/web/tests/GraphicsLayerTest.cpp ('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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual WebLayer* createLayer() { return 0; } 67 virtual WebLayer* createLayer() { return 0; }
68 68
69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; } 69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; }
70 70
71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return 0; } 71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return 0; }
72 72
73 virtual WebImageLayer* createImageLayer() { return 0; } 73 virtual WebImageLayer* createImageLayer() { return 0; }
74 74
75 virtual WebNinePatchLayer* createNinePatchLayer() { return 0; } 75 virtual WebNinePatchLayer* createNinePatchLayer() { return 0; }
76 76
77 // TODO(dshwang): This isn't used anymore.
78 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } 77 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
79 78
80 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium. 79 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium.
81 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; } 80 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; }
82 81
83 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; } 82 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; }
84 83
85 // Animation ---------------------------------------------------- 84 // Animation ----------------------------------------------------
86 85
87 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; } 86 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; }
88 87
89 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; } 88 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
90 89
91 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } 90 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
92 91
93 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; } 92 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
94 93
95 virtual WebTransformOperations* createTransformOperations() { return 0; } 94 virtual WebTransformOperations* createTransformOperations() { return 0; }
96 95
97 virtual WebFilterOperations* createFilterOperations() { return 0; } 96 virtual WebFilterOperations* createFilterOperations() { return 0; }
98 97
99 protected: 98 protected:
100 virtual ~WebCompositorSupport() { } 99 virtual ~WebCompositorSupport() { }
101 }; 100 };
102 101
103 } 102 }
104 103
105 #endif // WebCompositorSupport_h 104 #endif // WebCompositorSupport_h
OLDNEW
« no previous file with comments | « trunk/Source/web/tests/GraphicsLayerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698