Index: Source/core/editing/VisibleSelection.h |
diff --git a/Source/core/editing/VisibleSelection.h b/Source/core/editing/VisibleSelection.h |
index 482e89dc223c84df17244f2b24835c42650b08bf..2ae651c541aaf41cf970fdc16538ad38e06a2046 100644 |
--- a/Source/core/editing/VisibleSelection.h |
+++ b/Source/core/editing/VisibleSelection.h |
@@ -30,6 +30,7 @@ |
#include "core/editing/SelectionType.h" |
#include "core/editing/TextGranularity.h" |
#include "core/editing/VisiblePosition.h" |
+#include "core/editing/VisibleUnits.h" |
namespace blink { |
@@ -145,8 +146,8 @@ public: |
void showTreeForThis() const; |
#endif |
- void setStartRespectingGranularity(TextGranularity); |
- void setEndRespectingGranularity(TextGranularity); |
+ void setStartRespectingGranularity(TextGranularity, EWordSide = RightWordIfOnBoundary); |
+ void setEndRespectingGranularity(TextGranularity, EWordSide = RightWordIfOnBoundary); |
private: |
void validate(TextGranularity = CharacterGranularity); |