| OLD | NEW | 
|     1 /* |     1 /* | 
|     2  * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. |     2  * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. | 
|     3  * |     3  * | 
|     4  * Redistribution and use in source and binary forms, with or without |     4  * Redistribution and use in source and binary forms, with or without | 
|     5  * modification, are permitted provided that the following conditions |     5  * modification, are permitted provided that the following conditions | 
|     6  * are met: |     6  * are met: | 
|     7  * 1. Redistributions of source code must retain the above copyright |     7  * 1. Redistributions of source code must retain the above copyright | 
|     8  *    notice, this list of conditions and the following disclaimer. |     8  *    notice, this list of conditions and the following disclaimer. | 
|     9  * 2. Redistributions in binary form must reproduce the above copyright |     9  * 2. Redistributions in binary form must reproduce the above copyright | 
|    10  *    notice, this list of conditions and the following disclaimer in the |    10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1519         if (!shouldBlink && m_caretPaint) { |  1519         if (!shouldBlink && m_caretPaint) { | 
|  1520             m_caretPaint = false; |  1520             m_caretPaint = false; | 
|  1521             invalidateCaretRect(); |  1521             invalidateCaretRect(); | 
|  1522         } |  1522         } | 
|  1523     } |  1523     } | 
|  1524  |  1524  | 
|  1525     // Start blinking with a black caret. Be sure not to restart if we're |  1525     // Start blinking with a black caret. Be sure not to restart if we're | 
|  1526     // already blinking in the right location. |  1526     // already blinking in the right location. | 
|  1527     if (shouldBlink && !m_caretBlinkTimer.isActive()) { |  1527     if (shouldBlink && !m_caretBlinkTimer.isActive()) { | 
|  1528         if (double blinkInterval = RenderTheme::theme().caretBlinkInterval()) |  1528         if (double blinkInterval = RenderTheme::theme().caretBlinkInterval()) | 
|  1529             m_caretBlinkTimer.startRepeating(blinkInterval); |  1529             m_caretBlinkTimer.startRepeating(blinkInterval, FROM_HERE); | 
|  1530  |  1530  | 
|  1531         if (!m_caretPaint) { |  1531         if (!m_caretPaint) { | 
|  1532             m_caretPaint = true; |  1532             m_caretPaint = true; | 
|  1533             invalidateCaretRect(); |  1533             invalidateCaretRect(); | 
|  1534         } |  1534         } | 
|  1535     } |  1535     } | 
|  1536  |  1536  | 
|  1537     RenderView* view = m_frame->contentRenderer(); |  1537     RenderView* view = m_frame->contentRenderer(); | 
|  1538     if (!view) |  1538     if (!view) | 
|  1539         return; |  1539         return; | 
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1830     sel.showTreeForThis(); |  1830     sel.showTreeForThis(); | 
|  1831 } |  1831 } | 
|  1832  |  1832  | 
|  1833 void showTree(const WebCore::FrameSelection* sel) |  1833 void showTree(const WebCore::FrameSelection* sel) | 
|  1834 { |  1834 { | 
|  1835     if (sel) |  1835     if (sel) | 
|  1836         sel->showTreeForThis(); |  1836         sel->showTreeForThis(); | 
|  1837 } |  1837 } | 
|  1838  |  1838  | 
|  1839 #endif |  1839 #endif | 
| OLD | NEW |