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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.h

Issue 264333011: Oilpan: Prepare to move Element subclasses in TextControlInnerEelments to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/html/forms/TextFieldInputType.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/TextControlInnerElements.h
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h
index e077098e257a9ea14024c0b790861b6ea070a7ea..d9a9de927ec4bab573ae59128e96dc8789bc4182 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -34,18 +34,19 @@ namespace WebCore {
class TextControlInnerContainer FINAL : public HTMLDivElement {
public:
- static PassRefPtr<TextControlInnerContainer> create(Document&);
+ static PassRefPtrWillBeRawPtr<TextControlInnerContainer> create(Document&);
+
protected:
- TextControlInnerContainer(Document&);
+ explicit TextControlInnerContainer(Document&);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};
class EditingViewPortElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<EditingViewPortElement> create(Document&);
+ static PassRefPtrWillBeRawPtr<EditingViewPortElement> create(Document&);
protected:
- EditingViewPortElement(Document&);
+ explicit EditingViewPortElement(Document&);
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
private:
@@ -54,12 +55,12 @@ private:
class TextControlInnerTextElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<TextControlInnerTextElement> create(Document&);
+ static PassRefPtrWillBeRawPtr<TextControlInnerTextElement> create(Document&);
virtual void defaultEventHandler(Event*) OVERRIDE;
private:
- TextControlInnerTextElement(Document&);
+ explicit TextControlInnerTextElement(Document&);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
@@ -67,26 +68,26 @@ private:
class SearchFieldDecorationElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<SearchFieldDecorationElement> create(Document&);
+ static PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> create(Document&);
virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- SearchFieldDecorationElement(Document&);
+ explicit SearchFieldDecorationElement(Document&);
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
};
class SearchFieldCancelButtonElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<SearchFieldCancelButtonElement> create(Document&);
+ static PassRefPtrWillBeRawPtr<SearchFieldCancelButtonElement> create(Document&);
virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- SearchFieldCancelButtonElement(Document&);
+ explicit SearchFieldCancelButtonElement(Document&);
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698