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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: fix test 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) 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 * 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 WebPoint location() const override; 52 WebPoint location() const override;
53 WebSize size() const override; 53 WebSize size() const override;
54 bool enabled() const override; 54 bool enabled() const override;
55 int maximum() const override; 55 int maximum() const override;
56 int totalSize() const override; 56 int totalSize() const override;
57 bool isScrollableAreaActive() const override; 57 bool isScrollableAreaActive() const override;
58 void getTickmarks(WebVector<WebRect>& tickmarks) const override; 58 void getTickmarks(WebVector<WebRect>& tickmarks) const override;
59 ScrollbarControlSize controlSize() const override; 59 ScrollbarControlSize controlSize() const override;
60 ScrollbarPart pressedPart() const override; 60 ScrollbarPart pressedPart() const override;
61 ScrollbarPart hoveredPart() const override; 61 ScrollbarPart hoveredPart() const override;
62 ScrollbarOverlayStyle scrollbarOverlayStyle() const override; 62 WebScrollbarOverlayColorTheme scrollbarOverlayColorTheme() const override;
63 bool isCustomScrollbar() const override; 63 bool isCustomScrollbar() const override;
64 Orientation orientation() const override; 64 Orientation orientation() const override;
65 bool isLeftSideVerticalScrollbar() const override; 65 bool isLeftSideVerticalScrollbar() const override;
66 float elasticOverscroll() const override; 66 float elasticOverscroll() const override;
67 void setElasticOverscroll(float) override; 67 void setElasticOverscroll(float) override;
68 68
69 private: 69 private:
70 explicit WebScrollbarImpl(Scrollbar*); 70 explicit WebScrollbarImpl(Scrollbar*);
71 71
72 Persistent<Scrollbar> m_scrollbar; 72 Persistent<Scrollbar> m_scrollbar;
73 }; 73 };
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif 77 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698