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

Side by Side Diff: WebCore/rendering/RenderListBox.h

Issue 3364013: Merge 67001 - 2010-09-08 Peter Kasting <pkasting@google.com>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « WebCore/rendering/RenderLayer.cpp ('k') | WebCore/rendering/RenderListBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual int scrollWidth() const; 89 virtual int scrollWidth() const;
90 virtual int scrollHeight() const; 90 virtual int scrollHeight() const;
91 virtual void setScrollLeft(int); 91 virtual void setScrollLeft(int);
92 virtual void setScrollTop(int); 92 virtual void setScrollTop(int);
93 93
94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y , int tx, int ty, HitTestAction); 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y , int tx, int ty, HitTestAction);
95 95
96 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 96 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
97 97
98 // ScrollbarClient interface. 98 // ScrollbarClient interface.
99 virtual int scrollSize(ScrollbarOrientation orientation) const;
100 virtual void setScrollOffsetFromAnimation(const IntPoint&);
99 virtual void valueChanged(Scrollbar*); 101 virtual void valueChanged(Scrollbar*);
100 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); 102 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&);
101 virtual bool isActive() const; 103 virtual bool isActive() const;
102 virtual bool scrollbarCornerPresent() const { return false; } // We don't su pport resize on list boxes yet. If we did this would have to change. 104 virtual bool scrollbarCornerPresent() const { return false; } // We don't su pport resize on list boxes yet. If we did this would have to change.
103 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect&) const; 105 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const IntRect&) const;
104 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect&) const; 106 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const IntRect&) const;
105 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons t IntPoint&) const; 107 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons t IntPoint&) const;
106 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons t IntPoint&) const; 108 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons t IntPoint&) const;
107 109
108 void setHasVerticalScrollbar(bool hasScrollbar); 110 void setHasVerticalScrollbar(bool hasScrollbar);
(...skipping 25 matching lines...) Expand all
134 ASSERT(!object || object->isListBox()); 136 ASSERT(!object || object->isListBox());
135 return static_cast<RenderListBox*>(object); 137 return static_cast<RenderListBox*>(object);
136 } 138 }
137 139
138 // This will catch anyone doing an unnecessary cast. 140 // This will catch anyone doing an unnecessary cast.
139 void toRenderListBox(const RenderListBox*); 141 void toRenderListBox(const RenderListBox*);
140 142
141 } // namepace WebCore 143 } // namepace WebCore
142 144
143 #endif // RenderListBox_h 145 #endif // RenderListBox_h
OLDNEW
« no previous file with comments | « WebCore/rendering/RenderLayer.cpp ('k') | WebCore/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698