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

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

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef ScrollbarThemeMac_h 26 #ifndef ScrollbarThemeMac_h
27 #define ScrollbarThemeMac_h 27 #define ScrollbarThemeMac_h
28 28
29 #include "platform/mac/NSScrollerImpDetails.h" 29 #include "platform/mac/NSScrollerImpDetails.h"
30 #include "platform/scroll/ScrollbarTheme.h" 30 #include "platform/scroll/ScrollbarTheme.h"
31 31
32 typedef id ScrollbarPainter; 32 typedef id ScrollbarPainter;
33 33
34 class SkCanvas;
35
36 namespace blink { 34 namespace blink {
37 35
38 class Pattern; 36 class Pattern;
39 37
40 class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme { 38 class PLATFORM_EXPORT ScrollbarThemeMac : public ScrollbarTheme {
41 public: 39 public:
42 ~ScrollbarThemeMac() override; 40 ~ScrollbarThemeMac() override;
43 41
44 void registerScrollbar(ScrollbarThemeClient&) override; 42 void registerScrollbar(ScrollbarThemeClient&) override;
45 void unregisterScrollbar(ScrollbarThemeClient&) override; 43 void unregisterScrollbar(ScrollbarThemeClient&) override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 108
111 int minimumThumbLength(const ScrollbarThemeClient&) override; 109 int minimumThumbLength(const ScrollbarThemeClient&) override;
112 110
113 int tickmarkBorderWidth() override { return 1; } 111 int tickmarkBorderWidth() override { return 1; }
114 112
115 RefPtr<Pattern> m_overhangPattern; 113 RefPtr<Pattern> m_overhangPattern;
116 }; 114 };
117 } 115 }
118 116
119 #endif // ScrollbarThemeMac_h 117 #endif // ScrollbarThemeMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698