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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 class InspectorFrontendChannel; | 53 class InspectorFrontendChannel; |
54 class InspectorFrontendClient; | 54 class InspectorFrontendClient; |
55 class InspectorLayerTreeAgent; | 55 class InspectorLayerTreeAgent; |
56 class InspectorPageAgent; | 56 class InspectorPageAgent; |
57 class InspectorTimelineAgent; | 57 class InspectorTimelineAgent; |
58 class InspectorOverlay; | 58 class InspectorOverlay; |
59 class InspectorState; | 59 class InspectorState; |
60 class InstrumentingAgents; | 60 class InstrumentingAgents; |
61 class IntPoint; | 61 class IntPoint; |
62 class IntSize; | 62 class IntSize; |
63 class JSONObject; | |
63 class Page; | 64 class Page; |
64 class PlatformGestureEvent; | 65 class PlatformGestureEvent; |
65 class PlatformKeyboardEvent; | 66 class PlatformKeyboardEvent; |
66 class PlatformMouseEvent; | 67 class PlatformMouseEvent; |
67 class PlatformTouchEvent; | 68 class PlatformTouchEvent; |
68 class Node; | 69 class Node; |
70 class RenderBox; | |
rwlbuis
2014/04/24 15:17:27
Nit: looks like this is not needed (anymore)?
Habib Virji
2014/04/24 17:12:22
Done.
| |
69 | 71 |
70 struct Highlight; | 72 struct Highlight; |
71 | 73 |
72 class InspectorController { | 74 class InspectorController { |
73 WTF_MAKE_NONCOPYABLE(InspectorController); | 75 WTF_MAKE_NONCOPYABLE(InspectorController); |
74 WTF_MAKE_FAST_ALLOCATED; | 76 WTF_MAKE_FAST_ALLOCATED; |
75 public: | 77 public: |
76 ~InspectorController(); | 78 ~InspectorController(); |
77 | 79 |
78 static PassOwnPtr<InspectorController> create(Page*, InspectorClient*); | 80 static PassOwnPtr<InspectorController> create(Page*, InspectorClient*); |
(...skipping 15 matching lines...) Expand all Loading... | |
94 void disconnectFrontend(); | 96 void disconnectFrontend(); |
95 void reconnectFrontend(); | 97 void reconnectFrontend(); |
96 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie); | 98 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie); |
97 void setProcessId(long); | 99 void setProcessId(long); |
98 void setLayerTreeId(int); | 100 void setLayerTreeId(int); |
99 void webViewResized(const IntSize&); | 101 void webViewResized(const IntSize&); |
100 | 102 |
101 void inspect(Node*); | 103 void inspect(Node*); |
102 void drawHighlight(GraphicsContext&) const; | 104 void drawHighlight(GraphicsContext&) const; |
103 void getHighlight(Highlight*) const; | 105 void getHighlight(Highlight*) const; |
106 PassRefPtr<JSONObject> buildObjectForShapeOutside() const; | |
104 void hideHighlight(); | 107 void hideHighlight(); |
105 Node* highlightedNode() const; | 108 Node* highlightedNode() const; |
106 | 109 |
107 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); | 110 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); |
108 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); | 111 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); |
109 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); | 112 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); |
110 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); | 113 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); |
111 | 114 |
112 void requestPageScaleFactor(float scale, const IntPoint& origin); | 115 void requestPageScaleFactor(float scale, const IntPoint& origin); |
113 bool deviceEmulationEnabled(); | 116 bool deviceEmulationEnabled(); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 InspectorAgentRegistry m_agents; | 164 InspectorAgentRegistry m_agents; |
162 Vector<InspectorAgent*> m_moduleAgents; | 165 Vector<InspectorAgent*> m_moduleAgents; |
163 bool m_isUnderTest; | 166 bool m_isUnderTest; |
164 bool m_deferredAgentsInitialized; | 167 bool m_deferredAgentsInitialized; |
165 }; | 168 }; |
166 | 169 |
167 } | 170 } |
168 | 171 |
169 | 172 |
170 #endif // !defined(InspectorController_h) | 173 #endif // !defined(InspectorController_h) |
OLD | NEW |