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

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

Issue 531983002: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 17 matching lines...) Expand all
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/geometry/IntRect.h" 30 #include "platform/geometry/IntRect.h"
31 #include "platform/scroll/ScrollTypes.h" 31 #include "platform/scroll/ScrollTypes.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class GraphicsContext; 35 class GraphicsContext;
36 class PlatformMouseEvent; 36 class PlatformMouseEvent;
37 class ScrollbarThemeClient; 37 class ScrollbarThemeClient;
38 class ScrollView;
39 38
40 class PLATFORM_EXPORT ScrollbarTheme { 39 class PLATFORM_EXPORT ScrollbarTheme {
41 WTF_MAKE_NONCOPYABLE(ScrollbarTheme); WTF_MAKE_FAST_ALLOCATED; 40 WTF_MAKE_NONCOPYABLE(ScrollbarTheme); WTF_MAKE_FAST_ALLOCATED;
42 public: 41 public:
43 ScrollbarTheme() { } 42 ScrollbarTheme() { }
44 virtual ~ScrollbarTheme() { } 43 virtual ~ScrollbarTheme() { }
45 44
46 virtual void updateEnabledState(ScrollbarThemeClient*) { } 45 virtual void updateEnabledState(ScrollbarThemeClient*) { }
47 46
48 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& d amageRect); 47 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& d amageRect);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 static void setMockScrollbarsEnabled(bool flag); 132 static void setMockScrollbarsEnabled(bool flag);
134 static bool mockScrollbarsEnabled(); 133 static bool mockScrollbarsEnabled();
135 134
136 private: 135 private:
137 static ScrollbarTheme* nativeTheme(); // Must be implemented to return the c orrect theme subclass. 136 static ScrollbarTheme* nativeTheme(); // Must be implemented to return the c orrect theme subclass.
138 static bool gMockScrollbarsEnabled; 137 static bool gMockScrollbarsEnabled;
139 }; 138 };
140 139
141 } 140 }
142 #endif 141 #endif
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollableArea.h ('k') | Source/platform/scroll/ScrollbarThemeNonMacCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698