| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; | 234 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; |
| 235 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; | 235 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; |
| 236 | 236 |
| 237 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; | 237 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; |
| 238 | 238 |
| 239 void allowRoundingHacks() const; | 239 void allowRoundingHacks() const; |
| 240 | 240 |
| 241 void insertAuthorCSS(Document*, const String&) const; | 241 void insertAuthorCSS(Document*, const String&) const; |
| 242 void insertUserCSS(Document*, const String&) const; | 242 void insertUserCSS(Document*, const String&) const; |
| 243 | 243 |
| 244 #if ENABLE(INSPECTOR) | |
| 245 unsigned numberOfLiveNodes() const; | 244 unsigned numberOfLiveNodes() const; |
| 246 unsigned numberOfLiveDocuments() const; | 245 unsigned numberOfLiveDocuments() const; |
| 247 Vector<String> consoleMessageArgumentCounts(Document*) const; | 246 Vector<String> consoleMessageArgumentCounts(Document*) const; |
| 248 PassRefPtr<DOMWindow> openDummyInspectorFrontend(const String& url); | 247 PassRefPtr<DOMWindow> openDummyInspectorFrontend(const String& url); |
| 249 void closeDummyInspectorFrontend(); | 248 void closeDummyInspectorFrontend(); |
| 250 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in
t maximumSingleResourceContentSize, ExceptionCode&); | 249 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in
t maximumSingleResourceContentSize, ExceptionCode&); |
| 251 void setJavaScriptProfilingEnabled(bool enabled, ExceptionCode&); | 250 void setJavaScriptProfilingEnabled(bool enabled, ExceptionCode&); |
| 252 #endif | |
| 253 | 251 |
| 254 String counterValue(Element*); | 252 String counterValue(Element*); |
| 255 | 253 |
| 256 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); | 254 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); |
| 257 Vector<String> shortcutIconURLs(Document*) const; | 255 Vector<String> shortcutIconURLs(Document*) const; |
| 258 Vector<String> allIconURLs(Document*) const; | 256 Vector<String> allIconURLs(Document*) const; |
| 259 | 257 |
| 260 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); | 258 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); |
| 261 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; | 259 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; |
| 262 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; | 260 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 void simulateAudioInterruption(Node*); | 307 void simulateAudioInterruption(Node*); |
| 310 #endif | 308 #endif |
| 311 | 309 |
| 312 private: | 310 private: |
| 313 explicit Internals(Document*); | 311 explicit Internals(Document*); |
| 314 Document* contextDocument() const; | 312 Document* contextDocument() const; |
| 315 Frame* frame() const; | 313 Frame* frame() const; |
| 316 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 314 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 317 | 315 |
| 318 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 316 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
| 319 #if ENABLE(INSPECTOR) | |
| 320 RefPtr<DOMWindow> m_frontendWindow; | 317 RefPtr<DOMWindow> m_frontendWindow; |
| 321 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 318 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
| 322 #endif | |
| 323 }; | 319 }; |
| 324 | 320 |
| 325 } // namespace WebCore | 321 } // namespace WebCore |
| 326 | 322 |
| 327 #endif | 323 #endif |
| OLD | NEW |