Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: Source/core/testing/Internals.idl

Issue 16298005: Remove Battery Status API support code from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/battery/BatteryClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/battery/BatteryClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698