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

Side by Side Diff: sky/engine/public/platform/WebFallbackThemeEngine.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
« no previous file with comments | « sky/engine/platform/scroll/Scrollbar.cpp ('k') | sky/engine/public/platform/WebThemeEngine.h » ('j') | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 enum Part { 45 enum Part {
46 // ScrollbarTheme parts 46 // ScrollbarTheme parts
47 PartScrollbarDownArrow, 47 PartScrollbarDownArrow,
48 PartScrollbarLeftArrow, 48 PartScrollbarLeftArrow,
49 PartScrollbarRightArrow, 49 PartScrollbarRightArrow,
50 PartScrollbarUpArrow, 50 PartScrollbarUpArrow,
51 PartScrollbarHorizontalThumb, 51 PartScrollbarHorizontalThumb,
52 PartScrollbarVerticalThumb, 52 PartScrollbarVerticalThumb,
53 PartScrollbarHorizontalTrack, 53 PartScrollbarHorizontalTrack,
54 PartScrollbarVerticalTrack, 54 PartScrollbarVerticalTrack,
55 PartScrollbarCorner,
56 55
57 // RenderTheme parts 56 // RenderTheme parts
58 PartCheckbox, 57 PartCheckbox,
59 PartRadio, 58 PartRadio,
60 PartButton, 59 PartButton,
61 PartMenuList, 60 PartMenuList,
62 PartSliderTrack, 61 PartSliderTrack,
63 PartSliderThumb, 62 PartSliderThumb,
64 PartInnerSpinButton, 63 PartInnerSpinButton,
65 PartProgressBar 64 PartProgressBar
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // like vertical scrollbar thumbs, the width will be the required width of 134 // like vertical scrollbar thumbs, the width will be the required width of
136 // the track while the height will be the minimum height. 135 // the track while the height will be the minimum height.
137 virtual WebSize getSize(Part) { return WebSize(); } 136 virtual WebSize getSize(Part) { return WebSize(); }
138 // Paint the given the given theme part. 137 // Paint the given the given theme part.
139 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { } 138 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { }
140 }; 139 };
141 140
142 } // namespace blink 141 } // namespace blink
143 142
144 #endif 143 #endif
OLDNEW
« no previous file with comments | « sky/engine/platform/scroll/Scrollbar.cpp ('k') | sky/engine/public/platform/WebThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698