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

Unified Diff: Source/core/html/shadow/TextFieldDecorationElement.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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/shadow/TextFieldDecorationElement.h
diff --git a/Source/core/html/shadow/TextFieldDecorationElement.h b/Source/core/html/shadow/TextFieldDecorationElement.h
index 228f2e20ae848fbabd1786164888efde20fbf958..8ac9d39b0ac4511d0881d842360d834f24d40125 100644
--- a/Source/core/html/shadow/TextFieldDecorationElement.h
+++ b/Source/core/html/shadow/TextFieldDecorationElement.h
@@ -45,7 +45,7 @@ class TextFieldDecorator {
public:
// Returns true if this TextFieldDecorator wants to add a
// decoration to the specified text field.
- virtual bool willAddDecorationTo(HTMLInputElement*) = 0;
+ virtual bool willAddDecorationTo(Handle<HTMLInputElement>) = 0;
virtual bool visibleByDefault() = 0;
// A TextFieldDecorator object should own the CachedImage objects.
@@ -54,11 +54,11 @@ public:
virtual CachedImage* imageForReadonlyState() = 0;
virtual CachedImage* imageForHoverState() = 0;
- virtual void handleClick(HTMLInputElement*) = 0;
+ virtual void handleClick(Handle<HTMLInputElement>) = 0;
// This function is called just before detaching the decoration. It must not
// call functions which updating state of the specified HTMLInputElement
// object.
- virtual void willDetach(HTMLInputElement*) = 0;
+ virtual void willDetach(Handle<HTMLInputElement>) = 0;
virtual ~TextFieldDecorator();
};
@@ -70,7 +70,7 @@ public:
static PassRefPtr<TextFieldDecorationElement> create(Document*, TextFieldDecorator*);
static TextFieldDecorationElement* fromShadowRoot(ShadowRoot*);
TextFieldDecorator* textFieldDecorator() { return m_textFieldDecorator; }
- void decorate(HTMLInputElement*, bool visible);
+ void decorate(Handle<HTMLInputElement>, bool visible);
virtual bool willRespondToMouseMoveEvents() OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
@@ -85,7 +85,7 @@ private:
virtual bool isMouseFocusable() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
- HTMLInputElement* hostInput();
+ Result<HTMLInputElement> hostInput();
void updateImage();
TextFieldDecorator* m_textFieldDecorator;
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.cpp ('k') | Source/core/html/shadow/TextFieldDecorationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698