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

Unified Diff: Source/core/frame/LocalFrame.h

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/frame/LocalFrame.h
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h
index 8699d3fdb3cfa1c4f43ac30355798425fcb58573..0393d00ae1548847b43019ab159d2082cb0c0065 100644
--- a/Source/core/frame/LocalFrame.h
+++ b/Source/core/frame/LocalFrame.h
@@ -57,6 +57,7 @@ namespace blink {
class InputMethodController;
class IntPoint;
class IntSize;
+ class InstrumentingAgents;
class LocalDOMWindow;
class Node;
class Range;
@@ -125,6 +126,9 @@ namespace blink {
// should be updated to avoid storing things on the main frame.
LocalFrame* localFrameRoot();
+ InstrumentingAgents* instrumentingAgents();
+ void setInstrumentingAgents(InstrumentingAgents*);
+
// ======== All public functions below this point are candidates to move out of LocalFrame into another class. ========
bool inScope(TreeScope*) const;
@@ -222,6 +226,8 @@ namespace blink {
float m_textZoomFactor;
bool m_inViewSourceMode;
+
+ RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
};
inline void LocalFrame::init()

Powered by Google App Engine
This is Rietveld 408576698