| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 Page* page() { return m_page; } | 163 Page* page() { return m_page; } |
| 164 Frame* mainFrame(); | 164 Frame* mainFrame(); |
| 165 String createIdentifier(); | 165 String createIdentifier(); |
| 166 Frame* frameForId(const String& frameId); | 166 Frame* frameForId(const String& frameId); |
| 167 String frameId(Frame*); | 167 String frameId(Frame*); |
| 168 bool hasIdForFrame(Frame*) const; | 168 bool hasIdForFrame(Frame*) const; |
| 169 String loaderId(DocumentLoader*); | 169 String loaderId(DocumentLoader*); |
| 170 Frame* findFrameWithSecurityOrigin(const String& originRawString); | 170 Frame* findFrameWithSecurityOrigin(const String& originRawString); |
| 171 Frame* assertFrame(ErrorString*, const String& frameId); | 171 Frame* assertFrame(ErrorString*, const String& frameId); |
| 172 String scriptPreprocessor() { return m_scriptPreprocessor; } | 172 String scriptPreprocessor() { return m_scriptPreprocessor; } |
| 173 String resourceSourceMapURL(const String& url); |
| 173 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); | 174 static DocumentLoader* assertDocumentLoader(ErrorString*, Frame*); |
| 174 | 175 |
| 175 private: | 176 private: |
| 176 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo
mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); | 177 InspectorPageAgent(InstrumentingAgents*, Page*, InspectorAgent*, InspectorCo
mpositeState*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
| 177 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo
l fitWindow); | 178 bool deviceMetricsChanged(int width, int height, double fontScaleFactor, boo
l fitWindow); |
| 178 void updateViewMetrics(int, int, double, bool); | 179 void updateViewMetrics(int, int, double, bool); |
| 179 void updateTouchEventEmulationInPage(bool); | 180 void updateTouchEventEmulationInPage(bool); |
| 180 | 181 |
| 181 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul
t); | 182 static bool mainResourceContent(Frame*, bool withBase64Encode, String* resul
t); |
| 182 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); | 183 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 204 RefPtr<GeolocationPosition> m_geolocationPosition; | 205 RefPtr<GeolocationPosition> m_geolocationPosition; |
| 205 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 206 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
| 206 RefPtr<DeviceOrientationData> m_deviceOrientation; | 207 RefPtr<DeviceOrientationData> m_deviceOrientation; |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 | 210 |
| 210 } // namespace WebCore | 211 } // namespace WebCore |
| 211 | 212 |
| 212 | 213 |
| 213 #endif // !defined(InspectorPagerAgent_h) | 214 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |