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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2760363002: [instrumentation] Generalize instrumentation to be used beyond the core layer (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class EditingAlgorithm; 52 class EditingAlgorithm;
53 class Element; 53 class Element;
54 template <typename Strategy> 54 template <typename Strategy>
55 class EphemeralRangeTemplate; 55 class EphemeralRangeTemplate;
56 class EventHandler; 56 class EventHandler;
57 class FloatSize; 57 class FloatSize;
58 class FrameConsole; 58 class FrameConsole;
59 class FrameSelection; 59 class FrameSelection;
60 class FrameView; 60 class FrameView;
61 class InputMethodController; 61 class InputMethodController;
62 class InstrumentingAgents; 62 class InspectorInstrumentationAgents;
63 class InterfaceProvider; 63 class InterfaceProvider;
64 class InterfaceRegistry; 64 class InterfaceRegistry;
65 class IntPoint; 65 class IntPoint;
66 class IntSize; 66 class IntSize;
67 class LayoutView; 67 class LayoutView;
68 class LayoutViewItem; 68 class LayoutViewItem;
69 class LocalDOMWindow; 69 class LocalDOMWindow;
70 class LocalWindowProxy; 70 class LocalWindowProxy;
71 class LocalFrameClient; 71 class LocalFrameClient;
72 class NavigationScheduler; 72 class NavigationScheduler;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 LocalFrame* localFrameRoot(); 157 LocalFrame* localFrameRoot();
158 158
159 // Note that the result of this function should not be cached: a frame is 159 // Note that the result of this function should not be cached: a frame is
160 // not necessarily detached when it is navigated, so the return value can 160 // not necessarily detached when it is navigated, so the return value can
161 // change. 161 // change.
162 // In addition, this function will always return true for a detached frame. 162 // In addition, this function will always return true for a detached frame.
163 // TODO(dcheng): Move this to LocalDOMWindow and figure out the right 163 // TODO(dcheng): Move this to LocalDOMWindow and figure out the right
164 // behavior for detached windows. 164 // behavior for detached windows.
165 bool isCrossOriginSubframe() const; 165 bool isCrossOriginSubframe() const;
166 166
167 InstrumentingAgents* instrumentingAgents() { 167 InspectorInstrumentationAgents* instrumentingAgents() {
pfeldman 2017/03/22 01:39:28 CoreProbeSink
alph 2017/03/22 22:09:15 I'll do the InspectorInsrumentation -> CoreProbes
168 return m_instrumentingAgents.get(); 168 return m_instrumentingAgents.get();
169 } 169 }
170 170
171 // ========================================================================= 171 // =========================================================================
172 // All public functions below this point are candidates to move out of 172 // All public functions below this point are candidates to move out of
173 // LocalFrame into another class. 173 // LocalFrame into another class.
174 174
175 // See GraphicsLayerClient.h for accepted flags. 175 // See GraphicsLayerClient.h for accepted flags.
176 String layerTreeAsText(unsigned flags = 0) const; 176 String layerTreeAsText(unsigned flags = 0) const;
177 177
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 const Member<FrameConsole> m_console; 263 const Member<FrameConsole> m_console;
264 const Member<InputMethodController> m_inputMethodController; 264 const Member<InputMethodController> m_inputMethodController;
265 265
266 int m_navigationDisableCount; 266 int m_navigationDisableCount;
267 267
268 float m_pageZoomFactor; 268 float m_pageZoomFactor;
269 float m_textZoomFactor; 269 float m_textZoomFactor;
270 270
271 bool m_inViewSourceMode; 271 bool m_inViewSourceMode;
272 272
273 Member<InstrumentingAgents> m_instrumentingAgents; 273 Member<InspectorInstrumentationAgents> m_instrumentingAgents;
274 Member<PerformanceMonitor> m_performanceMonitor; 274 Member<PerformanceMonitor> m_performanceMonitor;
275 275
276 InterfaceProvider* const m_interfaceProvider; 276 InterfaceProvider* const m_interfaceProvider;
277 InterfaceRegistry* const m_interfaceRegistry; 277 InterfaceRegistry* const m_interfaceRegistry;
278 }; 278 };
279 279
280 inline void LocalFrame::init() { 280 inline void LocalFrame::init() {
281 m_loader.init(); 281 m_loader.init();
282 } 282 }
283 283
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 explicit ScopedFrameBlamer(LocalFrame*); 373 explicit ScopedFrameBlamer(LocalFrame*);
374 ~ScopedFrameBlamer(); 374 ~ScopedFrameBlamer();
375 375
376 private: 376 private:
377 Member<LocalFrame> m_frame; 377 Member<LocalFrame> m_frame;
378 }; 378 };
379 379
380 } // namespace blink 380 } // namespace blink
381 381
382 #endif // LocalFrame_h 382 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698