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

Side by Side Diff: third_party/WebKit/public/platform/WebScrollbarThemePainter.h

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: Created 4 years, 2 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 BLINK_PLATFORM_EXPORT void paintBackTrackPart(WebCanvas*, const WebRect&); 57 BLINK_PLATFORM_EXPORT void paintBackTrackPart(WebCanvas*, const WebRect&);
58 BLINK_PLATFORM_EXPORT void paintForwardTrackPart(WebCanvas*, const WebRect&); 58 BLINK_PLATFORM_EXPORT void paintForwardTrackPart(WebCanvas*, const WebRect&);
59 BLINK_PLATFORM_EXPORT void paintBackButtonStart(WebCanvas*, const WebRect&); 59 BLINK_PLATFORM_EXPORT void paintBackButtonStart(WebCanvas*, const WebRect&);
60 BLINK_PLATFORM_EXPORT void paintBackButtonEnd(WebCanvas*, const WebRect&); 60 BLINK_PLATFORM_EXPORT void paintBackButtonEnd(WebCanvas*, const WebRect&);
61 BLINK_PLATFORM_EXPORT void paintForwardButtonStart(WebCanvas*, 61 BLINK_PLATFORM_EXPORT void paintForwardButtonStart(WebCanvas*,
62 const WebRect&); 62 const WebRect&);
63 BLINK_PLATFORM_EXPORT void paintForwardButtonEnd(WebCanvas*, const WebRect&); 63 BLINK_PLATFORM_EXPORT void paintForwardButtonEnd(WebCanvas*, const WebRect&);
64 BLINK_PLATFORM_EXPORT void paintTickmarks(WebCanvas*, const WebRect&); 64 BLINK_PLATFORM_EXPORT void paintTickmarks(WebCanvas*, const WebRect&);
65 BLINK_PLATFORM_EXPORT void paintThumb(WebCanvas*, const WebRect&); 65 BLINK_PLATFORM_EXPORT void paintThumb(WebCanvas*, const WebRect&);
66 66
67 // This opacity is applied on top of the content that is painted for the thumb . 67 // This opacity is applied on top of the content that is painted for the
68 // thumb.
68 BLINK_PLATFORM_EXPORT float thumbOpacity() const; 69 BLINK_PLATFORM_EXPORT float thumbOpacity() const;
69 70
70 BLINK_PLATFORM_EXPORT bool trackNeedsRepaint() const; 71 BLINK_PLATFORM_EXPORT bool trackNeedsRepaint() const;
71 BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const; 72 BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const;
72 73
73 #if INSIDE_BLINK 74 #if INSIDE_BLINK
74 BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme&, 75 BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme&,
75 Scrollbar&, 76 Scrollbar&,
76 float deviceScaleFactor); 77 float deviceScaleFactor);
77 #endif 78 #endif
(...skipping 10 matching lines...) Expand all
88 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for 89 // scrollbar (and not a WebScrollbar wrapper) due to static_casts for
89 // LayoutScrollbar and pointer-based HashMap lookups for Lion scrollbars. 90 // LayoutScrollbar and pointer-based HashMap lookups for Lion scrollbars.
90 WebPrivatePtr<Scrollbar> m_scrollbar; 91 WebPrivatePtr<Scrollbar> m_scrollbar;
91 92
92 float m_deviceScaleFactor; 93 float m_deviceScaleFactor;
93 }; 94 };
94 95
95 } // namespace blink 96 } // namespace blink
96 97
97 #endif 98 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698