Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 46493cd2917cf052240fca094f499155513f8ebb..becb558f87b12d8353ce2cb0ce82da70bf83f323 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -34,8 +34,8 @@ |
#include "core/dom/ElementData.h" |
#include "core/dom/SpaceSplitString.h" |
#include "core/html/CollectionType.h" |
-#include "core/page/FocusType.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebFocusType.h" |
namespace blink { |
@@ -363,7 +363,7 @@ public: |
virtual const AtomicString imageSourceURL() const; |
virtual Image* imageContents() { return nullptr; } |
- virtual void focus(bool restorePreviousSelection = true, FocusType = FocusTypeNone); |
+ virtual void focus(bool restorePreviousSelection = true, WebFocusType = WebFocusTypeNone); |
virtual void updateFocusAppearance(bool restorePreviousSelection); |
virtual void blur(); |
// Whether this element can receive focus at all. Most elements are not |
@@ -375,9 +375,9 @@ public: |
bool isFocusable() const; |
virtual bool isKeyboardFocusable() const; |
virtual bool isMouseFocusable() const; |
- virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); |
+ virtual void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType); |
virtual void dispatchBlurEvent(Element* newFocusedElement); |
- virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType); |
+ virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, WebFocusType); |
void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocusedElement); |
String innerText(); |