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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 String counterValue(Element*); | 240 String counterValue(Element*); |
241 | 241 |
242 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); | 242 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); |
243 Vector<String> shortcutIconURLs(Document*) const; | 243 Vector<String> shortcutIconURLs(Document*) const; |
244 Vector<String> allIconURLs(Document*) const; | 244 Vector<String> allIconURLs(Document*) const; |
245 | 245 |
246 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); | 246 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); |
247 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; | 247 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const
; |
248 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; | 248 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti
onCode& = ASSERT_NO_EXCEPTION) const; |
249 | 249 |
| 250 void setDeviceScaleFactor(float scaleFactor, ExceptionCode&); |
250 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&); | 251 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&); |
251 | 252 |
252 void webkitWillEnterFullScreenForElement(Document*, Element*); | 253 void webkitWillEnterFullScreenForElement(Document*, Element*); |
253 void webkitDidEnterFullScreenForElement(Document*, Element*); | 254 void webkitDidEnterFullScreenForElement(Document*, Element*); |
254 void webkitWillExitFullScreenForElement(Document*, Element*); | 255 void webkitWillExitFullScreenForElement(Document*, Element*); |
255 void webkitDidExitFullScreenForElement(Document*, Element*); | 256 void webkitDidExitFullScreenForElement(Document*, Element*); |
256 | 257 |
257 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
; | 258 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
; |
258 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String&
scheme); | 259 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String&
scheme); |
259 | 260 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 296 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
296 | 297 |
297 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 298 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
298 RefPtr<DOMWindow> m_frontendWindow; | 299 RefPtr<DOMWindow> m_frontendWindow; |
299 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 300 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
300 }; | 301 }; |
301 | 302 |
302 } // namespace WebCore | 303 } // namespace WebCore |
303 | 304 |
304 #endif | 305 #endif |
OLD | NEW |