| 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 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1992 void FrameSelection::showTreeForThis() const | 1992 void FrameSelection::showTreeForThis() const |
| 1993 { | 1993 { |
| 1994 selection().showTreeForThis(); | 1994 selection().showTreeForThis(); |
| 1995 } | 1995 } |
| 1996 | 1996 |
| 1997 #endif | 1997 #endif |
| 1998 | 1998 |
| 1999 DEFINE_TRACE(FrameSelection) | 1999 DEFINE_TRACE(FrameSelection) |
| 2000 { | 2000 { |
| 2001 visitor->trace(m_frame); | 2001 visitor->trace(m_frame); |
| 2002 visitor->trace(selection()); | 2002 visitor->trace(m_selection); |
| 2003 visitor->trace(m_originalBase); | 2003 visitor->trace(m_originalBase); |
| 2004 visitor->trace(m_logicalRange); | 2004 visitor->trace(m_logicalRange); |
| 2005 visitor->trace(m_previousCaretNode); | 2005 visitor->trace(m_previousCaretNode); |
| 2006 visitor->trace(m_typingStyle); | 2006 visitor->trace(m_typingStyle); |
| 2007 VisibleSelectionChangeObserver::trace(visitor); | 2007 VisibleSelectionChangeObserver::trace(visitor); |
| 2008 } | 2008 } |
| 2009 | 2009 |
| 2010 void FrameSelection::setCaretRectNeedsUpdate() | 2010 void FrameSelection::setCaretRectNeedsUpdate() |
| 2011 { | 2011 { |
| 2012 m_caretRectDirty = true; | 2012 m_caretRectDirty = true; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2093 | 2093 |
| 2094 void showTree(const blink::FrameSelection* sel) | 2094 void showTree(const blink::FrameSelection* sel) |
| 2095 { | 2095 { |
| 2096 if (sel) | 2096 if (sel) |
| 2097 sel->showTreeForThis(); | 2097 sel->showTreeForThis(); |
| 2098 else | 2098 else |
| 2099 fprintf(stderr, "Cannot showTree for (nil) FrameSelection.\n"); | 2099 fprintf(stderr, "Cannot showTree for (nil) FrameSelection.\n"); |
| 2100 } | 2100 } |
| 2101 | 2101 |
| 2102 #endif | 2102 #endif |
| OLD | NEW |