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