Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index a37c362eff581261725c0ad1f3df2867667f8b12..b1a529e35411ed489803541fe06f3ac8ad298487 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -168,7 +168,7 @@ class TransformSource; |
class TreeWalker; |
class VisitedLinkState; |
class WebGLRenderingContext; |
- |
+enum class SelectionBehaviorOnFocus; |
struct AnnotatedRegionValue; |
struct IconURL; |
@@ -803,7 +803,7 @@ public: |
void setUseSecureKeyboardEntryWhenActive(bool); |
bool useSecureKeyboardEntryWhenActive() const; |
- void updateFocusAppearanceSoon(bool restorePreviousSelection); |
+ void updateFocusAppearanceSoon(SelectionBehaviorOnFocus); |
void cancelFocusAppearanceUpdate(); |
bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } |
@@ -1246,8 +1246,8 @@ private: |
bool m_isDNSPrefetchEnabled; |
bool m_haveExplicitlyDisabledDNSPrefetch; |
bool m_containsValidityStyleRules; |
- bool m_updateFocusAppearanceRestoresSelection; |
bool m_containsPlugins; |
+ SelectionBehaviorOnFocus m_updateFocusAppearanceSelectionBahavior; |
// http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-writes-counter |
unsigned m_ignoreDestructiveWriteCount; |