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

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

Issue 246293006: Blink Support for Overlay Scrollbar Animation Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix unittest and move unittest to blink_platform_unittests Created 6 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
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeOverlay.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 InnerSpinButtonExtraParams innerSpin; 179 InnerSpinButtonExtraParams innerSpin;
180 ProgressBarExtraParams progressBar; 180 ProgressBarExtraParams progressBar;
181 }; 181 };
182 182
183 // Gets the size of the given theme part. For variable sized items 183 // Gets the size of the given theme part. For variable sized items
184 // like vertical scrollbar thumbs, the width will be the required width of 184 // like vertical scrollbar thumbs, the width will be the required width of
185 // the track while the height will be the minimum height. 185 // the track while the height will be the minimum height.
186 virtual WebSize getSize(Part) { return WebSize(); } 186 virtual WebSize getSize(Part) { return WebSize(); }
187 // Paint the given the given theme part. 187 // Paint the given the given theme part.
188 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { } 188 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { }
189 virtual void paintStateTransition(WebCanvas*, Part, State, State, double, co nst WebRect&) { }
189 }; 190 };
190 191
191 } // namespace blink 192 } // namespace blink
192 193
193 #endif 194 #endif
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeOverlay.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698