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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2616623002: Do not send redundant selectionchange-events (decouple focus) (Closed)
Patch Set: Rebase Created 3 years, 8 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: third_party/WebKit/Source/core/editing/FrameSelection.h
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
index 31b7c5e917996672515b5fee2d99d4d903c16049..befd406e9ffeefdc541b83351d6526ab8a92ef4e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -32,6 +32,7 @@
#include "core/dom/Range.h"
#include "core/dom/SynchronousMutationObserver.h"
#include "core/editing/EphemeralRange.h"
+#include "core/editing/LayoutSelection.h"
#include "core/editing/VisiblePosition.h"
#include "core/editing/VisibleSelection.h"
#include "core/editing/iterators/TextIteratorBehavior.h"
@@ -242,7 +243,7 @@ class CORE_EXPORT FrameSelection final
RevealExtentOption = kDoNotRevealExtent);
void SetSelectionFromNone();
- void UpdateAppearance();
+ void UpdateAppearance(LayoutSelection::PaintHint);
bool ShouldShowBlockCursor() const;
void SetShouldShowBlockCursor(bool);
@@ -308,6 +309,7 @@ class CORE_EXPORT FrameSelection final
const Member<FrameCaret> frame_caret_;
bool use_secure_keyboard_entry_when_active_ = false;
+ bool text_control_focused_ = false;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698