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

Unified Diff: Source/core/dom/Element.h

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved Created 5 years, 11 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/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698