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

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

Issue 2467693002: Implement overlay scrollbar fade out for non-composited scrollers. (Closed)
Patch Set: sigh....git cl format 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual float currentPos() const = 0; 70 virtual float currentPos() const = 0;
71 virtual int visibleSize() const = 0; 71 virtual int visibleSize() const = 0;
72 virtual int totalSize() const = 0; 72 virtual int totalSize() const = 0;
73 virtual int maximum() const = 0; 73 virtual int maximum() const = 0;
74 virtual ScrollbarControlSize controlSize() const = 0; 74 virtual ScrollbarControlSize controlSize() const = 0;
75 75
76 virtual ScrollbarPart pressedPart() const = 0; 76 virtual ScrollbarPart pressedPart() const = 0;
77 virtual ScrollbarPart hoveredPart() const = 0; 77 virtual ScrollbarPart hoveredPart() const = 0;
78 78
79 virtual void styleChanged() = 0; 79 virtual void styleChanged() = 0;
80 virtual void visibilityChanged() = 0; 80 virtual void setScrollbarsHidden(bool) = 0;
81 81
82 virtual bool enabled() const = 0; 82 virtual bool enabled() const = 0;
83 virtual void setEnabled(bool) = 0; 83 virtual void setEnabled(bool) = 0;
84 84
85 virtual bool isOverlayScrollbar() const = 0; 85 virtual bool isOverlayScrollbar() const = 0;
86 86
87 virtual float elasticOverscroll() const = 0; 87 virtual float elasticOverscroll() const = 0;
88 virtual void setElasticOverscroll(float) = 0; 88 virtual void setElasticOverscroll(float) = 0;
89 89
90 protected: 90 protected:
91 virtual ~ScrollbarThemeClient() {} 91 virtual ~ScrollbarThemeClient() {}
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // ScollbarThemeClient_h 96 #endif // ScollbarThemeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698