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

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

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 82 bool trackNeedsRepaint() const override;
83 void setTrackNeedsRepaint(bool) override; 83 void setTrackNeedsRepaint(bool) override;
84 bool thumbNeedsRepaint() const override; 84 bool thumbNeedsRepaint() const override;
85 void setThumbNeedsRepaint(bool) override; 85 void setThumbNeedsRepaint(bool) override;
86 DisplayItemClient displayItemClient() const override;
87 String debugName() const override; 86 String debugName() const override;
pdr. 2015/12/05 21:39:19 Should this be final?
Xianzhu 2015/12/07 17:14:00 Done.
88 87
89 private: 88 private:
90 WebScrollbar* m_scrollbar; 89 WebScrollbar* m_scrollbar;
91 }; 90 };
92 91
93 } // namespace blink 92 } // namespace blink
94 93
95 #endif // WebScrollbarThemeClientImpl_h 94 #endif // WebScrollbarThemeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698