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

Side by Side Diff: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 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) 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 20 matching lines...) Expand all
31 #include "platform/graphics/paint/DisplayItem.h" 31 #include "platform/graphics/paint/DisplayItem.h"
32 #include "platform/scroll/ScrollTypes.h" 32 #include "platform/scroll/ScrollTypes.h"
33 #include "platform/scroll/Scrollbar.h" 33 #include "platform/scroll/Scrollbar.h"
34 #include "public/platform/WebScrollbarButtonsPlacement.h" 34 #include "public/platform/WebScrollbarButtonsPlacement.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class CullRect; 38 class CullRect;
39 class GraphicsContext; 39 class GraphicsContext;
40 class PlatformMouseEvent; 40 class PlatformMouseEvent;
41 class ScrollbarThemePaintParams;
42 41
43 class PLATFORM_EXPORT ScrollbarTheme { 42 class PLATFORM_EXPORT ScrollbarTheme {
44 WTF_MAKE_NONCOPYABLE(ScrollbarTheme); 43 WTF_MAKE_NONCOPYABLE(ScrollbarTheme);
45 USING_FAST_MALLOC(ScrollbarTheme); 44 USING_FAST_MALLOC(ScrollbarTheme);
46 45
47 public: 46 public:
48 ScrollbarTheme() {} 47 ScrollbarTheme() {}
49 virtual ~ScrollbarTheme() {} 48 virtual ~ScrollbarTheme() {}
50 49
51 // If true, then scrollbars with this theme will be painted every time 50 // If true, then scrollbars with this theme will be painted every time
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart); 178 static DisplayItem::Type trackPiecePartToDisplayItemType(ScrollbarPart);
180 179
181 private: 180 private:
182 static ScrollbarTheme& 181 static ScrollbarTheme&
183 nativeTheme(); // Must be implemented to return the correct theme subclass. 182 nativeTheme(); // Must be implemented to return the correct theme subclass.
184 static bool gMockScrollbarsEnabled; 183 static bool gMockScrollbarsEnabled;
185 }; 184 };
186 185
187 } // namespace blink 186 } // namespace blink
188 #endif 187 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698