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

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

Issue 689283003: Remove scroll corners and resizers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 /* 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 enum Part { 88 enum Part {
89 // ScrollbarTheme parts 89 // ScrollbarTheme parts
90 PartScrollbarDownArrow, 90 PartScrollbarDownArrow,
91 PartScrollbarLeftArrow, 91 PartScrollbarLeftArrow,
92 PartScrollbarRightArrow, 92 PartScrollbarRightArrow,
93 PartScrollbarUpArrow, 93 PartScrollbarUpArrow,
94 PartScrollbarHorizontalThumb, 94 PartScrollbarHorizontalThumb,
95 PartScrollbarVerticalThumb, 95 PartScrollbarVerticalThumb,
96 PartScrollbarHorizontalTrack, 96 PartScrollbarHorizontalTrack,
97 PartScrollbarVerticalTrack, 97 PartScrollbarVerticalTrack,
98 PartScrollbarCorner,
99 98
100 // RenderTheme parts 99 // RenderTheme parts
101 PartCheckbox, 100 PartCheckbox,
102 PartRadio, 101 PartRadio,
103 PartButton, 102 PartButton,
104 PartMenuList, 103 PartMenuList,
105 PartSliderTrack, 104 PartSliderTrack,
106 PartSliderThumb, 105 PartSliderThumb,
107 PartInnerSpinButton, 106 PartInnerSpinButton,
108 PartProgressBar 107 PartProgressBar
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // like vertical scrollbar thumbs, the width will be the required width of 174 // like vertical scrollbar thumbs, the width will be the required width of
176 // the track while the height will be the minimum height. 175 // the track while the height will be the minimum height.
177 virtual WebSize getSize(Part) { return WebSize(); } 176 virtual WebSize getSize(Part) { return WebSize(); }
178 // Paint the given the given theme part. 177 // Paint the given the given theme part.
179 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { } 178 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { }
180 }; 179 };
181 180
182 } // namespace blink 181 } // namespace blink
183 182
184 #endif 183 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebFallbackThemeEngine.h ('k') | sky/engine/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698