| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 static ResourceType cachedResourceType(const Resource&); | 86 static ResourceType cachedResourceType(const Resource&); |
| 87 static TypeBuilder::Page::ResourceType::Enum cachedResourceTypeJson(const Re
source&); | 87 static TypeBuilder::Page::ResourceType::Enum cachedResourceTypeJson(const Re
source&); |
| 88 | 88 |
| 89 // Page API for InspectorFrontend | 89 // Page API for InspectorFrontend |
| 90 virtual void enable(ErrorString*); | 90 virtual void enable(ErrorString*); |
| 91 virtual void disable(ErrorString*); | 91 virtual void disable(ErrorString*); |
| 92 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S
tring* result); | 92 virtual void addScriptToEvaluateOnLoad(ErrorString*, const String& source, S
tring* result); |
| 93 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi
fier); | 93 virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identi
fier); |
| 94 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str
ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor); | 94 virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const Str
ing* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor); |
| 95 virtual void navigate(ErrorString*, const String& url); | 95 virtual void navigate(ErrorString*, const String& url); |
| 96 virtual void getNavigationHistory(ErrorString*, int*, RefPtr<TypeBuilder::Ar
ray<TypeBuilder::Page::NavigationHistoryEntry> >&); |
| 97 virtual void navigateToHistoryEntry(ErrorString*, int); |
| 96 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder:
:Page::Cookie> >& cookies, WTF::String* cookiesString); | 98 virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder:
:Page::Cookie> >& cookies, WTF::String* cookiesString); |
| 97 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri
ng& url); | 99 virtual void deleteCookie(ErrorString*, const String& cookieName, const Stri
ng& url); |
| 98 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe
sourceTree>&); | 100 virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameRe
sourceTree>&); |
| 99 virtual void getResourceContent(ErrorString*, const String& frameId, const S
tring& url, String* content, bool* base64Encoded); | 101 virtual void getResourceContent(ErrorString*, const String& frameId, const S
tring& url, String* content, bool* base64Encoded); |
| 100 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> >&); | 102 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> >&); |
| 101 virtual void searchInResources(ErrorString*, const String&, const bool* case
Sensitive, const bool* isRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Sea
rchResult> >&); | 103 virtual void searchInResources(ErrorString*, const String&, const bool* case
Sensitive, const bool* isRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Sea
rchResult> >&); |
| 102 virtual void setDocumentContent(ErrorString*, const String& frameId, const S
tring& html); | 104 virtual void setDocumentContent(ErrorString*, const String& frameId, const S
tring& html); |
| 103 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d
ouble fontScaleFactor, bool fitWindow); | 105 virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, d
ouble fontScaleFactor, bool fitWindow); |
| 104 virtual void setShowPaintRects(ErrorString*, bool show); | 106 virtual void setShowPaintRects(ErrorString*, bool show); |
| 105 virtual void setShowDebugBorders(ErrorString*, bool show); | 107 virtual void setShowDebugBorders(ErrorString*, bool show); |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 RefPtr<GeolocationPosition> m_geolocationPosition; | 209 RefPtr<GeolocationPosition> m_geolocationPosition; |
| 208 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 210 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
| 209 RefPtr<DeviceOrientationData> m_deviceOrientation; | 211 RefPtr<DeviceOrientationData> m_deviceOrientation; |
| 210 }; | 212 }; |
| 211 | 213 |
| 212 | 214 |
| 213 } // namespace WebCore | 215 } // namespace WebCore |
| 214 | 216 |
| 215 | 217 |
| 216 #endif // !defined(InspectorPagerAgent_h) | 218 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |