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

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

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments 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/public/platform/WebCompositorSupport.h ('k') | sky/engine/web/LinkHighlight.cpp » ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 struct ScrollbarInfo { 74 struct ScrollbarInfo {
75 ScrollbarOrientation orientation; 75 ScrollbarOrientation orientation;
76 ScrollbarParent parent; 76 ScrollbarParent parent;
77 int maxValue; 77 int maxValue;
78 int currentValue; 78 int currentValue;
79 int visibleSize; 79 int visibleSize;
80 int totalSize; 80 int totalSize;
81 }; 81 };
82 82
83 virtual void paintScrollbarThumb(WebCanvas*, State, Size, const WebRect&, co nst ScrollbarInfo&) { }
84
85 // FIXME: The remaining definitions are only used on the non-Apple ports. 83 // FIXME: The remaining definitions are only used on the non-Apple ports.
86 84
87 // The UI part which is being accessed. 85 // The UI part which is being accessed.
88 enum Part { 86 enum Part {
89 // ScrollbarTheme parts 87 // ScrollbarTheme parts
90 PartScrollbarDownArrow, 88 PartScrollbarDownArrow,
91 PartScrollbarLeftArrow, 89 PartScrollbarLeftArrow,
92 PartScrollbarRightArrow, 90 PartScrollbarRightArrow,
93 PartScrollbarUpArrow, 91 PartScrollbarUpArrow,
94 PartScrollbarHorizontalThumb, 92 PartScrollbarHorizontalThumb,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // like vertical scrollbar thumbs, the width will be the required width of 172 // like vertical scrollbar thumbs, the width will be the required width of
175 // the track while the height will be the minimum height. 173 // the track while the height will be the minimum height.
176 virtual WebSize getSize(Part) { return WebSize(); } 174 virtual WebSize getSize(Part) { return WebSize(); }
177 // Paint the given the given theme part. 175 // Paint the given the given theme part.
178 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { } 176 virtual void paint(WebCanvas*, Part, State, const WebRect&, const ExtraParam s*) { }
179 }; 177 };
180 178
181 } // namespace blink 179 } // namespace blink
182 180
183 #endif 181 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebCompositorSupport.h ('k') | sky/engine/web/LinkHighlight.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698