Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: Source/core/testing/Internals.h

Issue 16387015: Make unprefixed EME APIs use platform and Chromium. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const; 278 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const;
279 279
280 void setUsesOverlayScrollbars(bool enabled); 280 void setUsesOverlayScrollbars(bool enabled);
281 281
282 String getCurrentCursorInfo(Document*, ExceptionCode&); 282 String getCurrentCursorInfo(Document*, ExceptionCode&);
283 283
284 String markerTextForListItem(Element*, ExceptionCode&); 284 String markerTextForListItem(Element*, ExceptionCode&);
285 285
286 void forceReload(bool endToEnd); 286 void forceReload(bool endToEnd);
287 287
288 #if ENABLE(ENCRYPTED_MEDIA_V2)
289 void initializeMockCDM();
290 #endif
291
292 void enableMockSpeechSynthesizer(); 288 void enableMockSpeechSynthesizer();
293 289
294 String getImageSourceURL(Element*, ExceptionCode&); 290 String getImageSourceURL(Element*, ExceptionCode&);
295 291
296 bool isSelectPopupVisible(Node*); 292 bool isSelectPopupVisible(Node*);
297 293
298 private: 294 private:
299 explicit Internals(Document*); 295 explicit Internals(Document*);
300 Document* contextDocument() const; 296 Document* contextDocument() const;
301 Frame* frame() const; 297 Frame* frame() const;
302 Vector<String> iconURLs(Document*, int iconTypesMask) const; 298 Vector<String> iconURLs(Document*, int iconTypesMask) const;
303 299
304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 300 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
305 RefPtr<DOMWindow> m_frontendWindow; 301 RefPtr<DOMWindow> m_frontendWindow;
306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 302 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
307 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 303 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
308 }; 304 };
309 305
310 } // namespace WebCore 306 } // namespace WebCore
311 307
312 #endif 308 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698