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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 void setFocusedNodeIfNeeded(); | 198 void setFocusedNodeIfNeeded(); |
199 void notifyRendererOfSelectionChange(EUserTriggered); | 199 void notifyRendererOfSelectionChange(EUserTriggered); |
200 | 200 |
201 EditingStyle* typingStyle() const; | 201 EditingStyle* typingStyle() const; |
202 void setTypingStyle(PassRefPtrWillBeRawPtr<EditingStyle>); | 202 void setTypingStyle(PassRefPtrWillBeRawPtr<EditingStyle>); |
203 void clearTypingStyle(); | 203 void clearTypingStyle(); |
204 | 204 |
205 String selectedText() const; | 205 String selectedText() const; |
206 String selectedTextForClipboard() const; | 206 String selectedTextForClipboard() const; |
207 | 207 |
208 FloatRect bounds(bool clipToVisibleContent = true) const; | 208 FloatRect bounds() const; |
209 | 209 |
210 HTMLFormElement* currentForm() const; | 210 HTMLFormElement* currentForm() const; |
211 | 211 |
212 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf
Needed, RevealExtentOption = DoNotRevealExtent); | 212 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf
Needed, RevealExtentOption = DoNotRevealExtent); |
213 void setSelectionFromNone(); | 213 void setSelectionFromNone(); |
214 | 214 |
215 void setShouldShowBlockCursor(bool); | 215 void setShouldShowBlockCursor(bool); |
216 | 216 |
217 // VisibleSelection::ChangeObserver interface. | 217 // VisibleSelection::ChangeObserver interface. |
218 virtual void didChangeVisibleSelection() OVERRIDE; | 218 virtual void didChangeVisibleSelection() OVERRIDE; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 } | 310 } |
311 } // namespace blink | 311 } // namespace blink |
312 | 312 |
313 #ifndef NDEBUG | 313 #ifndef NDEBUG |
314 // Outside the WebCore namespace for ease of invocation from gdb. | 314 // Outside the WebCore namespace for ease of invocation from gdb. |
315 void showTree(const blink::FrameSelection&); | 315 void showTree(const blink::FrameSelection&); |
316 void showTree(const blink::FrameSelection*); | 316 void showTree(const blink::FrameSelection*); |
317 #endif | 317 #endif |
318 | 318 |
319 #endif // FrameSelection_h | 319 #endif // FrameSelection_h |
OLD | NEW |