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

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: For landing 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 void InspectorController::didProcessTask() 421 void InspectorController::didProcessTask()
422 { 422 {
423 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 423 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
424 timelineAgent->didProcessTask(); 424 timelineAgent->didProcessTask();
425 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent()) 425 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent())
426 profilerAgent->didProcessTask(); 426 profilerAgent->didProcessTask();
427 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent()) 427 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent())
428 domDebuggerAgent->didProcessTask(); 428 domDebuggerAgent->didProcessTask();
429 } 429 }
430 430
431 void InspectorController::flushPendingFrontendMessages()
432 {
433 m_agents.flushPendingFrontendMessages();
434 }
435
431 void InspectorController::didCommitLoadForMainFrame() 436 void InspectorController::didCommitLoadForMainFrame()
432 { 437 {
433 Vector<InspectorAgent*> agents = m_moduleAgents; 438 Vector<InspectorAgent*> agents = m_moduleAgents;
434 for (size_t i = 0; i < agents.size(); i++) 439 for (size_t i = 0; i < agents.size(); i++)
435 agents[i]->didCommitLoadForMainFrame(); 440 agents[i]->didCommitLoadForMainFrame();
436 } 441 }
437 442
438 void InspectorController::didBeginFrame(int frameId) 443 void InspectorController::didBeginFrame(int frameId)
439 { 444 {
440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 445 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 m_layerTreeAgent->willAddPageOverlay(layer); 484 m_layerTreeAgent->willAddPageOverlay(layer);
480 } 485 }
481 486
482 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) 487 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer)
483 { 488 {
484 if (m_layerTreeAgent) 489 if (m_layerTreeAgent)
485 m_layerTreeAgent->didRemovePageOverlay(layer); 490 m_layerTreeAgent->didRemovePageOverlay(layer);
486 } 491 }
487 492
488 } // namespace WebCore 493 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698