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

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

Issue 234613002: Set track_start on solid color layers to the margin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeAndroid.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 77 // TODO(dshwang): This isn't used anymore.
78 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } 78 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
79 79
80 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium. 80 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium.
81 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; } 81 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; }
82 82
83 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; } 83 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return 0; }
84 84
85 // Animation ---------------------------------------------------- 85 // Animation ----------------------------------------------------
86 86
87 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; } 87 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; }
88 88
89 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; } 89 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
90 90
91 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } 91 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
92 92
93 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; } 93 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
94 94
95 virtual WebTransformOperations* createTransformOperations() { return 0; } 95 virtual WebTransformOperations* createTransformOperations() { return 0; }
96 96
97 virtual WebFilterOperations* createFilterOperations() { return 0; } 97 virtual WebFilterOperations* createFilterOperations() { return 0; }
98 98
99 protected: 99 protected:
100 virtual ~WebCompositorSupport() { } 100 virtual ~WebCompositorSupport() { }
101 }; 101 };
102 102
103 } 103 }
104 104
105 #endif // WebCompositorSupport_h 105 #endif // WebCompositorSupport_h
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeAndroid.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698