| 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; |
| 69 | 70 |
| 70 struct Highlight; | 71 struct Highlight; |
| 71 | 72 |
| 72 class InspectorController { | 73 class InspectorController { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 94 void disconnectFrontend(); | 95 void disconnectFrontend(); |
| 95 void reconnectFrontend(); | 96 void reconnectFrontend(); |
| 96 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo
okie); | 97 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo
okie); |
| 97 void setProcessId(long); | 98 void setProcessId(long); |
| 98 void setLayerTreeId(int); | 99 void setLayerTreeId(int); |
| 99 void webViewResized(const IntSize&); | 100 void webViewResized(const IntSize&); |
| 100 | 101 |
| 101 void inspect(Node*); | 102 void inspect(Node*); |
| 102 void drawHighlight(GraphicsContext&) const; | 103 void drawHighlight(GraphicsContext&) const; |
| 103 void getHighlight(Highlight*) const; | 104 void getHighlight(Highlight*) const; |
| 105 PassRefPtr<JSONObject> buildObjectForShapeOutside() const; |
| 104 void hideHighlight(); | 106 void hideHighlight(); |
| 105 Node* highlightedNode() const; | 107 Node* highlightedNode() const; |
| 106 | 108 |
| 107 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); | 109 bool handleGestureEvent(LocalFrame*, const PlatformGestureEvent&); |
| 108 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); | 110 bool handleMouseEvent(LocalFrame*, const PlatformMouseEvent&); |
| 109 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); | 111 bool handleTouchEvent(LocalFrame*, const PlatformTouchEvent&); |
| 110 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); | 112 bool handleKeyboardEvent(LocalFrame*, const PlatformKeyboardEvent&); |
| 111 | 113 |
| 112 void requestPageScaleFactor(float scale, const IntPoint& origin); | 114 void requestPageScaleFactor(float scale, const IntPoint& origin); |
| 113 bool deviceEmulationEnabled(); | 115 bool deviceEmulationEnabled(); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 InspectorAgentRegistry m_agents; | 163 InspectorAgentRegistry m_agents; |
| 162 Vector<InspectorAgent*> m_moduleAgents; | 164 Vector<InspectorAgent*> m_moduleAgents; |
| 163 bool m_isUnderTest; | 165 bool m_isUnderTest; |
| 164 bool m_deferredAgentsInitialized; | 166 bool m_deferredAgentsInitialized; |
| 165 }; | 167 }; |
| 166 | 168 |
| 167 } | 169 } |
| 168 | 170 |
| 169 | 171 |
| 170 #endif // !defined(InspectorController_h) | 172 #endif // !defined(InspectorController_h) |
| OLD | NEW |