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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionController.cpp

Issue 2642913003: Select All should show handles if they were already present (Closed)
Patch Set: forgot to change enum name in test Created 3 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 | « third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/SelectionController.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
index 774596b2f5a31a260475f316bac27afaf479c1d2..f53db6b2ff508088d2efab96ee06f10ec3683f3a 100644
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
@@ -680,7 +680,7 @@ void SelectionController::setNonDirectionalSelectionIfNeeded(
const FrameSelection::SetSelectionOptions options =
isHandleVisible
? FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle |
- FrameSelection::HandleVisible
+ FrameSelection::ShowHandle
: FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle;
selection().setSelection(newSelection, options, CursorAlignOnScroll::IfNeeded,
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698