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

Side by Side Diff: Source/core/rendering/RenderListBox.h

Issue 23480037: Fix RTL scroll bars being misrendered on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isLeftSideVerticalScrollbar Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file is part of the select element renderer in WebCore. 2 * This file is part of the select element renderer in WebCore.
3 * 3 *
4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual Scrollbar* verticalScrollbar() const OVERRIDE { return m_vBar.get(); } 118 virtual Scrollbar* verticalScrollbar() const OVERRIDE { return m_vBar.get(); }
119 virtual IntSize contentsSize() const OVERRIDE; 119 virtual IntSize contentsSize() const OVERRIDE;
120 virtual int visibleHeight() const OVERRIDE; 120 virtual int visibleHeight() const OVERRIDE;
121 virtual int visibleWidth() const OVERRIDE; 121 virtual int visibleWidth() const OVERRIDE;
122 virtual IntPoint lastKnownMousePosition() const OVERRIDE; 122 virtual IntPoint lastKnownMousePosition() const OVERRIDE;
123 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; 123 virtual bool shouldSuspendScrollAnimations() const OVERRIDE;
124 virtual bool scrollbarsCanBeActive() const OVERRIDE; 124 virtual bool scrollbarsCanBeActive() const OVERRIDE;
125 virtual IntPoint minimumScrollPosition() const OVERRIDE; 125 virtual IntPoint minimumScrollPosition() const OVERRIDE;
126 virtual IntPoint maximumScrollPosition() const OVERRIDE; 126 virtual IntPoint maximumScrollPosition() const OVERRIDE;
127 virtual bool userInputScrollable(ScrollbarOrientation) const OVERRIDE; 127 virtual bool userInputScrollable(ScrollbarOrientation) const OVERRIDE;
128 virtual bool shouldPlaceVerticalScrollbarOnLeft() const OVERRIDE;
128 virtual int lineStep(ScrollbarOrientation) const; 129 virtual int lineStep(ScrollbarOrientation) const;
129 virtual int pageStep(ScrollbarOrientation) const; 130 virtual int pageStep(ScrollbarOrientation) const;
130 virtual float pixelStep(ScrollbarOrientation) const; 131 virtual float pixelStep(ScrollbarOrientation) const;
131 132
132 133
133 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE; 134 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE;
134 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; 135 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE;
135 136
136 // NOTE: This should only be called by the overriden setScrollOffset from Sc rollableArea. 137 // NOTE: This should only be called by the overriden setScrollOffset from Sc rollableArea.
137 void scrollTo(int newOffset); 138 void scrollTo(int newOffset);
(...skipping 26 matching lines...) Expand all
164 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); 165 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox());
165 return static_cast<RenderListBox*>(object); 166 return static_cast<RenderListBox*>(object);
166 } 167 }
167 168
168 // This will catch anyone doing an unnecessary cast. 169 // This will catch anyone doing an unnecessary cast.
169 void toRenderListBox(const RenderListBox*); 170 void toRenderListBox(const RenderListBox*);
170 171
171 } // namepace WebCore 172 } // namepace WebCore
172 173
173 #endif // RenderListBox_h 174 #endif // RenderListBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698