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

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

Issue 53373003: Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 7 years, 1 month 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
« no previous file with comments | « Source/core/rendering/RenderInline.cpp ('k') | Source/core/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 int size() const; 58 int size() const;
59 59
60 private: 60 private:
61 HTMLSelectElement* selectElement() const; 61 HTMLSelectElement* selectElement() const;
62 62
63 virtual const char* renderName() const { return "RenderListBox"; } 63 virtual const char* renderName() const { return "RenderListBox"; }
64 64
65 virtual bool isListBox() const { return true; } 65 virtual bool isListBox() const { return true; }
66 66
67 virtual void updateFromElement(); 67 virtual void updateFromElement();
68 virtual bool canBeReplacedWithInlineRunIn() const OVERRIDE;
69 virtual bool hasControlClip() const { return true; } 68 virtual bool hasControlClip() const { return true; }
70 virtual void paintObject(PaintInfo&, const LayoutPoint&); 69 virtual void paintObject(PaintInfo&, const LayoutPoint&);
71 virtual LayoutRect controlClipRect(const LayoutPoint&) const; 70 virtual LayoutRect controlClipRect(const LayoutPoint&) const;
72 71
73 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc ationInContainer, const LayoutPoint& accumulatedOffset); 72 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc ationInContainer, const LayoutPoint& accumulatedOffset);
74 73
75 virtual bool scrollImpl(ScrollDirection, ScrollGranularity, float) OVERRIDE; 74 virtual bool scrollImpl(ScrollDirection, ScrollGranularity, float) OVERRIDE;
76 75
77 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const OVERRIDE; 76 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const OVERRIDE;
78 virtual void computePreferredLogicalWidths() OVERRIDE; 77 virtual void computePreferredLogicalWidths() OVERRIDE;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 int m_indexOffset; 158 int m_indexOffset;
160 159
161 RefPtr<Scrollbar> m_vBar; 160 RefPtr<Scrollbar> m_vBar;
162 }; 161 };
163 162
164 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); 163 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox());
165 164
166 } // namepace WebCore 165 } // namepace WebCore
167 166
168 #endif // RenderListBox_h 167 #endif // RenderListBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderInline.cpp ('k') | Source/core/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698