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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "core/layout/LayoutScrollbarTheme.h" 26 #include "core/layout/LayoutScrollbarTheme.h"
27 27
28 #include "core/layout/LayoutScrollbar.h" 28 #include "core/layout/LayoutScrollbar.h"
29 #include "core/paint/ScrollbarPainter.h" 29 #include "core/paint/ScrollbarPainter.h"
30 #include "platform/graphics/GraphicsContext.h" 30 #include "platform/graphics/GraphicsContext.h"
31 #include "platform/graphics/paint/DrawingRecorder.h" 31 #include "platform/graphics/paint/DrawingRecorder.h"
32 #include "platform/scroll/Scrollbar.h" 32 #include "platform/scroll/Scrollbar.h"
33 #include "wtf/StdLibExtras.h" 33 #include "platform/wtf/StdLibExtras.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 LayoutScrollbarTheme* LayoutScrollbarTheme::GetLayoutScrollbarTheme() { 37 LayoutScrollbarTheme* LayoutScrollbarTheme::GetLayoutScrollbarTheme() {
38 DEFINE_STATIC_LOCAL(LayoutScrollbarTheme, theme, ()); 38 DEFINE_STATIC_LOCAL(LayoutScrollbarTheme, theme, ());
39 return &theme; 39 return &theme;
40 } 40 }
41 41
42 void LayoutScrollbarTheme::ButtonSizesAlongTrackAxis( 42 void LayoutScrollbarTheme::ButtonSizesAlongTrackAxis(
43 const ScrollbarThemeClient& scrollbar, 43 const ScrollbarThemeClient& scrollbar,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 .PaintPart(context, kThumbPart, rect); 167 .PaintPart(context, kThumbPart, rect);
168 } 168 }
169 169
170 void LayoutScrollbarTheme::PaintTickmarks(GraphicsContext& context, 170 void LayoutScrollbarTheme::PaintTickmarks(GraphicsContext& context,
171 const Scrollbar& scrollbar, 171 const Scrollbar& scrollbar,
172 const IntRect& rect) { 172 const IntRect& rect) {
173 ScrollbarTheme::GetTheme().PaintTickmarks(context, scrollbar, rect); 173 ScrollbarTheme::GetTheme().PaintTickmarks(context, scrollbar, rect);
174 } 174 }
175 175
176 } // namespace blink 176 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbar.h ('k') | third_party/WebKit/Source/core/layout/LayoutSlider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698