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

Side by Side Diff: Source/WebKit/chromium/src/WebDevToolsAgentImpl.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) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010-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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 if (InspectorController* ic = inspectorController()) 428 if (InspectorController* ic = inspectorController())
429 ic->willComposite(); 429 ic->willComposite();
430 } 430 }
431 431
432 void WebDevToolsAgentImpl::didComposite() 432 void WebDevToolsAgentImpl::didComposite()
433 { 433 {
434 if (InspectorController* ic = inspectorController()) 434 if (InspectorController* ic = inspectorController())
435 ic->didComposite(); 435 ic->didComposite();
436 } 436 }
437 437
438 void WebDevToolsAgentImpl::willUpdateLayer(int layerId)
439 {
440 if (InspectorController* ic = inspectorController())
441 ic->willUpdateLayer(layerId);
442 }
443
444 void WebDevToolsAgentImpl::didUpdateLayer()
445 {
446 if (InspectorController* ic = inspectorController())
447 ic->didUpdateLayer();
448 }
449
438 void WebDevToolsAgentImpl::didCreateScriptContext(WebFrameImpl* webframe, int wo rldId) 450 void WebDevToolsAgentImpl::didCreateScriptContext(WebFrameImpl* webframe, int wo rldId)
439 { 451 {
440 // Skip non main world contexts. 452 // Skip non main world contexts.
441 if (worldId) 453 if (worldId)
442 return; 454 return;
443 if (WebCore::Frame* frame = webframe->frame()) 455 if (WebCore::Frame* frame = webframe->frame())
444 frame->script()->setContextDebugId(m_hostId); 456 frame->script()->setContextDebugId(m_hostId);
445 } 457 }
446 458
447 void WebDevToolsAgentImpl::mainFrameViewCreated(WebFrameImpl* webFrame) 459 void WebDevToolsAgentImpl::mainFrameViewCreated(WebFrameImpl* webFrame)
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kProfiler_getCPUProfileCmd] 763 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kProfiler_getCPUProfileCmd]
752 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kHeapProfiler_getHeapSnapshotCmd]; 764 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kHeapProfiler_getHeapSnapshotCmd];
753 } 765 }
754 766
755 void WebDevToolsAgent::processPendingMessages() 767 void WebDevToolsAgent::processPendingMessages()
756 { 768 {
757 PageScriptDebugServer::shared().runPendingTasks(); 769 PageScriptDebugServer::shared().runPendingTasks();
758 } 770 }
759 771
760 } // namespace WebKit 772 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebDevToolsAgentImpl.h ('k') | Source/core/inspector/InspectorController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698