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

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

Issue 2478743003: add Tickmarks to aura overlay scrollbar (Closed)
Patch Set: typo 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) 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2009, 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 IntRect backButtonRect(const ScrollbarThemeClient&, 47 IntRect backButtonRect(const ScrollbarThemeClient&,
48 ScrollbarPart, 48 ScrollbarPart,
49 bool painting = false) override; 49 bool painting = false) override;
50 IntRect forwardButtonRect(const ScrollbarThemeClient&, 50 IntRect forwardButtonRect(const ScrollbarThemeClient&,
51 ScrollbarPart, 51 ScrollbarPart,
52 bool painting = false) override; 52 bool painting = false) override;
53 IntRect trackRect(const ScrollbarThemeClient&, 53 IntRect trackRect(const ScrollbarThemeClient&,
54 bool painting = false) override; 54 bool painting = false) override;
55 int minimumThumbLength(const ScrollbarThemeClient&) override; 55 int minimumThumbLength(const ScrollbarThemeClient&) override;
56 56
57 void paintTickmarks(GraphicsContext&,
58 const Scrollbar&,
59 const IntRect&) override;
60 void paintTrackBackground(GraphicsContext&, 57 void paintTrackBackground(GraphicsContext&,
61 const Scrollbar&, 58 const Scrollbar&,
62 const IntRect&) override; 59 const IntRect&) override;
63 void paintTrackPiece(GraphicsContext&, 60 void paintTrackPiece(GraphicsContext&,
64 const Scrollbar&, 61 const Scrollbar&,
65 const IntRect&, 62 const IntRect&,
66 ScrollbarPart) override; 63 ScrollbarPart) override;
67 void paintButton(GraphicsContext&, 64 void paintButton(GraphicsContext&,
68 const Scrollbar&, 65 const Scrollbar&,
69 const IntRect&, 66 const IntRect&,
(...skipping 11 matching lines...) Expand all
81 FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, ButtonSizeVertical); 78 FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, ButtonSizeVertical);
82 FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, NoButtonsReturnsSize0); 79 FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, NoButtonsReturnsSize0);
83 80
84 virtual bool hasScrollbarButtons(ScrollbarOrientation) const; 81 virtual bool hasScrollbarButtons(ScrollbarOrientation) const;
85 IntSize buttonSize(const ScrollbarThemeClient&); 82 IntSize buttonSize(const ScrollbarThemeClient&);
86 }; 83 };
87 84
88 } // namespace blink 85 } // namespace blink
89 86
90 #endif 87 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698