| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 virtual void setDeviceOrientationOverride(ErrorString*, double, double, doub
le); | 115 virtual void setDeviceOrientationOverride(ErrorString*, double, double, doub
le); |
| 116 virtual void clearDeviceOrientationOverride(ErrorString*); | 116 virtual void clearDeviceOrientationOverride(ErrorString*); |
| 117 virtual void setTouchEmulationEnabled(ErrorString*, bool); | 117 virtual void setTouchEmulationEnabled(ErrorString*, bool); |
| 118 virtual void setEmulatedMedia(ErrorString*, const String&); | 118 virtual void setEmulatedMedia(ErrorString*, const String&); |
| 119 virtual void setForceCompositingMode(ErrorString*, bool force); | 119 virtual void setForceCompositingMode(ErrorString*, bool force); |
| 120 virtual void captureScreenshot(ErrorString*, const String* format, const int
* quality, const int* maxWidth, const int* maxHeight, String* data, double* devi
ceScaleFactor, double* pageScaleFactor, RefPtr<TypeBuilder::DOM::Rect>&); | 120 virtual void captureScreenshot(ErrorString*, const String* format, const int
* quality, const int* maxWidth, const int* maxHeight, String* data, double* devi
ceScaleFactor, double* pageScaleFactor, RefPtr<TypeBuilder::DOM::Rect>&); |
| 121 virtual void startScreencast(ErrorString*, const String* format, const int*
quality, const int* maxWidth, const int* maxHeight); | 121 virtual void startScreencast(ErrorString*, const String* format, const int*
quality, const int* maxWidth, const int* maxHeight); |
| 122 virtual void stopScreencast(ErrorString*); | 122 virtual void stopScreencast(ErrorString*); |
| 123 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String*
promptText); | 123 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String*
promptText); |
| 124 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool
* showGrid); | 124 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool
* showGrid); |
| 125 virtual void queryUsageAndQuota(ErrorString*, const String&, RefPtr<TypeBuil
der::Page::Quota>&, RefPtr<TypeBuilder::Page::Usage>&); |
| 125 | 126 |
| 126 // Geolocation override helpers. | 127 // Geolocation override helpers. |
| 127 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); | 128 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); |
| 128 | 129 |
| 129 // DeviceOrientation helper | 130 // DeviceOrientation helper |
| 130 DeviceOrientationData* overrideDeviceOrientation(DeviceOrientationData*); | 131 DeviceOrientationData* overrideDeviceOrientation(DeviceOrientationData*); |
| 131 | 132 |
| 132 // InspectorInstrumentation API | 133 // InspectorInstrumentation API |
| 133 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); | 134 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); |
| 134 void domContentLoadedEventFired(Frame*); | 135 void domContentLoadedEventFired(Frame*); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 RefPtr<GeolocationPosition> m_geolocationPosition; | 210 RefPtr<GeolocationPosition> m_geolocationPosition; |
| 210 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 211 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
| 211 RefPtr<DeviceOrientationData> m_deviceOrientation; | 212 RefPtr<DeviceOrientationData> m_deviceOrientation; |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 | 215 |
| 215 } // namespace WebCore | 216 } // namespace WebCore |
| 216 | 217 |
| 217 | 218 |
| 218 #endif // !defined(InspectorPagerAgent_h) | 219 #endif // !defined(InspectorPagerAgent_h) |
| OLD | NEW |