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

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

Issue 2763373002: Overlay scrollbars flush with window edge (Closed)
Patch Set: bokan comment addressed Created 3 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 bool determinate; 133 bool determinate;
134 int valueRectX; 134 int valueRectX;
135 int valueRectY; 135 int valueRectY;
136 int valueRectWidth; 136 int valueRectWidth;
137 int valueRectHeight; 137 int valueRectHeight;
138 }; 138 };
139 139
140 // Extra parameters for scrollbar thumb. Used only for overlay scrollbars. 140 // Extra parameters for scrollbar thumb. Used only for overlay scrollbars.
141 struct ScrollbarThumbExtraParams { 141 struct ScrollbarThumbExtraParams {
142 WebScrollbarOverlayColorTheme scrollbarTheme; 142 WebScrollbarOverlayColorTheme scrollbarTheme;
143 bool isLeftVerticalScrollbar;
143 }; 144 };
144 145
145 union ExtraParams { 146 union ExtraParams {
146 ScrollbarTrackExtraParams scrollbarTrack; 147 ScrollbarTrackExtraParams scrollbarTrack;
147 ButtonExtraParams button; 148 ButtonExtraParams button;
148 TextFieldExtraParams textField; 149 TextFieldExtraParams textField;
149 MenuListExtraParams menuList; 150 MenuListExtraParams menuList;
150 SliderExtraParams slider; 151 SliderExtraParams slider;
151 InnerSpinButtonExtraParams innerSpin; 152 InnerSpinButtonExtraParams innerSpin;
152 ProgressBarExtraParams progressBar; 153 ProgressBarExtraParams progressBar;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual void paint(WebCanvas*, 187 virtual void paint(WebCanvas*,
187 Part, 188 Part,
188 State, 189 State,
189 const WebRect&, 190 const WebRect&,
190 const ExtraParams*) {} 191 const ExtraParams*) {}
191 }; 192 };
192 193
193 } // namespace blink 194 } // namespace blink
194 195
195 #endif 196 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698