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

Side by Side Diff: Source/core/inspector/InspectorController.cpp

Issue 201363002: DevTools: defer styles delta calculation to until the end of the task. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 void InspectorController::willProcessTask() 413 void InspectorController::willProcessTask()
414 { 414 {
415 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 415 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
416 timelineAgent->willProcessTask(); 416 timelineAgent->willProcessTask();
417 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent()) 417 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent())
418 profilerAgent->willProcessTask(); 418 profilerAgent->willProcessTask();
419 } 419 }
420 420
421 void InspectorController::didProcessTask() 421 void InspectorController::didProcessTask()
422 { 422 {
423 if (InspectorCSSAgent* cssAgent = m_instrumentingAgents->inspectorCSSAgent() )
424 cssAgent->didProcessTask();
423 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 425 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
424 timelineAgent->didProcessTask(); 426 timelineAgent->didProcessTask();
425 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent()) 427 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent())
426 profilerAgent->didProcessTask(); 428 profilerAgent->didProcessTask();
427 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent()) 429 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent())
428 domDebuggerAgent->didProcessTask(); 430 domDebuggerAgent->didProcessTask();
429 } 431 }
430 432
431 void InspectorController::didCommitLoadForMainFrame() 433 void InspectorController::didCommitLoadForMainFrame()
432 { 434 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 m_layerTreeAgent->willAddPageOverlay(layer); 481 m_layerTreeAgent->willAddPageOverlay(layer);
480 } 482 }
481 483
482 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) 484 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer)
483 { 485 {
484 if (m_layerTreeAgent) 486 if (m_layerTreeAgent)
485 m_layerTreeAgent->didRemovePageOverlay(layer); 487 m_layerTreeAgent->didRemovePageOverlay(layer);
486 } 488 }
487 489
488 } // namespace WebCore 490 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698