OLD | NEW |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class InspectorCSSAgent; | 51 class InspectorCSSAgent; |
52 class InspectorDebuggerAgent; | 52 class InspectorDebuggerAgent; |
53 class InspectorOverlay; | 53 class InspectorOverlay; |
54 class InspectorResourceContentLoader; | 54 class InspectorResourceContentLoader; |
55 class KURL; | 55 class KURL; |
56 class LayoutRect; | 56 class LayoutRect; |
57 class LocalFrame; | 57 class LocalFrame; |
58 class Page; | 58 class Page; |
59 class LayoutObject; | 59 class LayoutObject; |
60 class SharedBuffer; | 60 class SharedBuffer; |
61 class StyleResolver; | |
62 class TextResourceDecoder; | 61 class TextResourceDecoder; |
63 | 62 |
64 typedef String ErrorString; | 63 typedef String ErrorString; |
65 | 64 |
66 class InspectorPageAgent final : public InspectorBaseAgent<InspectorPageAgent>,
public InspectorBackendDispatcher::PageCommandHandler { | 65 class InspectorPageAgent final : public InspectorBaseAgent<InspectorPageAgent>,
public InspectorBackendDispatcher::PageCommandHandler { |
67 WTF_MAKE_NONCOPYABLE(InspectorPageAgent); | 66 WTF_MAKE_NONCOPYABLE(InspectorPageAgent); |
68 public: | 67 public: |
69 enum ResourceType { | 68 enum ResourceType { |
70 DocumentResource, | 69 DocumentResource, |
71 StylesheetResource, | 70 StylesheetResource, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 void didCommitLoad(LocalFrame*, DocumentLoader*); | 135 void didCommitLoad(LocalFrame*, DocumentLoader*); |
137 void frameAttachedToParent(LocalFrame*); | 136 void frameAttachedToParent(LocalFrame*); |
138 void frameDetachedFromParent(LocalFrame*); | 137 void frameDetachedFromParent(LocalFrame*); |
139 void loaderDetachedFromFrame(DocumentLoader*); | 138 void loaderDetachedFromFrame(DocumentLoader*); |
140 void frameStartedLoading(LocalFrame*); | 139 void frameStartedLoading(LocalFrame*); |
141 void frameStoppedLoading(LocalFrame*); | 140 void frameStoppedLoading(LocalFrame*); |
142 void frameScheduledNavigation(LocalFrame*, double delay); | 141 void frameScheduledNavigation(LocalFrame*, double delay); |
143 void frameClearedScheduledNavigation(LocalFrame*); | 142 void frameClearedScheduledNavigation(LocalFrame*); |
144 void willRunJavaScriptDialog(const String& message); | 143 void willRunJavaScriptDialog(const String& message); |
145 void didRunJavaScriptDialog(); | 144 void didRunJavaScriptDialog(); |
146 bool applyViewportStyleOverride(StyleResolver*); | 145 bool shouldApplyViewportStyleOverride(); |
147 void applyEmulatedMedia(String*); | 146 void applyEmulatedMedia(String*); |
148 void didPaint(LayoutObject*, const GraphicsLayer*, GraphicsContext*, const L
ayoutRect&); | 147 void didPaint(LayoutObject*, const GraphicsLayer*, GraphicsContext*, const L
ayoutRect&); |
149 void didLayout(); | 148 void didLayout(); |
150 void didScroll(); | 149 void didScroll(); |
151 void didResizeMainFrame(); | 150 void didResizeMainFrame(); |
152 void didRecalculateStyle(int); | 151 void didRecalculateStyle(int); |
153 void scriptsEnabled(bool isEnabled); | 152 void scriptsEnabled(bool isEnabled); |
154 | 153 |
155 // Inspector Controller API | 154 // Inspector Controller API |
156 void setFrontend(InspectorFrontend*) override; | 155 void setFrontend(InspectorFrontend*) override; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 bool m_reloading; | 225 bool m_reloading; |
227 | 226 |
228 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; | 227 OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceConten
tLoader; |
229 }; | 228 }; |
230 | 229 |
231 | 230 |
232 } // namespace blink | 231 } // namespace blink |
233 | 232 |
234 | 233 |
235 #endif // !defined(InspectorPagerAgent_h) | 234 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |