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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 bool NeedsLayoutSelectionUpdate() const; | 187 bool NeedsLayoutSelectionUpdate() const; |
188 void CommitAppearanceIfNeeded(); | 188 void CommitAppearanceIfNeeded(); |
189 void SetCaretVisible(bool caret_is_visible); | 189 void SetCaretVisible(bool caret_is_visible); |
190 void ScheduleVisualUpdate() const; | 190 void ScheduleVisualUpdate() const; |
191 void ScheduleVisualUpdateForPaintInvalidationIfNeeded() const; | 191 void ScheduleVisualUpdateForPaintInvalidationIfNeeded() const; |
192 | 192 |
193 // Paint invalidation methods delegating to FrameCaret. | 193 // Paint invalidation methods delegating to FrameCaret. |
194 void ClearPreviousCaretVisualRect(const LayoutBlock&); | 194 void ClearPreviousCaretVisualRect(const LayoutBlock&); |
195 void LayoutBlockWillBeDestroyed(const LayoutBlock&); | 195 void LayoutBlockWillBeDestroyed(const LayoutBlock&); |
196 void UpdateStyleAndLayoutIfNeeded(); | 196 void UpdateStyleAndLayoutIfNeeded(); |
197 void InvalidatePaintIfNeeded(const LayoutBlock&, | 197 void InvalidatePaint(const LayoutBlock&, const PaintInvalidatorContext&); |
198 const PaintInvalidatorContext&); | |
199 | 198 |
200 void PaintCaret(GraphicsContext&, const LayoutPoint&); | 199 void PaintCaret(GraphicsContext&, const LayoutPoint&); |
201 | 200 |
202 // Used to suspend caret blinking while the mouse is down. | 201 // Used to suspend caret blinking while the mouse is down. |
203 void SetCaretBlinkingSuspended(bool); | 202 void SetCaretBlinkingSuspended(bool); |
204 bool IsCaretBlinkingSuspended() const; | 203 bool IsCaretBlinkingSuspended() const; |
205 | 204 |
206 // Focus | 205 // Focus |
207 void SetFocused(bool); | 206 void SetFocused(bool); |
208 bool IsFocused() const { return focused_; } | 207 bool IsFocused() const { return focused_; } |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 313 |
315 } // namespace blink | 314 } // namespace blink |
316 | 315 |
317 #ifndef NDEBUG | 316 #ifndef NDEBUG |
318 // Outside the WebCore namespace for ease of invocation from gdb. | 317 // Outside the WebCore namespace for ease of invocation from gdb. |
319 void showTree(const blink::FrameSelection&); | 318 void showTree(const blink::FrameSelection&); |
320 void showTree(const blink::FrameSelection*); | 319 void showTree(const blink::FrameSelection*); |
321 #endif | 320 #endif |
322 | 321 |
323 #endif // FrameSelection_h | 322 #endif // FrameSelection_h |
OLD | NEW |