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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 void UpdateAppearance(); | 245 void UpdateAppearance(); |
246 bool ShouldShowBlockCursor() const; | 246 bool ShouldShowBlockCursor() const; |
247 void SetShouldShowBlockCursor(bool); | 247 void SetShouldShowBlockCursor(bool); |
248 | 248 |
249 void CacheRangeOfDocument(Range*); | 249 void CacheRangeOfDocument(Range*); |
250 Range* DocumentCachedRange() const; | 250 Range* DocumentCachedRange() const; |
251 void ClearDocumentCachedRange(); | 251 void ClearDocumentCachedRange(); |
252 | 252 |
253 FrameCaret& FrameCaretForTesting() const { return *frame_caret_; } | 253 FrameCaret& FrameCaretForTesting() const { return *frame_caret_; } |
254 | 254 |
| 255 void LayoutSelectionStartEnd(int& start_pos, int& end_pos); |
| 256 void ClearLayoutSelection(); |
| 257 |
255 DECLARE_TRACE(); | 258 DECLARE_TRACE(); |
256 | 259 |
257 private: | 260 private: |
258 friend class CaretDisplayItemClientTest; | 261 friend class CaretDisplayItemClientTest; |
259 friend class FrameSelectionTest; | 262 friend class FrameSelectionTest; |
260 friend class PaintControllerPaintTestForSlimmingPaintV1AndV2; | 263 friend class PaintControllerPaintTestForSlimmingPaintV1AndV2; |
261 friend class SelectionControllerTest; | 264 friend class SelectionControllerTest; |
262 FRIEND_TEST_ALL_PREFIXES(PaintControllerPaintTestForSlimmingPaintV1AndV2, | 265 FRIEND_TEST_ALL_PREFIXES(PaintControllerPaintTestForSlimmingPaintV1AndV2, |
263 FullDocumentPaintingWithCaret); | 266 FullDocumentPaintingWithCaret); |
264 | 267 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 | 312 |
310 } // namespace blink | 313 } // namespace blink |
311 | 314 |
312 #ifndef NDEBUG | 315 #ifndef NDEBUG |
313 // Outside the WebCore namespace for ease of invocation from gdb. | 316 // Outside the WebCore namespace for ease of invocation from gdb. |
314 void showTree(const blink::FrameSelection&); | 317 void showTree(const blink::FrameSelection&); |
315 void showTree(const blink::FrameSelection*); | 318 void showTree(const blink::FrameSelection*); |
316 #endif | 319 #endif |
317 | 320 |
318 #endif // FrameSelection_h | 321 #endif // FrameSelection_h |
OLD | NEW |