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

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

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/html/shadow/TextControlInnerElements.h
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h
index 5843c4d40dd06eb3fa31e5837b8bb8185c49e0cf..56213c80f9b14a317a2fcc35df02ae543f23c0e0 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -90,7 +90,7 @@ public:
private:
SearchFieldCancelButtonElement(Document&);
- virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
+ virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
bool m_capturing;
@@ -111,7 +111,7 @@ public:
static PassRefPtr<InputFieldSpeechButtonElement> create(Document&);
virtual ~InputFieldSpeechButtonElement();
- virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
+ virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERRIDE;
virtual void defaultEventHandler(Event*);
virtual bool willRespondToMouseClickEvents();
virtual bool isInputFieldSpeechButtonElement() const { return true; }
@@ -129,7 +129,7 @@ private:
SpeechInput* speechInput();
void setState(SpeechInputState state);
virtual bool isMouseFocusable() const { return false; }
- virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
+ virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRIDE;
bool m_capturing;
SpeechInputState m_state;

Powered by Google App Engine
This is Rietveld 408576698