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

Side by Side Diff: Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp

Issue 16878004: DevTools: add instrumentation 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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 void WebDevToolsAgentImpl::clearBrowserCookies() 693 void WebDevToolsAgentImpl::clearBrowserCookies()
694 { 694 {
695 m_client->clearBrowserCookies(); 695 m_client->clearBrowserCookies();
696 } 696 }
697 697
698 void WebDevToolsAgentImpl::setProcessId(long processId) 698 void WebDevToolsAgentImpl::setProcessId(long processId)
699 { 699 {
700 inspectorController()->setProcessId(processId); 700 inspectorController()->setProcessId(processId);
701 } 701 }
702 702
703 void WebDevToolsAgentImpl::setLayerTreeId(int layerTreeId)
704 {
705 inspectorController()->setLayerTreeId(layerTreeId);
706 }
707
703 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString& script) 708 void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString& script)
704 { 709 {
705 InspectorController* ic = inspectorController(); 710 InspectorController* ic = inspectorController();
706 ic->evaluateForTestInFrontend(callId, script); 711 ic->evaluateForTestInFrontend(callId, script);
707 } 712 }
708 713
709 void WebDevToolsAgentImpl::willProcessTask() 714 void WebDevToolsAgentImpl::willProcessTask()
710 { 715 {
711 if (InspectorController* ic = inspectorController()) 716 if (InspectorController* ic = inspectorController())
712 ic->willProcessTask(); 717 ic->willProcessTask();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kProfiler_getCPUProfileCmd] 756 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kProfiler_getCPUProfileCmd]
752 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kHeapProfiler_getHeapSnapshotCmd]; 757 || commandName == InspectorBackendDispatcher::commandNames[InspectorBack endDispatcher::kHeapProfiler_getHeapSnapshotCmd];
753 } 758 }
754 759
755 void WebDevToolsAgent::processPendingMessages() 760 void WebDevToolsAgent::processPendingMessages()
756 { 761 {
757 PageScriptDebugServer::shared().runPendingTasks(); 762 PageScriptDebugServer::shared().runPendingTasks();
758 } 763 }
759 764
760 } // namespace WebKit 765 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698