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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 String loaderId(DocumentLoader*); | 171 String loaderId(DocumentLoader*); |
172 Frame* findFrameWithSecurityOrigin(const String& originRawString); | 172 Frame* findFrameWithSecurityOrigin(const String& originRawString); |
173 Frame* assertFrame(ErrorString*, const String& frameId); | 173 Frame* assertFrame(ErrorString*, const String& frameId); |
174 String scriptPreprocessor() { return m_scriptPreprocessor; } | 174 String scriptPreprocessor() { return m_scriptPreprocessor; } |
175 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); | 175 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); |
176 | 176 |
177 private: | 177 private: |
178 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo
mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); | 178 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo
mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
179 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo
l fitWindow); | 179 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo
l fitWindow); |
180 void updateViewMetrics(int, int, double, bool); | 180 void updateViewMetrics(int, int, double, bool); |
181 #if ENABLE(TOUCH_EVENTS) | |
182 void updateTouchEventEmulationInPage(bool); | 181 void updateTouchEventEmulationInPage(bool); |
183 #endif | |
184 | 182 |
185 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul
t); | 183 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul
t); |
186 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); | 184 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); |
187 | 185 |
188 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*); | 186 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(Frame*); |
189 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra
me*); | 187 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Fra
me*); |
190 Page* m_page; | 188 Page* m_page; |
191 InspectorAgent* m_inspectorAgent; | 189 InspectorAgent* m_inspectorAgent; |
192 InjectedScriptManager* m_injectedScriptManager; | 190 InjectedScriptManager* m_injectedScriptManager; |
193 InspectorClient* m_client; | 191 InspectorClient* m_client; |
(...skipping 14 matching lines...) Expand all Loading... |
208 RefPtr<GeolocationPosition> m_geolocationPosition; | 206 RefPtr<GeolocationPosition> m_geolocationPosition; |
209 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 207 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
210 RefPtr<DeviceOrientationData> m_deviceOrientation; | 208 RefPtr<DeviceOrientationData> m_deviceOrientation; |
211 }; | 209 }; |
212 | 210 |
213 | 211 |
214 } // namespace WebCore | 212 } // namespace WebCore |
215 | 213 |
216 | 214 |
217 #endif // !defined(InspectorPagerAgent_h) | 215 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |