Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: Source/core/rendering/RenderNamedFlowThread.cpp

Issue 17848002: Web Inspector: Integrate new regionOversetChange event into inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/devtools/front_end/CSSNamedFlowCollectionsView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698