| 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 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1689 m_selection.formatForDebugger(buffer, length); | 1689 m_selection.formatForDebugger(buffer, length); |
| 1690 } | 1690 } |
| 1691 | 1691 |
| 1692 void FrameSelection::showTreeForThis() const | 1692 void FrameSelection::showTreeForThis() const |
| 1693 { | 1693 { |
| 1694 m_selection.showTreeForThis(); | 1694 m_selection.showTreeForThis(); |
| 1695 } | 1695 } |
| 1696 | 1696 |
| 1697 #endif | 1697 #endif |
| 1698 | 1698 |
| 1699 void FrameSelection::trace(Visitor* visitor) | |
| 1700 { | |
| 1701 visitor->trace(m_selection); | |
| 1702 visitor->trace(m_originalBase); | |
| 1703 visitor->trace(m_logicalRange); | |
| 1704 visitor->trace(m_previousCaretNode); | |
| 1705 visitor->trace(m_typingStyle); | |
| 1706 VisibleSelection::ChangeObserver::trace(visitor); | |
| 1707 } | |
| 1708 | |
| 1709 void FrameSelection::setCaretRectNeedsUpdate() | 1699 void FrameSelection::setCaretRectNeedsUpdate() |
| 1710 { | 1700 { |
| 1711 m_caretRectDirty = true; | 1701 m_caretRectDirty = true; |
| 1712 | 1702 |
| 1713 scheduleVisualUpdate(); | 1703 scheduleVisualUpdate(); |
| 1714 } | 1704 } |
| 1715 | 1705 |
| 1716 void FrameSelection::scheduleVisualUpdate() const | 1706 void FrameSelection::scheduleVisualUpdate() const |
| 1717 { | 1707 { |
| 1718 if (!m_frame) | 1708 if (!m_frame) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1730 sel.showTreeForThis(); | 1720 sel.showTreeForThis(); |
| 1731 } | 1721 } |
| 1732 | 1722 |
| 1733 void showTree(const blink::FrameSelection* sel) | 1723 void showTree(const blink::FrameSelection* sel) |
| 1734 { | 1724 { |
| 1735 if (sel) | 1725 if (sel) |
| 1736 sel->showTreeForThis(); | 1726 sel->showTreeForThis(); |
| 1737 } | 1727 } |
| 1738 | 1728 |
| 1739 #endif | 1729 #endif |
| OLD | NEW |