| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 // Flags for layerTreeAsText. | 154 // Flags for layerTreeAsText. |
| 155 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 155 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
| 156 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 156 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
| 157 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); | 157 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short
flags) raises (DOMException); |
| 158 | 158 |
| 159 void garbageCollectDocumentResources(in Document document) raises (DOMExcept
ion); | 159 void garbageCollectDocumentResources(in Document document) raises (DOMExcept
ion); |
| 160 | 160 |
| 161 void allowRoundingHacks(); | 161 void allowRoundingHacks(); |
| 162 | 162 |
| 163 void insertAuthorCSS(in Document document, in DOMString css); |
| 164 void insertUserCSS(in Document document, in DOMString css); |
| 165 |
| 163 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS | 166 #if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS |
| 164 void setBatteryStatus(in Document document, in DOMString eventType, in boole
an charging, in double chargingTime, in double dischargingTime, in double level)
raises (DOMException); | 167 void setBatteryStatus(in Document document, in DOMString eventType, in boole
an charging, in double chargingTime, in double dischargingTime, in double level)
raises (DOMException); |
| 165 #endif | 168 #endif |
| 166 | 169 |
| 167 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 170 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 168 void setNetworkInformation(in Document document, in DOMString eventType, in
double bandwidth, in boolean metered) raises (DOMException); | 171 void setNetworkInformation(in Document document, in DOMString eventType, in
double bandwidth, in boolean metered) raises (DOMException); |
| 169 #endif | 172 #endif |
| 170 | 173 |
| 171 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 174 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 172 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 175 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 191 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); | 194 void webkitDidExitFullScreenForElement(in Document document, in Element elem
ent); |
| 192 #endif | 195 #endif |
| 193 | 196 |
| 194 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); | 197 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); |
| 195 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); | 198 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString
scheme); |
| 196 | 199 |
| 197 MallocStatistics mallocStatistics(); | 200 MallocStatistics mallocStatistics(); |
| 198 | 201 |
| 199 DOMString[] getReferencedFilePaths(); | 202 DOMString[] getReferencedFilePaths(); |
| 200 }; | 203 }; |
| OLD | NEW |