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

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

Issue 2894803002: Use current selection when tab navigation. (Closed)
Patch Set: Fix selection direction Created 3 years, 7 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 b5125f1a49a2df65c4da3f2787a8a81d92f35044..b8e39d78b0cd75dcb40b06b499a19138cf952121 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -230,6 +230,8 @@ class CORE_EXPORT FrameSelection final
String SelectedTextForClipboard() const;
// The bounds are clipped to the viewport as this is what callers expect.
+ // This returns last layouted selection bounds of LayoutSelection rather than
+ // SelectionEditor keeps.
LayoutRect Bounds() const;
LayoutRect UnclippedBounds() const;

Powered by Google App Engine
This is Rietveld 408576698