| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); | 164 static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); |
| 165 | 165 |
| 166 private: | 166 private: |
| 167 static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String*
result, bool* base64Encoded); | 167 static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String*
result, bool* base64Encoded); |
| 168 | 168 |
| 169 InspectorPageAgent(Page*, InjectedScriptManager*, InspectorClient*, Inspecto
rOverlay*); | 169 InspectorPageAgent(Page*, InjectedScriptManager*, InspectorClient*, Inspecto
rOverlay*); |
| 170 bool deviceMetricsChanged(bool enabled, int width, int height, double device
ScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool
textAutosizing); | 170 bool deviceMetricsChanged(bool enabled, int width, int height, double device
ScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool
textAutosizing); |
| 171 void updateViewMetricsFromState(); | 171 void updateViewMetricsFromState(); |
| 172 void updateViewMetrics(bool enabled, int width, int height, double deviceSca
leFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool tex
tAutosizingEnabled); | 172 void updateViewMetrics(bool enabled, int width, int height, double deviceSca
leFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool tex
tAutosizingEnabled); |
| 173 void updateTouchEventEmulationInPage(bool); | 173 void updateTouchEventEmulationInPage(bool); |
| 174 bool forceCompositingMode(ErrorString*); | 174 bool compositingEnabled(ErrorString*); |
| 175 | 175 |
| 176 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); | 176 static bool dataContent(const char* data, unsigned size, const String& textE
ncodingName, bool withBase64Encode, String* result); |
| 177 | 177 |
| 178 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); | 178 PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); |
| 179 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc
alFrame*); | 179 PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(Loc
alFrame*); |
| 180 Page* m_page; | 180 Page* m_page; |
| 181 InjectedScriptManager* m_injectedScriptManager; | 181 InjectedScriptManager* m_injectedScriptManager; |
| 182 InspectorClient* m_client; | 182 InspectorClient* m_client; |
| 183 InspectorFrontend::Page* m_frontend; | 183 InspectorFrontend::Page* m_frontend; |
| 184 InspectorOverlay* m_overlay; | 184 InspectorOverlay* m_overlay; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 202 | 202 |
| 203 bool m_embedderTextAutosizingEnabled; | 203 bool m_embedderTextAutosizingEnabled; |
| 204 double m_embedderFontScaleFactor; | 204 double m_embedderFontScaleFactor; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 | 207 |
| 208 } // namespace WebCore | 208 } // namespace WebCore |
| 209 | 209 |
| 210 | 210 |
| 211 #endif // !defined(InspectorPagerAgent_h) | 211 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |