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 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 compositingEnabled(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 RawPtrWillBeMember<Page> m_page; | 180 RawPtrWillBeMember<Page> m_page; |
181 // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. | 181 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
182 InjectedScriptManager* m_injectedScriptManager; | |
183 InspectorClient* m_client; | 182 InspectorClient* m_client; |
184 InspectorFrontend::Page* m_frontend; | 183 InspectorFrontend::Page* m_frontend; |
185 InspectorOverlay* m_overlay; | 184 InspectorOverlay* m_overlay; |
186 long m_lastScriptIdentifier; | 185 long m_lastScriptIdentifier; |
187 String m_pendingScriptToEvaluateOnLoadOnce; | 186 String m_pendingScriptToEvaluateOnLoadOnce; |
188 String m_scriptToEvaluateOnLoadOnce; | 187 String m_scriptToEvaluateOnLoadOnce; |
189 String m_pendingScriptPreprocessor; | 188 String m_pendingScriptPreprocessor; |
190 String m_scriptPreprocessorSource; | 189 String m_scriptPreprocessorSource; |
191 HashMap<LocalFrame*, String> m_frameToIdentifier; | 190 HashMap<LocalFrame*, String> m_frameToIdentifier; |
192 HashMap<String, LocalFrame*> m_identifierToFrame; | 191 HashMap<String, LocalFrame*> m_identifierToFrame; |
(...skipping 10 matching lines...) Expand all Loading... |
203 | 202 |
204 bool m_embedderTextAutosizingEnabled; | 203 bool m_embedderTextAutosizingEnabled; |
205 double m_embedderFontScaleFactor; | 204 double m_embedderFontScaleFactor; |
206 }; | 205 }; |
207 | 206 |
208 | 207 |
209 } // namespace WebCore | 208 } // namespace WebCore |
210 | 209 |
211 | 210 |
212 #endif // !defined(InspectorPagerAgent_h) | 211 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |