| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 void UpdateSecureKeyboardEntryIfActive(); | 217 void UpdateSecureKeyboardEntryIfActive(); |
| 218 | 218 |
| 219 // Returns true if a word is selected. | 219 // Returns true if a word is selected. |
| 220 bool SelectWordAroundPosition(const VisiblePosition&); | 220 bool SelectWordAroundPosition(const VisiblePosition&); |
| 221 | 221 |
| 222 #ifndef NDEBUG | 222 #ifndef NDEBUG |
| 223 void ShowTreeForThis() const; | 223 void ShowTreeForThis() const; |
| 224 #endif | 224 #endif |
| 225 | 225 |
| 226 void SetFocusedNodeIfNeeded(); | 226 void SetFocusedNodeIfNeeded(); |
| 227 void NotifyLayoutObjectOfSelectionChange(EUserTriggered); | 227 void NotifyTextControlOfSelectionChange(EUserTriggered); |
| 228 | 228 |
| 229 String SelectedHTMLForClipboard() const; | 229 String SelectedHTMLForClipboard() const; |
| 230 String SelectedText(const TextIteratorBehavior&) const; | 230 String SelectedText(const TextIteratorBehavior&) const; |
| 231 String SelectedText() const; | 231 String SelectedText() const; |
| 232 String SelectedTextForClipboard() const; | 232 String SelectedTextForClipboard() const; |
| 233 | 233 |
| 234 // The bounds are clipped to the viewport as this is what callers expect. | 234 // The bounds are clipped to the viewport as this is what callers expect. |
| 235 LayoutRect Bounds() const; | 235 LayoutRect Bounds() const; |
| 236 LayoutRect UnclippedBounds() const; | 236 LayoutRect UnclippedBounds() const; |
| 237 | 237 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 314 |
| 315 } // namespace blink | 315 } // namespace blink |
| 316 | 316 |
| 317 #ifndef NDEBUG | 317 #ifndef NDEBUG |
| 318 // Outside the WebCore namespace for ease of invocation from gdb. | 318 // Outside the WebCore namespace for ease of invocation from gdb. |
| 319 void showTree(const blink::FrameSelection&); | 319 void showTree(const blink::FrameSelection&); |
| 320 void showTree(const blink::FrameSelection*); | 320 void showTree(const blink::FrameSelection*); |
| 321 #endif | 321 #endif |
| 322 | 322 |
| 323 #endif // FrameSelection_h | 323 #endif // FrameSelection_h |
| OLD | NEW |