OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef InspectorTraceEvents_h | 5 #ifndef InspectorTraceEvents_h |
6 #define InspectorTraceEvents_h | 6 #define InspectorTraceEvents_h |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } | 65 } |
66 | 66 |
67 enum ResourceLoadPriority : int; | 67 enum ResourceLoadPriority : int; |
68 | 68 |
69 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { | 69 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { |
70 WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); | 70 WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); |
71 | 71 |
72 public: | 72 public: |
73 InspectorTraceEvents() {} | 73 InspectorTraceEvents() {} |
74 | 74 |
75 void init(InstrumentingAgents*, | 75 void init(InspectorInstrumentationAgents*, |
76 protocol::UberDispatcher*, | 76 protocol::UberDispatcher*, |
77 protocol::DictionaryValue*) override; | 77 protocol::DictionaryValue*) override; |
78 void dispose() override; | 78 void dispose() override; |
79 | 79 |
80 void willSendRequest(LocalFrame*, | 80 void willSendRequest(LocalFrame*, |
81 unsigned long identifier, | 81 unsigned long identifier, |
82 DocumentLoader*, | 82 DocumentLoader*, |
83 ResourceRequest&, | 83 ResourceRequest&, |
84 const ResourceResponse& redirectResponse, | 84 const ResourceResponse& redirectResponse, |
85 const FetchInitiatorInfo&); | 85 const FetchInitiatorInfo&); |
(...skipping 18 matching lines...) Expand all Loading... |
104 | 104 |
105 void will(const probe::ParseHTML&); | 105 void will(const probe::ParseHTML&); |
106 void did(const probe::ParseHTML&); | 106 void did(const probe::ParseHTML&); |
107 | 107 |
108 void will(const probe::CallFunction&); | 108 void will(const probe::CallFunction&); |
109 void did(const probe::CallFunction&); | 109 void did(const probe::CallFunction&); |
110 | 110 |
111 DECLARE_VIRTUAL_TRACE(); | 111 DECLARE_VIRTUAL_TRACE(); |
112 | 112 |
113 private: | 113 private: |
114 Member<InstrumentingAgents> m_instrumentingAgents; | 114 Member<InspectorInstrumentationAgents> m_instrumentingAgents; |
115 }; | 115 }; |
116 | 116 |
117 namespace InspectorLayoutEvent { | 117 namespace InspectorLayoutEvent { |
118 std::unique_ptr<TracedValue> beginData(FrameView*); | 118 std::unique_ptr<TracedValue> beginData(FrameView*); |
119 std::unique_ptr<TracedValue> endData(LayoutObject* rootForThisLayout); | 119 std::unique_ptr<TracedValue> endData(LayoutObject* rootForThisLayout); |
120 } | 120 } |
121 | 121 |
122 namespace InspectorScheduleStyleInvalidationTrackingEvent { | 122 namespace InspectorScheduleStyleInvalidationTrackingEvent { |
123 extern const char Attribute[]; | 123 extern const char Attribute[]; |
124 extern const char Class[]; | 124 extern const char Class[]; |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 namespace InspectorAsyncTask { | 442 namespace InspectorAsyncTask { |
443 std::unique_ptr<TracedValue> data(const String&); | 443 std::unique_ptr<TracedValue> data(const String&); |
444 } | 444 } |
445 | 445 |
446 CORE_EXPORT String toHexString(const void* p); | 446 CORE_EXPORT String toHexString(const void* p); |
447 CORE_EXPORT void setCallStack(TracedValue*); | 447 CORE_EXPORT void setCallStack(TracedValue*); |
448 | 448 |
449 } // namespace blink | 449 } // namespace blink |
450 | 450 |
451 #endif // !defined(InspectorTraceEvents_h) | 451 #endif // !defined(InspectorTraceEvents_h) |
OLD | NEW |