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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 unsigned numberOfLiveNodes() const; | 242 unsigned numberOfLiveNodes() const; |
243 unsigned numberOfLiveDocuments() const; | 243 unsigned numberOfLiveDocuments() const; |
244 String dumpRefCountedInstanceCounts() const; | 244 String dumpRefCountedInstanceCounts() const; |
245 Vector<String> consoleMessageArgumentCounts(Document*) const; | 245 Vector<String> consoleMessageArgumentCounts(Document*) const; |
246 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri
ng& url); | 246 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri
ng& url); |
247 void closeDummyInspectorFrontend(); | 247 void closeDummyInspectorFrontend(); |
248 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u
nsigned long maxDeadBytes, unsigned long totalBytes); | 248 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u
nsigned long maxDeadBytes, unsigned long totalBytes); |
249 | 249 |
250 String counterValue(Element*); | 250 String counterValue(Element*); |
251 | 251 |
252 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); | 252 int pageNumber(Element*, float pageWidth, float pageHeight, ExceptionState&)
; |
253 Vector<String> shortcutIconURLs(Document*) const; | 253 Vector<String> shortcutIconURLs(Document*) const; |
254 Vector<String> allIconURLs(Document*) const; | 254 Vector<String> allIconURLs(Document*) const; |
255 | 255 |
256 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); | 256 int numberOfPages(float pageWidthInPixels, float pageHeightInPixels, Excepti
onState&); |
257 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons
t; | 257 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons
t; |
258 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onState& = ASSERT_NO_EXCEPTION) const; | 258 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onState& = ASSERT_NO_EXCEPTION) const; |
259 | 259 |
260 void setDeviceScaleFactor(float scaleFactor, ExceptionState&); | 260 void setDeviceScaleFactor(float scaleFactor, ExceptionState&); |
261 void setPageScaleFactor(float scaleFactor, ExceptionState&); | 261 void setPageScaleFactor(float scaleFactor, ExceptionState&); |
262 void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor, Ex
ceptionState&); | 262 void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor, Ex
ceptionState&); |
263 | 263 |
264 bool magnifyScaleAroundAnchor(float factor, float x, float y); | 264 bool magnifyScaleAroundAnchor(float factor, float x, float y); |
265 | 265 |
266 void setIsCursorVisible(Document*, bool, ExceptionState&); | 266 void setIsCursorVisible(Document*, bool, ExceptionState&); |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 407 |
408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
409 Member<InternalRuntimeFlags> m_runtimeFlags; | 409 Member<InternalRuntimeFlags> m_runtimeFlags; |
410 | 410 |
411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
412 }; | 412 }; |
413 | 413 |
414 } // namespace blink | 414 } // namespace blink |
415 | 415 |
416 #endif // Internals_h | 416 #endif // Internals_h |
OLD | NEW |