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

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

Issue 2967113002: Expose Compute{Start,End}RespectingGranularity() (Closed)
Patch Set: 2017-07-05T17:22:09 Created 3 years, 5 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 | « no previous file | third_party/WebKit/Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index a9ce8963fab63cbbc39eaf499a2293b4e0a6d168..d3c694bf21f9c8bf2c23c64623cc3a2c3b1c160d 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -201,6 +201,15 @@ CORE_EXPORT std::ostream& operator<<(std::ostream&, const VisibleSelection&);
CORE_EXPORT std::ostream& operator<<(std::ostream&,
const VisibleSelectionInFlatTree&);
+PositionInFlatTree ComputeStartRespectingGranularity(
+ const PositionInFlatTreeWithAffinity&,
+ TextGranularity);
+
+PositionInFlatTree ComputeEndRespectingGranularity(
+ const PositionInFlatTree&,
+ const PositionInFlatTreeWithAffinity&,
+ TextGranularity);
+
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698