| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 unsigned numberOfScrollableAreas(Document*, ExceptionCode&); | 192 unsigned numberOfScrollableAreas(Document*, ExceptionCode&); |
| 193 | 193 |
| 194 bool isPageBoxVisible(Document*, int pageNumber, ExceptionCode&); | 194 bool isPageBoxVisible(Document*, int pageNumber, ExceptionCode&); |
| 195 | 195 |
| 196 static const char* internalsId; | 196 static const char* internalsId; |
| 197 | 197 |
| 198 InternalSettings* settings() const; | 198 InternalSettings* settings() const; |
| 199 InternalRuntimeFlags* runtimeFlags() const; | 199 InternalRuntimeFlags* runtimeFlags() const; |
| 200 unsigned workerThreadCount() const; | 200 unsigned workerThreadCount() const; |
| 201 | 201 |
| 202 void setBatteryStatus(Document*, const String& eventType, bool charging, dou
ble chargingTime, double dischargingTime, double level, ExceptionCode&); | |
| 203 | |
| 204 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionCode&); | 202 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionCode&); |
| 205 | 203 |
| 206 enum { | 204 enum { |
| 207 // Values need to be kept in sync with Internals.idl. | 205 // Values need to be kept in sync with Internals.idl. |
| 208 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, | 206 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, |
| 209 LAYER_TREE_INCLUDES_TILE_CACHES = 2, | 207 LAYER_TREE_INCLUDES_TILE_CACHES = 2, |
| 210 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, | 208 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, |
| 211 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 | 209 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 |
| 212 }; | 210 }; |
| 213 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; | 211 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 301 |
| 304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
| 305 RefPtr<DOMWindow> m_frontendWindow; | 303 RefPtr<DOMWindow> m_frontendWindow; |
| 306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
| 307 RefPtr<InternalRuntimeFlags> m_runtimeFlags; | 305 RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
| 308 }; | 306 }; |
| 309 | 307 |
| 310 } // namespace WebCore | 308 } // namespace WebCore |
| 311 | 309 |
| 312 #endif | 310 #endif |
| OLD | NEW |