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

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

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Rebase and resolve Created 5 years 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void setEnabled(bool) = 0; 84 virtual void setEnabled(bool) = 0;
85 85
86 virtual bool isOverlayScrollbar() const = 0; 86 virtual bool isOverlayScrollbar() const = 0;
87 87
88 virtual bool isAlphaLocked() const = 0; 88 virtual bool isAlphaLocked() const = 0;
89 virtual void setIsAlphaLocked(bool) = 0; 89 virtual void setIsAlphaLocked(bool) = 0;
90 90
91 virtual float elasticOverscroll() const = 0; 91 virtual float elasticOverscroll() const = 0;
92 virtual void setElasticOverscroll(float) = 0; 92 virtual void setElasticOverscroll(float) = 0;
93 93
94 virtual bool trackNeedsRepaint() const = 0;
95 virtual void setTrackNeedsRepaint(bool) = 0;
96 virtual bool thumbNeedsRepaint() const = 0;
97 virtual void setThumbNeedsRepaint(bool) = 0;
98
94 virtual DisplayItemClient displayItemClient() const = 0; 99 virtual DisplayItemClient displayItemClient() const = 0;
95 virtual String debugName() const = 0; 100 virtual String debugName() const = 0;
96 101
97 protected: 102 protected:
98 virtual ~ScrollbarThemeClient() { } 103 virtual ~ScrollbarThemeClient() { }
99 }; 104 };
100 105
101 } // namespace blink 106 } // namespace blink
102 107
103 #endif // ScollbarThemeClient_h 108 #endif // ScollbarThemeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698