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

Unified Diff: Source/core/layout/LayoutListBox.h

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutCounter.cpp ('k') | Source/core/layout/LayoutListBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListBox.h
diff --git a/Source/core/rendering/RenderListBox.h b/Source/core/layout/LayoutListBox.h
similarity index 88%
rename from Source/core/rendering/RenderListBox.h
rename to Source/core/layout/LayoutListBox.h
index 1b31460c8e94c0069b9a16c085313046dfbd6564..c9fc86713a1339bd1c5e8c21182d354c60d6e5b8 100644
--- a/Source/core/rendering/RenderListBox.h
+++ b/Source/core/layout/LayoutListBox.h
@@ -28,8 +28,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderListBox_h
-#define RenderListBox_h
+#ifndef LayoutListBox_h
+#define LayoutListBox_h
#include "core/rendering/RenderBlockFlow.h"
@@ -37,10 +37,10 @@ namespace blink {
class HTMLSelectElement;
-class RenderListBox final : public RenderBlockFlow {
+class LayoutListBox final : public RenderBlockFlow {
public:
- explicit RenderListBox(Element*);
- virtual ~RenderListBox();
+ explicit LayoutListBox(Element*);
+ virtual ~LayoutListBox();
int size() const;
@@ -50,7 +50,7 @@ public:
private:
HTMLSelectElement* selectElement() const;
- virtual const char* renderName() const override { return "RenderListBox"; }
+ virtual const char* renderName() const override { return "LayoutListBox"; }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListBox || RenderBlockFlow::isOfType(type); }
@@ -63,8 +63,8 @@ private:
LayoutUnit itemHeight() const;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderListBox, isListBox());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutListBox, isListBox());
} // namepace blink
-#endif // RenderListBox_h
+#endif // LayoutListBox_h
« no previous file with comments | « Source/core/layout/LayoutCounter.cpp ('k') | Source/core/layout/LayoutListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698