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