| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 RenderFlowThread::dispatchRegionLayoutUpdateEvent(); | 471 RenderFlowThread::dispatchRegionLayoutUpdateEvent(); |
| 472 InspectorInstrumentation::didUpdateRegionLayout(document(), m_namedFlow.get(
)); | 472 InspectorInstrumentation::didUpdateRegionLayout(document(), m_namedFlow.get(
)); |
| 473 | 473 |
| 474 if (!m_regionLayoutUpdateEventTimer.isActive() && m_namedFlow->hasEventListe
ners()) | 474 if (!m_regionLayoutUpdateEventTimer.isActive() && m_namedFlow->hasEventListe
ners()) |
| 475 m_regionLayoutUpdateEventTimer.startOneShot(0); | 475 m_regionLayoutUpdateEventTimer.startOneShot(0); |
| 476 } | 476 } |
| 477 | 477 |
| 478 void RenderNamedFlowThread::dispatchRegionOversetChangeEvent() | 478 void RenderNamedFlowThread::dispatchRegionOversetChangeEvent() |
| 479 { | 479 { |
| 480 RenderFlowThread::dispatchRegionOversetChangeEvent(); | 480 RenderFlowThread::dispatchRegionOversetChangeEvent(); |
| 481 InspectorInstrumentation::didChangeRegionOverset(document(), m_namedFlow.get
()); |
| 481 | 482 |
| 482 if (!m_regionOversetChangeEventTimer.isActive() && m_namedFlow->hasEventList
eners()) | 483 if (!m_regionOversetChangeEventTimer.isActive() && m_namedFlow->hasEventList
eners()) |
| 483 m_regionOversetChangeEventTimer.startOneShot(0); | 484 m_regionOversetChangeEventTimer.startOneShot(0); |
| 484 } | 485 } |
| 485 | 486 |
| 486 void RenderNamedFlowThread::regionLayoutUpdateEventTimerFired(Timer<RenderNamedF
lowThread>*) | 487 void RenderNamedFlowThread::regionLayoutUpdateEventTimerFired(Timer<RenderNamedF
lowThread>*) |
| 487 { | 488 { |
| 488 ASSERT(m_namedFlow); | 489 ASSERT(m_namedFlow); |
| 489 | 490 |
| 490 m_namedFlow->dispatchRegionLayoutUpdateEvent(); | 491 m_namedFlow->dispatchRegionLayoutUpdateEvent(); |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 lastEndNode = node; | 684 lastEndNode = node; |
| 684 } | 685 } |
| 685 } | 686 } |
| 686 } | 687 } |
| 687 if (foundStartPosition || skipOverOutsideNodes) | 688 if (foundStartPosition || skipOverOutsideNodes) |
| 688 rangeObjects.append(range); | 689 rangeObjects.append(range); |
| 689 } | 690 } |
| 690 } | 691 } |
| 691 | 692 |
| 692 } | 693 } |
| OLD | NEW |