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

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

Issue 2478463003: Revert of Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: 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 * 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool isLeftSideVerticalScrollbar() const override; 68 bool isLeftSideVerticalScrollbar() const override;
69 int value() const override; 69 int value() const override;
70 float currentPos() const override; 70 float currentPos() const override;
71 int visibleSize() const override; 71 int visibleSize() const override;
72 int totalSize() const override; 72 int totalSize() const override;
73 int maximum() const override; 73 int maximum() const override;
74 ScrollbarControlSize controlSize() const override; 74 ScrollbarControlSize controlSize() const override;
75 ScrollbarPart pressedPart() const override; 75 ScrollbarPart pressedPart() const override;
76 ScrollbarPart hoveredPart() const override; 76 ScrollbarPart hoveredPart() const override;
77 void styleChanged() override; 77 void styleChanged() override;
78 void setScrollbarsHidden(bool) override; 78 void visibilityChanged() override;
79 bool enabled() const override; 79 bool enabled() const override;
80 void setEnabled(bool) override; 80 void setEnabled(bool) override;
81 bool isOverlayScrollbar() const override; 81 bool isOverlayScrollbar() const override;
82 float elasticOverscroll() const override; 82 float elasticOverscroll() const override;
83 void setElasticOverscroll(float) override; 83 void setElasticOverscroll(float) override;
84 84
85 private: 85 private:
86 WebScrollbar& m_scrollbar; 86 WebScrollbar& m_scrollbar;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // WebScrollbarThemeClientImpl_h 91 #endif // WebScrollbarThemeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698