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 #if ENABLE(ENCRYPTED_MEDIA_V2) | 286 #if ENABLE(ENCRYPTED_MEDIA_V2) |
287 void initializeMockCDM(); | 287 void initializeMockCDM(); |
288 #endif | 288 #endif |
289 | 289 |
290 void enableMockSpeechSynthesizer(); | 290 void enableMockSpeechSynthesizer(); |
291 | 291 |
292 String getImageSourceURL(Element*, ExceptionCode&); | 292 String getImageSourceURL(Element*, ExceptionCode&); |
293 | 293 |
294 bool isSelectPopupVisible(Node*); | 294 bool isSelectPopupVisible(Node*); |
295 | 295 |
| 296 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); |
| 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
ceptionCode&); | 304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
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 }; | 308 }; |
307 | 309 |
308 } // namespace WebCore | 310 } // namespace WebCore |
309 | 311 |
310 #endif | 312 #endif |
OLD | NEW |