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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void reconnectFrontend(InspectorFrontendChannel*, const String& inspectorSta
teCookie); | 96 void reconnectFrontend(InspectorFrontendChannel*, const String& inspectorSta
teCookie); |
97 void setProcessId(long); | 97 void setProcessId(long); |
98 void webViewResized(const IntSize&); | 98 void webViewResized(const IntSize&); |
99 | 99 |
100 void inspect(Node*); | 100 void inspect(Node*); |
101 void drawHighlight(GraphicsContext&) const; | 101 void drawHighlight(GraphicsContext&) const; |
102 void getHighlight(Highlight*) const; | 102 void getHighlight(Highlight*) const; |
103 void hideHighlight(); | 103 void hideHighlight(); |
104 Node* highlightedNode() const; | 104 Node* highlightedNode() const; |
105 | 105 |
| 106 bool isUnderTest(); |
106 void evaluateForTestInFrontend(long callId, const String& script); | 107 void evaluateForTestInFrontend(long callId, const String& script); |
107 | 108 |
108 #if ENABLE(JAVASCRIPT_DEBUGGER) | 109 #if ENABLE(JAVASCRIPT_DEBUGGER) |
109 bool profilerEnabled(); | 110 bool profilerEnabled(); |
110 void setProfilerEnabled(bool); | 111 void setProfilerEnabled(bool); |
111 | 112 |
112 void resume(); | 113 void resume(); |
113 #endif | 114 #endif |
114 | 115 |
115 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); | 116 void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize
, int maximumSingleResourceContentSize); |
(...skipping 25 matching lines...) Expand all Loading... |
141 InspectorDebuggerAgent* m_debuggerAgent; | 142 InspectorDebuggerAgent* m_debuggerAgent; |
142 InspectorProfilerAgent* m_profilerAgent; | 143 InspectorProfilerAgent* m_profilerAgent; |
143 #endif | 144 #endif |
144 | 145 |
145 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; | 146 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; |
146 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; | 147 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; |
147 OwnPtr<InspectorFrontend> m_inspectorFrontend; | 148 OwnPtr<InspectorFrontend> m_inspectorFrontend; |
148 Page* m_page; | 149 Page* m_page; |
149 InspectorClient* m_inspectorClient; | 150 InspectorClient* m_inspectorClient; |
150 InspectorAgentRegistry m_agents; | 151 InspectorAgentRegistry m_agents; |
| 152 bool m_isUnderTest; |
151 }; | 153 }; |
152 | 154 |
153 } | 155 } |
154 | 156 |
155 #endif // ENABLE(INSPECTOR) | 157 #endif // ENABLE(INSPECTOR) |
156 | 158 |
157 #endif // !defined(InspectorController_h) | 159 #endif // !defined(InspectorController_h) |
OLD | NEW |