OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 [RaisesException] DOMString repaintRectsAsText(Document document); | 183 [RaisesException] DOMString repaintRectsAsText(Document document); |
184 | 184 |
185 [RaisesException] void garbageCollectDocumentResources(Document document); | 185 [RaisesException] void garbageCollectDocumentResources(Document document); |
186 | 186 |
187 void allowRoundingHacks(); | 187 void allowRoundingHacks(); |
188 | 188 |
189 void insertAuthorCSS(Document document, DOMString css); | 189 void insertAuthorCSS(Document document, DOMString css); |
190 void insertUserCSS(Document document, DOMString css); | 190 void insertUserCSS(Document document, DOMString css); |
191 | 191 |
192 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | |
193 [RaisesException] void setBatteryStatus(Document document, DOMString eventTy
pe, boolean charging, double chargingTime, double dischargingTime, double level)
; | |
194 #endif | |
195 | |
196 unsigned long numberOfLiveNodes(); | 192 unsigned long numberOfLiveNodes(); |
197 unsigned long numberOfLiveDocuments(); | 193 unsigned long numberOfLiveDocuments(); |
198 sequence<DOMString> consoleMessageArgumentCounts(Document document); | 194 sequence<DOMString> consoleMessageArgumentCounts(Document document); |
199 DOMWindow openDummyInspectorFrontend(DOMString url); | 195 DOMWindow openDummyInspectorFrontend(DOMString url); |
200 void closeDummyInspectorFrontend(); | 196 void closeDummyInspectorFrontend(); |
201 [RaisesException] void setInspectorResourcesDataSizeLimits(long maximumResou
rcesContentSize, long maximumSingleResourceContentSize); | 197 [RaisesException] void setInspectorResourcesDataSizeLimits(long maximumResou
rcesContentSize, long maximumSingleResourceContentSize); |
202 | 198 |
203 DOMString counterValue(Element element); | 199 DOMString counterValue(Element element); |
204 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); | 200 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); |
205 DOMString[] shortcutIconURLs(Document document); | 201 DOMString[] shortcutIconURLs(Document document); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 void forceReload(boolean endToEnd); | 240 void forceReload(boolean endToEnd); |
245 | 241 |
246 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 242 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
247 | 243 |
248 void enableMockSpeechSynthesizer(); | 244 void enableMockSpeechSynthesizer(); |
249 | 245 |
250 [RaisesException] DOMString getImageSourceURL(Element element); | 246 [RaisesException] DOMString getImageSourceURL(Element element); |
251 | 247 |
252 boolean isSelectPopupVisible(Node node); | 248 boolean isSelectPopupVisible(Node node); |
253 }; | 249 }; |
OLD | NEW |