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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 #if ENABLE(ENCRYPTED_MEDIA_V2) | 284 #if ENABLE(ENCRYPTED_MEDIA_V2) |
285 void initializeMockCDM(); | 285 void initializeMockCDM(); |
286 #endif | 286 #endif |
287 | 287 |
288 #if ENABLE(SPEECH_SYNTHESIS) | 288 #if ENABLE(SPEECH_SYNTHESIS) |
289 void enableMockSpeechSynthesizer(); | 289 void enableMockSpeechSynthesizer(); |
290 #endif | 290 #endif |
291 | 291 |
292 String getImageSourceURL(Element*, ExceptionCode&); | 292 String getImageSourceURL(Element*, ExceptionCode&); |
293 | 293 |
294 #if ENABLE(VIDEO) | |
295 void simulateAudioInterruption(Node*); | |
296 #endif | |
297 | |
298 bool isSelectPopupVisible(Node*); | 294 bool isSelectPopupVisible(Node*); |
299 | 295 |
300 private: | 296 private: |
301 explicit Internals(Document*); | 297 explicit Internals(Document*); |
302 Document* contextDocument() const; | 298 Document* contextDocument() const; |
303 Frame* frame() const; | 299 Frame* frame() const; |
304 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 300 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
305 | 301 |
306 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
307 RefPtr<DOMWindow> m_frontendWindow; | 303 RefPtr<DOMWindow> m_frontendWindow; |
308 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
309 }; | 305 }; |
310 | 306 |
311 } // namespace WebCore | 307 } // namespace WebCore |
312 | 308 |
313 #endif | 309 #endif |
OLD | NEW |