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

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

Issue 2045963003: WebScrollbarThemeClientImpl should not be DisplayItemClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ScrollbarPart pressedPart() const override; 73 ScrollbarPart pressedPart() const override;
74 ScrollbarPart hoveredPart() const override; 74 ScrollbarPart hoveredPart() const override;
75 void styleChanged() override; 75 void styleChanged() override;
76 void visibilityChanged() override; 76 void visibilityChanged() override;
77 bool enabled() const override; 77 bool enabled() const override;
78 void setEnabled(bool) override; 78 void setEnabled(bool) override;
79 bool isOverlayScrollbar() const override; 79 bool isOverlayScrollbar() const override;
80 float elasticOverscroll() const override; 80 float elasticOverscroll() const override;
81 void setElasticOverscroll(float) override; 81 void setElasticOverscroll(float) override;
82 82
83 // DisplayItemClient methods.
84 String debugName() const final;
85 // TODO(chrishtr): fix this.
86 LayoutRect visualRect() const override { return LayoutRect(); }
87
88 private: 83 private:
89 WebScrollbar& m_scrollbar; 84 WebScrollbar& m_scrollbar;
90 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION
91 }; 85 };
92 86
93 } // namespace blink 87 } // namespace blink
94 88
95 #endif // WebScrollbarThemeClientImpl_h 89 #endif // WebScrollbarThemeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698