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

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

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/core/rendering/RenderMenuList.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) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void showPopup(); 45 void showPopup();
46 void hidePopup(); 46 void hidePopup();
47 47
48 void setOptionsChanged(bool changed) { m_optionsChanged = changed; } 48 void setOptionsChanged(bool changed) { m_optionsChanged = changed; }
49 49
50 void didSetSelectedIndex(int listIndex); 50 void didSetSelectedIndex(int listIndex);
51 51
52 String text() const; 52 String text() const;
53 53
54 private: 54 private:
55 HTMLSelectElement* selectElement() const; 55 Result<HTMLSelectElement> selectElement() const;
56 56
57 virtual bool isMenuList() const { return true; } 57 virtual bool isMenuList() const { return true; }
58 58
59 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ; 59 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ;
60 virtual void removeChild(RenderObject*); 60 virtual void removeChild(RenderObject*);
61 virtual bool createsAnonymousWrapper() const { return true; } 61 virtual bool createsAnonymousWrapper() const { return true; }
62 62
63 virtual void updateFromElement(); 63 virtual void updateFromElement();
64 64
65 virtual LayoutRect controlClipRect(const LayoutPoint&) const; 65 virtual LayoutRect controlClipRect(const LayoutPoint&) const;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isMenuList()); 146 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isMenuList());
147 return static_cast<RenderMenuList*>(object); 147 return static_cast<RenderMenuList*>(object);
148 } 148 }
149 149
150 // This will catch anyone doing an unnecessary cast. 150 // This will catch anyone doing an unnecessary cast.
151 void toRenderMenuList(const RenderMenuList*); 151 void toRenderMenuList(const RenderMenuList*);
152 152
153 } 153 }
154 154
155 #endif 155 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698