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

Unified Diff: Source/core/frame/FrameHost.cpp

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed assertion Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameHost.h ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameHost.cpp
diff --git a/Source/core/frame/FrameHost.cpp b/Source/core/frame/FrameHost.cpp
index 6bf82f3fe8be55e915bb97d9d9e251b1c82b7fb8..bcc05520a5a54b4fddfa488a3da01c7e96b76579 100644
--- a/Source/core/frame/FrameHost.cpp
+++ b/Source/core/frame/FrameHost.cpp
@@ -33,6 +33,7 @@
#include "core/frame/EventHandlerRegistry.h"
#include "core/inspector/ConsoleMessageStorage.h"
+#include "core/inspector/InspectorController.h"
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
@@ -73,6 +74,11 @@ UseCounter& FrameHost::useCounter() const
return m_page->useCounter();
}
+InstrumentingAgents* FrameHost::instrumentingAgents() const
+{
+ return m_page->inspectorController().instrumentingAgents();
+}
+
float FrameHost::deviceScaleFactor() const
{
return m_page->deviceScaleFactor();
« no previous file with comments | « Source/core/frame/FrameHost.h ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698