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

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

Issue 2730773003: Rename FrameViewBase fields and methods *Widget* to ...FrameViewBase... (Closed)
Patch Set: Created 3 years, 9 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) 2004, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2006 Apple Computer, 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void mouseEntered(); 149 void mouseEntered();
150 void mouseExited(); 150 void mouseExited();
151 151
152 // Used by some platform scrollbars to know when they've been released from 152 // Used by some platform scrollbars to know when they've been released from
153 // capture. 153 // capture.
154 void mouseUp(const WebMouseEvent&); 154 void mouseUp(const WebMouseEvent&);
155 void mouseDown(const WebMouseEvent&); 155 void mouseDown(const WebMouseEvent&);
156 156
157 ScrollbarTheme& theme() const { return m_theme; } 157 ScrollbarTheme& theme() const { return m_theme; }
158 158
159 IntRect convertToContainingWidget(const IntRect&) const override; 159 IntRect convertToContainingFrameViewBase(const IntRect&) const override;
160 IntRect convertFromContainingWidget(const IntRect&) const override; 160 IntRect convertFromContainingFrameViewBase(const IntRect&) const override;
161 161
162 IntPoint convertToContainingWidget(const IntPoint&) const override; 162 IntPoint convertToContainingFrameViewBase(const IntPoint&) const override;
163 IntPoint convertFromContainingWidget(const IntPoint&) const override; 163 IntPoint convertFromContainingFrameViewBase(const IntPoint&) const override;
164 164
165 void moveThumb(int pos, bool draggingDocument = false); 165 void moveThumb(int pos, bool draggingDocument = false);
166 166
167 float elasticOverscroll() const override { return m_elasticOverscroll; } 167 float elasticOverscroll() const override { return m_elasticOverscroll; }
168 void setElasticOverscroll(float elasticOverscroll) override { 168 void setElasticOverscroll(float elasticOverscroll) override {
169 m_elasticOverscroll = elasticOverscroll; 169 m_elasticOverscroll = elasticOverscroll;
170 } 170 }
171 171
172 // Use setNeedsPaintInvalidation to cause the scrollbar (or parts thereof) 172 // Use setNeedsPaintInvalidation to cause the scrollbar (or parts thereof)
173 // to repaint. 173 // to repaint.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 DEFINE_TYPE_CASTS(Scrollbar, 263 DEFINE_TYPE_CASTS(Scrollbar,
264 FrameViewBase, 264 FrameViewBase,
265 frameViewBase, 265 frameViewBase,
266 frameViewBase->isScrollbar(), 266 frameViewBase->isScrollbar(),
267 frameViewBase.isScrollbar()); 267 frameViewBase.isScrollbar());
268 268
269 } // namespace blink 269 } // namespace blink
270 270
271 #endif // Scrollbar_h 271 #endif // Scrollbar_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.h ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698