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