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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 String getImageSourceURL(Element*, ExceptionState&); | 287 String getImageSourceURL(Element*, ExceptionState&); |
288 | 288 |
289 bool isSelectPopupVisible(Node*); | 289 bool isSelectPopupVisible(Node*); |
290 | 290 |
291 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); | 291 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); |
292 String baseURL(Document*, ExceptionState&); | 292 String baseURL(Document*, ExceptionState&); |
293 | 293 |
294 bool loseSharedGraphicsContext3D(); | 294 bool loseSharedGraphicsContext3D(); |
295 | 295 |
| 296 ScriptValue addOneToPromise(ScriptValue promise); |
| 297 |
296 private: | 298 private: |
297 explicit Internals(Document*); | 299 explicit Internals(Document*); |
298 Document* contextDocument() const; | 300 Document* contextDocument() const; |
299 Frame* frame() const; | 301 Frame* frame() const; |
300 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 302 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
301 | 303 |
302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
303 RefPtr<DOMWindow> m_frontendWindow; | 305 RefPtr<DOMWindow> m_frontendWindow; |
304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
305 RefPtr<InternalRuntimeFlags> m_runtimeFlags; | 307 RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
306 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; | 308 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; |
307 RefPtr<InternalProfilers> m_profilers; | 309 RefPtr<InternalProfilers> m_profilers; |
308 }; | 310 }; |
309 | 311 |
310 } // namespace WebCore | 312 } // namespace WebCore |
311 | 313 |
312 #endif | 314 #endif |
OLD | NEW |