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

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.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 955b8f27455036f895954c2cccaeb843d8086bed..1966330d1ad8891f3746538d8faaa81df20c5c7c 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -37,18 +37,18 @@ class SpeechInput;
class TextControlInnerContainer FINAL : public HTMLDivElement {
public:
- static PassRefPtr<TextControlInnerContainer> create(Document*);
+ static PassRefPtr<TextControlInnerContainer> create(Document&);
protected:
- TextControlInnerContainer(Document*);
+ TextControlInnerContainer(Document&);
virtual RenderObject* createRenderer(RenderStyle*);
};
class TextControlInnerElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<TextControlInnerElement> create(Document*);
+ static PassRefPtr<TextControlInnerElement> create(Document&);
protected:
- TextControlInnerElement(Document*);
+ TextControlInnerElement(Document&);
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
private:
@@ -57,12 +57,12 @@ private:
class TextControlInnerTextElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<TextControlInnerTextElement> create(Document*);
+ static PassRefPtr<TextControlInnerTextElement> create(Document&);
virtual void defaultEventHandler(Event*);
private:
- TextControlInnerTextElement(Document*);
+ TextControlInnerTextElement(Document&);
virtual RenderObject* createRenderer(RenderStyle*);
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
@@ -70,26 +70,26 @@ private:
class SearchFieldDecorationElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<SearchFieldDecorationElement> create(Document*);
+ static PassRefPtr<SearchFieldDecorationElement> create(Document&);
virtual void defaultEventHandler(Event*);
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- SearchFieldDecorationElement(Document*);
+ SearchFieldDecorationElement(Document&);
virtual const AtomicString& part() const OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
};
class SearchFieldCancelButtonElement FINAL : public HTMLDivElement {
public:
- static PassRefPtr<SearchFieldCancelButtonElement> create(Document*);
+ static PassRefPtr<SearchFieldCancelButtonElement> create(Document&);
virtual void defaultEventHandler(Event*);
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
- SearchFieldCancelButtonElement(Document*);
+ SearchFieldCancelButtonElement(Document&);
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
@@ -108,7 +108,7 @@ public:
Recognizing,
};
- static PassRefPtr<InputFieldSpeechButtonElement> create(Document*);
+ static PassRefPtr<InputFieldSpeechButtonElement> create(Document&);
virtual ~InputFieldSpeechButtonElement();
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
@@ -125,7 +125,7 @@ public:
void setRecognitionResult(int, const SpeechInputResultArray&);
private:
- InputFieldSpeechButtonElement(Document*);
+ InputFieldSpeechButtonElement(Document&);
SpeechInput* speechInput();
void setState(SpeechInputState state);
virtual bool isMouseFocusable() const { return false; }
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698