| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 RenderFlowThread::dispatchRegionLayoutUpdateEvent(); | 422 RenderFlowThread::dispatchRegionLayoutUpdateEvent(); |
| 423 InspectorInstrumentation::didUpdateRegionLayout(document(), m_namedFlow.get(
)); | 423 InspectorInstrumentation::didUpdateRegionLayout(document(), m_namedFlow.get(
)); |
| 424 | 424 |
| 425 if (!m_regionLayoutUpdateEventTimer.isActive() && m_namedFlow->hasEventListe
ners()) | 425 if (!m_regionLayoutUpdateEventTimer.isActive() && m_namedFlow->hasEventListe
ners()) |
| 426 m_regionLayoutUpdateEventTimer.startOneShot(0); | 426 m_regionLayoutUpdateEventTimer.startOneShot(0); |
| 427 } | 427 } |
| 428 | 428 |
| 429 void RenderNamedFlowThread::dispatchRegionOversetChangeEvent() | 429 void RenderNamedFlowThread::dispatchRegionOversetChangeEvent() |
| 430 { | 430 { |
| 431 RenderFlowThread::dispatchRegionOversetChangeEvent(); | 431 RenderFlowThread::dispatchRegionOversetChangeEvent(); |
| 432 InspectorInstrumentation::didChangeRegionOverset(document(), m_namedFlow.get
()); |
| 432 | 433 |
| 433 if (!m_regionOversetChangeEventTimer.isActive() && m_namedFlow->hasEventList
eners()) | 434 if (!m_regionOversetChangeEventTimer.isActive() && m_namedFlow->hasEventList
eners()) |
| 434 m_regionOversetChangeEventTimer.startOneShot(0); | 435 m_regionOversetChangeEventTimer.startOneShot(0); |
| 435 } | 436 } |
| 436 | 437 |
| 437 void RenderNamedFlowThread::regionLayoutUpdateEventTimerFired(Timer<RenderNamedF
lowThread>*) | 438 void RenderNamedFlowThread::regionLayoutUpdateEventTimerFired(Timer<RenderNamedF
lowThread>*) |
| 438 { | 439 { |
| 439 ASSERT(m_namedFlow); | 440 ASSERT(m_namedFlow); |
| 440 | 441 |
| 441 m_namedFlow->dispatchRegionLayoutUpdateEvent(); | 442 m_namedFlow->dispatchRegionLayoutUpdateEvent(); |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 lastEndNode = node; | 635 lastEndNode = node; |
| 635 } | 636 } |
| 636 } | 637 } |
| 637 } | 638 } |
| 638 if (foundStartPosition || skipOverOutsideNodes) | 639 if (foundStartPosition || skipOverOutsideNodes) |
| 639 rangeObjects.append(range); | 640 rangeObjects.append(range); |
| 640 } | 641 } |
| 641 } | 642 } |
| 642 | 643 |
| 643 } | 644 } |
| OLD | NEW |