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

Side by Side Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 54273005: DevTools: add ids to compositor frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 ic->disconnectFrontend(); 242 ic->disconnectFrontend();
243 ic->hideHighlight(); 243 ic->hideHighlight();
244 m_attached = false; 244 m_attached = false;
245 } 245 }
246 246
247 void WebDevToolsAgentImpl::didNavigate() 247 void WebDevToolsAgentImpl::didNavigate()
248 { 248 {
249 ClientMessageLoopAdapter::didNavigate(); 249 ClientMessageLoopAdapter::didNavigate();
250 } 250 }
251 251
252 void WebDevToolsAgentImpl::didBeginFrame() 252 void WebDevToolsAgentImpl::didBeginFrame(int frameId)
253 { 253 {
254 if (InspectorController* ic = inspectorController()) 254 if (InspectorController* ic = inspectorController())
255 ic->didBeginFrame(); 255 ic->didBeginFrame(frameId);
256 } 256 }
257 257
258 void WebDevToolsAgentImpl::didCancelFrame() 258 void WebDevToolsAgentImpl::didCancelFrame()
259 { 259 {
260 if (InspectorController* ic = inspectorController()) 260 if (InspectorController* ic = inspectorController())
261 ic->didCancelFrame(); 261 ic->didCancelFrame();
262 } 262 }
263 263
264 void WebDevToolsAgentImpl::willComposite() 264 void WebDevToolsAgentImpl::willComposite()
265 { 265 {
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kProfiler_getCPUProfileCmd) 595 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kProfiler_getCPUProfileCmd)
596 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kHeapProfiler_getHeapSnapshotCmd); 596 || commandName == InspectorBackendDispatcher::commandName(InspectorBacke ndDispatcher::kHeapProfiler_getHeapSnapshotCmd);
597 } 597 }
598 598
599 void WebDevToolsAgent::processPendingMessages() 599 void WebDevToolsAgent::processPendingMessages()
600 { 600 {
601 PageScriptDebugServer::shared().runPendingTasks(); 601 PageScriptDebugServer::shared().runPendingTasks();
602 } 602 }
603 603
604 } // namespace WebKit 604 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698