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

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

Issue 14466008: Switch speech synthesis from compile-flag to runtime-flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase, switch to RuntimeEnabledFeatures.in Created 7 years, 7 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
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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 String getCurrentCursorInfo(Document*, ExceptionCode&); 280 String getCurrentCursorInfo(Document*, ExceptionCode&);
281 281
282 String markerTextForListItem(Element*, ExceptionCode&); 282 String markerTextForListItem(Element*, ExceptionCode&);
283 283
284 void forceReload(bool endToEnd); 284 void forceReload(bool endToEnd);
285 285
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 #if ENABLE(SPEECH_SYNTHESIS)
291 void enableMockSpeechSynthesizer(); 290 void enableMockSpeechSynthesizer();
292 #endif
293 291
294 String getImageSourceURL(Element*, ExceptionCode&); 292 String getImageSourceURL(Element*, ExceptionCode&);
295 293
296 bool isSelectPopupVisible(Node*); 294 bool isSelectPopupVisible(Node*);
297 295
298 private: 296 private:
299 explicit Internals(Document*); 297 explicit Internals(Document*);
300 Document* contextDocument() const; 298 Document* contextDocument() const;
301 Frame* frame() const; 299 Frame* frame() const;
302 Vector<String> iconURLs(Document*, int iconTypesMask) const; 300 Vector<String> iconURLs(Document*, int iconTypesMask) const;
303 301
304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
305 RefPtr<DOMWindow> m_frontendWindow; 303 RefPtr<DOMWindow> m_frontendWindow;
306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
307 }; 305 };
308 306
309 } // namespace WebCore 307 } // namespace WebCore
310 308
311 #endif 309 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698