| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; | 192 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd
points }; |
| 193 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); | 193 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula
rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); |
| 194 void setFocusedNodeIfNeeded(); | 194 void setFocusedNodeIfNeeded(); |
| 195 void notifyRendererOfSelectionChange(EUserTriggered); | 195 void notifyRendererOfSelectionChange(EUserTriggered); |
| 196 | 196 |
| 197 EditingStyle* typingStyle() const; | 197 EditingStyle* typingStyle() const; |
| 198 void setTypingStyle(PassRefPtr<EditingStyle>); | 198 void setTypingStyle(PassRefPtr<EditingStyle>); |
| 199 void clearTypingStyle(); | 199 void clearTypingStyle(); |
| 200 | 200 |
| 201 String selectedText() const; | 201 String selectedText() const; |
| 202 String selectedTextForClipboard() const; | |
| 203 | 202 |
| 204 FloatRect bounds(bool clipToVisibleContent = true) const; | 203 FloatRect bounds(bool clipToVisibleContent = true) const; |
| 205 | 204 |
| 206 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf
Needed, RevealExtentOption = DoNotRevealExtent); | 205 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf
Needed, RevealExtentOption = DoNotRevealExtent); |
| 207 void setSelectionFromNone(); | 206 void setSelectionFromNone(); |
| 208 | 207 |
| 209 void setShouldShowBlockCursor(bool); | 208 void setShouldShowBlockCursor(bool); |
| 210 | 209 |
| 211 // VisibleSelection::ChangeObserver interface. | 210 // VisibleSelection::ChangeObserver interface. |
| 212 virtual void didChangeVisibleSelection() override; | 211 virtual void didChangeVisibleSelection() override; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 } | 300 } |
| 302 } // namespace blink | 301 } // namespace blink |
| 303 | 302 |
| 304 #ifndef NDEBUG | 303 #ifndef NDEBUG |
| 305 // Outside the WebCore namespace for ease of invocation from gdb. | 304 // Outside the WebCore namespace for ease of invocation from gdb. |
| 306 void showTree(const blink::FrameSelection&); | 305 void showTree(const blink::FrameSelection&); |
| 307 void showTree(const blink::FrameSelection*); | 306 void showTree(const blink::FrameSelection*); |
| 308 #endif | 307 #endif |
| 309 | 308 |
| 310 #endif // FrameSelection_h | 309 #endif // FrameSelection_h |
| OLD | NEW |