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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ScrollbarPart hoveredPart() const override; 72 ScrollbarPart hoveredPart() const override;
73 void styleChanged() override; 73 void styleChanged() override;
74 void visibilityChanged() override; 74 void visibilityChanged() override;
75 bool enabled() const override; 75 bool enabled() const override;
76 void setEnabled(bool) override; 76 void setEnabled(bool) override;
77 bool isOverlayScrollbar() const override; 77 bool isOverlayScrollbar() const override;
78 bool isAlphaLocked() const override; 78 bool isAlphaLocked() const override;
79 void setIsAlphaLocked(bool) override; 79 void setIsAlphaLocked(bool) override;
80 float elasticOverscroll() const override; 80 float elasticOverscroll() const override;
81 void setElasticOverscroll(float) override; 81 void setElasticOverscroll(float) override;
82 bool trackNeedsRepaint() const override;
83 void setTrackNeedsRepaint(bool) override;
84 bool thumbNeedsRepaint() const override;
85 void setThumbNeedsRepaint(bool) override;
82 DisplayItemClient displayItemClient() const override; 86 DisplayItemClient displayItemClient() const override;
83 String debugName() const override; 87 String debugName() const override;
84 88
85 private: 89 private:
86 WebScrollbar* m_scrollbar; 90 WebScrollbar* m_scrollbar;
87 }; 91 };
88 92
89 } // namespace blink 93 } // namespace blink
90 94
91 #endif // WebScrollbarThemeClientImpl_h 95 #endif // WebScrollbarThemeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698