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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void setShowScrollBottleneckRects(ErrorString*, bool show); | 108 virtual void setShowScrollBottleneckRects(ErrorString*, bool show); |
109 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu
lt::Enum*); | 109 virtual void getScriptExecutionStatus(ErrorString*, PageCommandHandler::Resu
lt::Enum*); |
110 virtual void setScriptExecutionDisabled(ErrorString*, bool); | 110 virtual void setScriptExecutionDisabled(ErrorString*, bool); |
111 virtual void setGeolocationOverride(ErrorString*, const double*, const doubl
e*, const double*); | 111 virtual void setGeolocationOverride(ErrorString*, const double*, const doubl
e*, const double*); |
112 virtual void clearGeolocationOverride(ErrorString*); | 112 virtual void clearGeolocationOverride(ErrorString*); |
113 virtual void setDeviceOrientationOverride(ErrorString*, double, double, doub
le); | 113 virtual void setDeviceOrientationOverride(ErrorString*, double, double, doub
le); |
114 virtual void clearDeviceOrientationOverride(ErrorString*); | 114 virtual void clearDeviceOrientationOverride(ErrorString*); |
115 virtual void setTouchEmulationEnabled(ErrorString*, bool); | 115 virtual void setTouchEmulationEnabled(ErrorString*, bool); |
116 virtual void setEmulatedMedia(ErrorString*, const String&); | 116 virtual void setEmulatedMedia(ErrorString*, const String&); |
117 virtual void setForceCompositingMode(ErrorString*, bool force); | 117 virtual void setForceCompositingMode(ErrorString*, bool force); |
118 virtual void captureScreenshot(ErrorString*, String* data); | 118 virtual void captureScreenshot(ErrorString*, const String* format, const int
* quality, const double* scale, String* data); |
| 119 virtual void startScreencast(ErrorString*, const String* format, const int*
quality, const double* scale); |
| 120 virtual void stopScreencast(ErrorString*); |
119 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String*
promptText); | 121 virtual void handleJavaScriptDialog(ErrorString*, bool accept, const String*
promptText); |
120 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool
* showGrid); | 122 virtual void setShowViewportSizeOnResize(ErrorString*, bool show, const bool
* showGrid); |
121 | 123 |
122 // Geolocation override helpers. | 124 // Geolocation override helpers. |
123 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); | 125 GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*); |
124 | 126 |
125 // DeviceOrientation helper | 127 // DeviceOrientation helper |
126 DeviceOrientationData* overrideDeviceOrientation(DeviceOrientationData*); | 128 DeviceOrientationData* overrideDeviceOrientation(DeviceOrientationData*); |
127 | 129 |
128 // InspectorInstrumentation API | 130 // InspectorInstrumentation API |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 RefPtr<GeolocationPosition> m_geolocationPosition; | 206 RefPtr<GeolocationPosition> m_geolocationPosition; |
205 RefPtr<GeolocationPosition> m_platformGeolocationPosition; | 207 RefPtr<GeolocationPosition> m_platformGeolocationPosition; |
206 RefPtr<DeviceOrientationData> m_deviceOrientation; | 208 RefPtr<DeviceOrientationData> m_deviceOrientation; |
207 }; | 209 }; |
208 | 210 |
209 | 211 |
210 } // namespace WebCore | 212 } // namespace WebCore |
211 | 213 |
212 | 214 |
213 #endif // !defined(InspectorPagerAgent_h) | 215 #endif // !defined(InspectorPagerAgent_h) |
OLD | NEW |