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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h

Issue 2045963003: WebScrollbarThemeClientImpl should not be DisplayItemClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 static LayoutScrollbarTheme* layoutScrollbarTheme(); 58 static LayoutScrollbarTheme* layoutScrollbarTheme();
59 59
60 protected: 60 protected:
61 bool hasButtons(const ScrollbarThemeClient&) override; 61 bool hasButtons(const ScrollbarThemeClient&) override;
62 bool hasThumb(const ScrollbarThemeClient&) override; 62 bool hasThumb(const ScrollbarThemeClient&) override;
63 63
64 IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool pain ting = false) override; 64 IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool pain ting = false) override;
65 IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool p ainting = false) override; 65 IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool p ainting = false) override;
66 IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) overri de; 66 IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) overri de;
67 67
68 void paintScrollbarBackground(GraphicsContext&, const ScrollbarThemeClient&) override; 68 void paintScrollbarBackground(GraphicsContext&, const Scrollbar&) override;
69 void paintTrackBackground(GraphicsContext&, const ScrollbarThemeClient&, con st IntRect&) override; 69 void paintTrackBackground(GraphicsContext&, const Scrollbar&, const IntRect& ) override;
70 void paintTrackPiece(GraphicsContext&, const ScrollbarThemeClient&, const In tRect&, ScrollbarPart) override; 70 void paintTrackPiece(GraphicsContext&, const Scrollbar&, const IntRect&, Scr ollbarPart) override;
71 void paintButton(GraphicsContext&, const ScrollbarThemeClient&, const IntRec t&, ScrollbarPart) override; 71 void paintButton(GraphicsContext&, const Scrollbar&, const IntRect&, Scrollb arPart) override;
72 void paintThumb(GraphicsContext&, const ScrollbarThemeClient&, const IntRect &) override; 72 void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override ;
73 void paintTickmarks(GraphicsContext&, const ScrollbarThemeClient&, const Int Rect&) override; 73 void paintTickmarks(GraphicsContext&, const Scrollbar&, const IntRect&) over ride;
74 74
75 IntRect constrainTrackRectToTrackPieces(const ScrollbarThemeClient&, const I ntRect&) override; 75 IntRect constrainTrackRectToTrackPieces(const ScrollbarThemeClient&, const I ntRect&) override;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // LayoutScrollbarTheme_h 80 #endif // LayoutScrollbarTheme_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698