| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 void commitAppearanceIfNeeded(LayoutView&); | 192 void commitAppearanceIfNeeded(LayoutView&); |
| 193 void setCaretVisible(bool caretIsVisible); | 193 void setCaretVisible(bool caretIsVisible); |
| 194 void scheduleVisualUpdate() const; | 194 void scheduleVisualUpdate() const; |
| 195 void scheduleVisualUpdateForPaintInvalidationIfNeeded() const; | 195 void scheduleVisualUpdateForPaintInvalidationIfNeeded() const; |
| 196 | 196 |
| 197 // Paint invalidation methods delegating to FrameCaret. | 197 // Paint invalidation methods delegating to FrameCaret. |
| 198 void clearPreviousCaretVisualRect(const LayoutBlock&); | 198 void clearPreviousCaretVisualRect(const LayoutBlock&); |
| 199 void layoutBlockWillBeDestroyed(const LayoutBlock&); | 199 void layoutBlockWillBeDestroyed(const LayoutBlock&); |
| 200 void updateStyleAndLayoutIfNeeded(); | 200 void updateStyleAndLayoutIfNeeded(); |
| 201 void invalidatePaintIfNeeded(const LayoutBlock&, | 201 void invalidatePaintIfNeeded(const LayoutBlock&, |
| 202 const PaintInvalidatorContext&, | 202 const PaintInvalidatorContext&); |
| 203 PaintInvalidationReason); | |
| 204 | 203 |
| 205 void paintCaret(GraphicsContext&, const LayoutPoint&); | 204 void paintCaret(GraphicsContext&, const LayoutPoint&); |
| 206 | 205 |
| 207 // Used to suspend caret blinking while the mouse is down. | 206 // Used to suspend caret blinking while the mouse is down. |
| 208 void setCaretBlinkingSuspended(bool); | 207 void setCaretBlinkingSuspended(bool); |
| 209 bool isCaretBlinkingSuspended() const; | 208 bool isCaretBlinkingSuspended() const; |
| 210 | 209 |
| 211 // Focus | 210 // Focus |
| 212 void setFocused(bool); | 211 void setFocused(bool); |
| 213 bool isFocused() const { return m_focused; } | 212 bool isFocused() const { return m_focused; } |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 314 |
| 316 } // namespace blink | 315 } // namespace blink |
| 317 | 316 |
| 318 #ifndef NDEBUG | 317 #ifndef NDEBUG |
| 319 // Outside the WebCore namespace for ease of invocation from gdb. | 318 // Outside the WebCore namespace for ease of invocation from gdb. |
| 320 void showTree(const blink::FrameSelection&); | 319 void showTree(const blink::FrameSelection&); |
| 321 void showTree(const blink::FrameSelection*); | 320 void showTree(const blink::FrameSelection*); |
| 322 #endif | 321 #endif |
| 323 | 322 |
| 324 #endif // FrameSelection_h | 323 #endif // FrameSelection_h |
| OLD | NEW |