| 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;
|
|
|