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

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

Issue 665763002: Oilpan: move context menu providers to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated GC_PLUGIN_IGNORE() 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
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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 return; 360 return;
361 injectedScript.inspectNode(node); 361 injectedScript.inspectNode(node);
362 } 362 }
363 363
364 void InspectorController::setInjectedScriptForOrigin(const String& origin, const String& source) 364 void InspectorController::setInjectedScriptForOrigin(const String& origin, const String& source)
365 { 365 {
366 if (InspectorInspectorAgent* inspectorAgent = m_instrumentingAgents->inspect orInspectorAgent()) 366 if (InspectorInspectorAgent* inspectorAgent = m_instrumentingAgents->inspect orInspectorAgent())
367 inspectorAgent->setInjectedScriptForOrigin(origin, source); 367 inspectorAgent->setInjectedScriptForOrigin(origin, source);
368 } 368 }
369 369
370 void InspectorController::showContextMenu(float x, float y, PassRefPtr<ContextMe nuProvider> menuProvider) 370 void InspectorController::showContextMenu(float x, float y, PassRefPtrWillBeRawP tr<ContextMenuProvider> menuProvider)
371 { 371 {
372 if (!m_inspectorClient) 372 if (!m_inspectorClient)
373 return; 373 return;
374 m_inspectorClient->showContextMenu(x, y, menuProvider); 374 m_inspectorClient->showContextMenu(x, y, menuProvider);
375 } 375 }
376 376
377 void InspectorController::dispatchMessageFromFrontend(const String& message) 377 void InspectorController::dispatchMessageFromFrontend(const String& message)
378 { 378 {
379 if (m_inspectorBackendDispatcher) 379 if (m_inspectorBackendDispatcher)
380 m_inspectorBackendDispatcher->dispatch(message); 380 m_inspectorBackendDispatcher->dispatch(message);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 m_layerTreeAgent->willAddPageOverlay(layer); 523 m_layerTreeAgent->willAddPageOverlay(layer);
524 } 524 }
525 525
526 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) 526 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer)
527 { 527 {
528 if (m_layerTreeAgent) 528 if (m_layerTreeAgent)
529 m_layerTreeAgent->didRemovePageOverlay(layer); 529 m_layerTreeAgent->didRemovePageOverlay(layer);
530 } 530 }
531 531
532 } // namespace blink 532 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorFrontendHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698