|
Lines 165-174
public:
Source/WebCore/editing/FrameSelection.h_sec1
|
| 165 |
void setExtent(const VisiblePosition&, EUserTriggered = NotUserTriggered); |
165 |
void setExtent(const VisiblePosition&, EUserTriggered = NotUserTriggered); |
| 166 |
void setExtent(const Position&, EAffinity, EUserTriggered = NotUserTriggered); |
166 |
void setExtent(const Position&, EAffinity, EUserTriggered = NotUserTriggered); |
| 167 |
|
167 |
|
| 168 |
Position end() const { return m_selection.end(); } |
|
|
| 169 |
|
| 170 |
// Return the renderer that is responsible for painting the caret (in the selection start node) |
168 |
// Return the renderer that is responsible for painting the caret (in the selection start node) |
| 171 |
RenderObject* caretRenderer() const; |
169 |
RenderObject* caretRendererWithoutUpdatingLayout() const; |
| 172 |
|
170 |
|
| 173 |
// Caret rect local to the caret's renderer |
171 |
// Caret rect local to the caret's renderer |
| 174 |
LayoutRect localCaretRect(); |
172 |
LayoutRect localCaretRect(); |
|
Lines 193-200
public:
Source/WebCore/editing/FrameSelection.h_sec2
|
| 193 |
void textWasReplaced(CharacterData*, unsigned offset, unsigned oldLength, unsigned newLength); |
191 |
void textWasReplaced(CharacterData*, unsigned offset, unsigned oldLength, unsigned newLength); |
| 194 |
|
192 |
|
| 195 |
void setCaretVisible(bool caretIsVisible) { setCaretVisibility(caretIsVisible ? Visible : Hidden); } |
193 |
void setCaretVisible(bool caretIsVisible) { setCaretVisibility(caretIsVisible ? Visible : Hidden); } |
| 196 |
bool recomputeCaretRect(); |
|
|
| 197 |
void invalidateCaretRect(); |
| 198 |
void paintCaret(GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect); |
194 |
void paintCaret(GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect); |
| 199 |
|
195 |
|
| 200 |
// Used to suspend caret blinking while the mouse is down. |
196 |
// Used to suspend caret blinking while the mouse is down. |
|
Lines 257-270
public:
Source/WebCore/editing/FrameSelection.h_sec3
|
| 257 |
enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEndpoints }; |
253 |
enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEndpoints }; |
| 258 |
void setSelectionByMouseIfDifferent(const VisibleSelection&, TextGranularity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); |
254 |
void setSelectionByMouseIfDifferent(const VisibleSelection&, TextGranularity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); |
| 259 |
|
255 |
|
| 260 |
void paintDragCaret(GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const; |
|
|
| 261 |
|
| 262 |
EditingStyle* typingStyle() const; |
256 |
EditingStyle* typingStyle() const; |
| 263 |
PassRefPtr<MutableStyleProperties> copyTypingStyle() const; |
257 |
PassRefPtr<MutableStyleProperties> copyTypingStyle() const; |
| 264 |
void setTypingStyle(PassRefPtr<EditingStyle>); |
258 |
void setTypingStyle(PassRefPtr<EditingStyle>); |
| 265 |
void clearTypingStyle(); |
259 |
void clearTypingStyle(); |
| 266 |
|
260 |
|
| 267 |
FloatRect bounds(bool clipToVisibleContent = true) const; |
261 |
FloatRect selectionBounds(bool clipToVisibleContent = true) const; |
| 268 |
|
262 |
|
| 269 |
void getClippedVisibleTextRectangles(Vector<FloatRect>&) const; |
263 |
void getClippedVisibleTextRectangles(Vector<FloatRect>&) const; |
| 270 |
|
264 |
|
|
Lines 317-322
private:
Source/WebCore/editing/FrameSelection.h_sec4
|
| 317 |
void caretBlinkTimerFired(Timer<FrameSelection>&); |
311 |
void caretBlinkTimerFired(Timer<FrameSelection>&); |
| 318 |
|
312 |
|
| 319 |
void setCaretVisibility(CaretVisibility); |
313 |
void setCaretVisibility(CaretVisibility); |
|
|
314 |
bool recomputeCaretRect(); |
| 315 |
void invalidateCaretRect(); |
| 320 |
|
316 |
|
| 321 |
bool dispatchSelectStart(); |
317 |
bool dispatchSelectStart(); |
| 322 |
|
318 |
|