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 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 void FrameSelection::showTreeForThis() const | 1261 void FrameSelection::showTreeForThis() const |
1262 { | 1262 { |
1263 selection().showTreeForThis(); | 1263 selection().showTreeForThis(); |
1264 } | 1264 } |
1265 | 1265 |
1266 #endif | 1266 #endif |
1267 | 1267 |
1268 DEFINE_TRACE(FrameSelection) | 1268 DEFINE_TRACE(FrameSelection) |
1269 { | 1269 { |
1270 visitor->trace(m_frame); | 1270 visitor->trace(m_frame); |
| 1271 visitor->trace(m_pendingSelection); |
1271 visitor->trace(m_selectionEditor); | 1272 visitor->trace(m_selectionEditor); |
1272 visitor->trace(m_originalBase); | 1273 visitor->trace(m_originalBase); |
1273 visitor->trace(m_previousCaretNode); | 1274 visitor->trace(m_previousCaretNode); |
1274 visitor->trace(m_typingStyle); | 1275 visitor->trace(m_typingStyle); |
1275 } | 1276 } |
1276 | 1277 |
1277 void FrameSelection::setCaretRectNeedsUpdate() | 1278 void FrameSelection::setCaretRectNeedsUpdate() |
1278 { | 1279 { |
1279 m_caretRectDirty = true; | 1280 m_caretRectDirty = true; |
1280 | 1281 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 | 1361 |
1361 void showTree(const blink::FrameSelection* sel) | 1362 void showTree(const blink::FrameSelection* sel) |
1362 { | 1363 { |
1363 if (sel) | 1364 if (sel) |
1364 sel->showTreeForThis(); | 1365 sel->showTreeForThis(); |
1365 else | 1366 else |
1366 fprintf(stderr, "Cannot showTree for (nil) FrameSelection.\n"); | 1367 fprintf(stderr, "Cannot showTree for (nil) FrameSelection.\n"); |
1367 } | 1368 } |
1368 | 1369 |
1369 #endif | 1370 #endif |
OLD | NEW |