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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 String counterValue(Element*); | 247 String counterValue(Element*); |
248 | 248 |
249 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); | 249 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); |
250 Vector<String> shortcutIconURLs(Document*) const; | 250 Vector<String> shortcutIconURLs(Document*) const; |
251 Vector<String> allIconURLs(Document*) const; | 251 Vector<String> allIconURLs(Document*) const; |
252 | 252 |
253 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); | 253 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); |
254 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; | 254 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; |
255 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; | 255 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; |
256 | 256 |
| 257 void setDeviceScaleFactor(float scaleFactor, ExceptionCode&); |
257 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&); | 258 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&); |
258 | 259 |
259 void setIsCursorVisible(Document*, bool, ExceptionCode&); | 260 void setIsCursorVisible(Document*, bool, ExceptionCode&); |
260 | 261 |
261 void webkitWillEnterFullScreenForElement(Document*, Element*); | 262 void webkitWillEnterFullScreenForElement(Document*, Element*); |
262 void webkitDidEnterFullScreenForElement(Document*, Element*); | 263 void webkitDidEnterFullScreenForElement(Document*, Element*); |
263 void webkitWillExitFullScreenForElement(Document*, Element*); | 264 void webkitWillExitFullScreenForElement(Document*, Element*); |
264 void webkitDidExitFullScreenForElement(Document*, Element*); | 265 void webkitDidExitFullScreenForElement(Document*, Element*); |
265 | 266 |
266 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
; | 267 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 303 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
303 | 304 |
304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 305 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
305 RefPtr<DOMWindow> m_frontendWindow; | 306 RefPtr<DOMWindow> m_frontendWindow; |
306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 307 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
307 }; | 308 }; |
308 | 309 |
309 } // namespace WebCore | 310 } // namespace WebCore |
310 | 311 |
311 #endif | 312 #endif |
OLD | NEW |