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

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

Issue 16896007: Timeline: add support for deferred canvas rasterization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 434 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
435 timelineAgent->willComposite(); 435 timelineAgent->willComposite();
436 } 436 }
437 437
438 void InspectorController::didComposite() 438 void InspectorController::didComposite()
439 { 439 {
440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
441 timelineAgent->didComposite(); 441 timelineAgent->didComposite();
442 } 442 }
443 443
444 void InspectorController::willUpdateLayer(int layerId)
445 {
446 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
447 timelineAgent->willUpdateLayer(layerId);
448 }
449
450 void InspectorController::didUpdateLayer()
451 {
452 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
453 timelineAgent->didUpdateLayer();
454 }
455
444 HashMap<String, size_t> InspectorController::processMemoryDistribution() const 456 HashMap<String, size_t> InspectorController::processMemoryDistribution() const
445 { 457 {
446 HashMap<String, size_t> memoryInfo; 458 HashMap<String, size_t> memoryInfo;
447 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); 459 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo);
448 return memoryInfo; 460 return memoryInfo;
449 } 461 }
450 462
451 } // namespace WebCore 463 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698