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

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

Issue 662603002: [DevTools] Adjust svg elements highlight to the root FrameView origin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 6 years, 2 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
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorOverlay.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 debuggerAgent->resume(&error); 444 debuggerAgent->resume(&error);
445 } 445 }
446 } 446 }
447 447
448 void InspectorController::setResourcesDataSizeLimitsFromInternals(int maximumRes ourcesContentSize, int maximumSingleResourceContentSize) 448 void InspectorController::setResourcesDataSizeLimitsFromInternals(int maximumRes ourcesContentSize, int maximumSingleResourceContentSize)
449 { 449 {
450 if (m_resourceAgent) 450 if (m_resourceAgent)
451 m_resourceAgent->setResourcesDataSizeLimitsFromInternals(maximumResource sContentSize, maximumSingleResourceContentSize); 451 m_resourceAgent->setResourcesDataSizeLimitsFromInternals(maximumResource sContentSize, maximumSingleResourceContentSize);
452 } 452 }
453 453
454 PassRefPtr<JSONObject> InspectorController::highlightJSONForNode(Node* node)
455 {
456 return m_overlay->highlightJSONForNode(node);
457 }
458
454 void InspectorController::willProcessTask() 459 void InspectorController::willProcessTask()
455 { 460 {
456 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 461 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
457 timelineAgent->willProcessTask(); 462 timelineAgent->willProcessTask();
458 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent()) 463 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent())
459 profilerAgent->willProcessTask(); 464 profilerAgent->willProcessTask();
460 } 465 }
461 466
462 void InspectorController::didProcessTask() 467 void InspectorController::didProcessTask()
463 { 468 {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 m_layerTreeAgent->willAddPageOverlay(layer); 528 m_layerTreeAgent->willAddPageOverlay(layer);
524 } 529 }
525 530
526 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) 531 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer)
527 { 532 {
528 if (m_layerTreeAgent) 533 if (m_layerTreeAgent)
529 m_layerTreeAgent->didRemovePageOverlay(layer); 534 m_layerTreeAgent->didRemovePageOverlay(layer);
530 } 535 }
531 536
532 } // namespace blink 537 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorOverlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698