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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual void enable(ErrorString*) OVERRIDE; | 95 virtual void enable(ErrorString*) OVERRIDE; |
96 virtual void disable(ErrorString*) OVERRIDE; | 96 virtual void disable(ErrorString*) OVERRIDE; |
97 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S
tring* result) OVERRIDE; | 97 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S
tring* result) OVERRIDE; |
98 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi
fier) OVERRIDE; | 98 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi
fier) OVERRIDE; |
99 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str
ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor) O
VERRIDE; | 99 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str
ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor) O
VERRIDE; |
100 virtual void navigate(ErrorString*, const String& url) OVERRIDE; | 100 virtual void navigate(ErrorString*, const String& url) OVERRIDE; |
101 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder:
:Page::Cookie> >& cookies) OVERRIDE; | 101 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder:
:Page::Cookie> >& cookies) OVERRIDE; |
102 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri
ng& url) OVERRIDE; | 102 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri
ng& url) OVERRIDE; |
103 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe
sourceTree>&) OVERRIDE; | 103 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe
sourceTree>&) OVERRIDE; |
104 virtual void getResourceContent(ErrorString*, const String& frameId, const S
tring& url, String* content, bool* base64Encoded) OVERRIDE; | 104 virtual void getResourceContent(ErrorString*, const String& frameId, const S
tring& url, String* content, bool* base64Encoded) OVERRIDE; |
| 105 virtual void hasTouchInputs(ErrorString*, bool* result) OVERRIDE; |
105 virtual void searchInResource(ErrorString*, const String& frameId, const Str
ing& url, const String& query, const bool* optionalCaseSensitive, const bool* op
tionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVE
RRIDE; | 106 virtual void searchInResource(ErrorString*, const String& frameId, const Str
ing& url, const String& query, const bool* optionalCaseSensitive, const bool* op
tionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVE
RRIDE; |
106 virtual void setDocumentContent(ErrorString*, const String& frameId, const S
tring& html) OVERRIDE; | 107 virtual void setDocumentContent(ErrorString*, const String& frameId, const S
tring& html) OVERRIDE; |
107 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d
ouble deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optio
nalTextAutosizing, const double* optionalFontScaleFactor) OVERRIDE; | 108 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d
ouble deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optio
nalTextAutosizing, const double* optionalFontScaleFactor) OVERRIDE; |
108 virtual void setShowPaintRects(ErrorString*, bool show) OVERRIDE; | 109 virtual void setShowPaintRects(ErrorString*, bool show) OVERRIDE; |
109 virtual void setShowDebugBorders(ErrorString*, bool show) OVERRIDE; | 110 virtual void setShowDebugBorders(ErrorString*, bool show) OVERRIDE; |
110 virtual void setShowFPSCounter(ErrorString*, bool show) OVERRIDE; | 111 virtual void setShowFPSCounter(ErrorString*, bool show) OVERRIDE; |
111 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) OVERRI
DE; | 112 virtual void setContinuousPaintingEnabled(ErrorString*, bool enabled) OVERRI
DE; |
112 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) OVERRIDE; | 113 virtual void setShowScrollBottleneckRects(ErrorString*, bool show) OVERRIDE; |
113 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu
lt::Enum*) OVERRIDE; | 114 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu
lt::Enum*) OVERRIDE; |
114 virtual void setScriptExecutionDisabled(ErrorString*, bool) OVERRIDE; | 115 virtual void setScriptExecutionDisabled(ErrorString*, bool) OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 String m_scriptToEvaluateOnLoadOnce; | 185 String m_scriptToEvaluateOnLoadOnce; |
185 String m_pendingScriptPreprocessor; | 186 String m_pendingScriptPreprocessor; |
186 String m_scriptPreprocessorSource; | 187 String m_scriptPreprocessorSource; |
187 HashMap<LocalFrame*, String> m_frameToIdentifier; | 188 HashMap<LocalFrame*, String> m_frameToIdentifier; |
188 HashMap<String, LocalFrame*> m_identifierToFrame; | 189 HashMap<String, LocalFrame*> m_identifierToFrame; |
189 HashMap<DocumentLoader*, String> m_loaderToIdentifier; | 190 HashMap<DocumentLoader*, String> m_loaderToIdentifier; |
190 bool m_enabled; | 191 bool m_enabled; |
191 bool m_ignoreScriptsEnabledNotification; | 192 bool m_ignoreScriptsEnabledNotification; |
192 bool m_deviceMetricsOverridden; | 193 bool m_deviceMetricsOverridden; |
193 bool m_emulateViewportEnabled; | 194 bool m_emulateViewportEnabled; |
| 195 |
| 196 bool m_touchEmulationEnabled; |
| 197 bool m_originalTouchEnabled; |
| 198 bool m_originalDeviceSupportsMouse; |
| 199 bool m_originalDeviceSupportsTouch; |
| 200 |
194 bool m_embedderTextAutosizingEnabled; | 201 bool m_embedderTextAutosizingEnabled; |
195 double m_embedderFontScaleFactor; | 202 double m_embedderFontScaleFactor; |
196 }; | 203 }; |
197 | 204 |
198 | 205 |
199 } // namespace WebCore | 206 } // namespace WebCore |
200 | 207 |
201 | 208 |
202 #endif // !defined(InspectorPagerAgent_h) | 209 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |