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

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

Issue 2712603007: Select All present even all selectable text has been selected (Closed)
Patch Set: Created 3 years, 10 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 d78e98af7b559247bc54b9a056385d56c6c036f9..cea1b69faa8eff07ed0acaa588ea09a06f1d7e5a 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -145,6 +145,7 @@ class CORE_EXPORT FrameSelection final
SelectionDirectionalMode = SelectionDirectionalMode::NonDirectional,
FrameSelection::SetSelectionOptions = CloseTyping | ClearTypingStyle);
void selectAll();
+ bool canSelectAll();
void clear();
// TODO(tkent): These two functions were added to fix crbug.com/695211 without
@@ -312,6 +313,8 @@ class CORE_EXPORT FrameSelection final
GranularityStrategy* granularityStrategy();
+ Node* selectAllRoot();
+
// Implementation of |SynchronousMutationObserver| member functions.
void contextDestroyed(Document*) final;
void nodeChildrenWillBeRemoved(ContainerNode&) final;

Powered by Google App Engine
This is Rietveld 408576698