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

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

Issue 38743004: Remove modules/speech dependencies from Internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: patch Created 7 years, 2 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 280
281 PassRefPtr<ArrayBuffer> serializeObject(PassRefPtr<SerializedScriptValue>) c onst; 281 PassRefPtr<ArrayBuffer> serializeObject(PassRefPtr<SerializedScriptValue>) c onst;
282 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const; 282 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const;
283 283
284 String getCurrentCursorInfo(Document*, ExceptionState&); 284 String getCurrentCursorInfo(Document*, ExceptionState&);
285 285
286 String markerTextForListItem(Element*, ExceptionState&); 286 String markerTextForListItem(Element*, ExceptionState&);
287 287
288 void forceReload(bool endToEnd); 288 void forceReload(bool endToEnd);
289 289
290 void enableMockSpeechSynthesizer();
291
292 String getImageSourceURL(Element*, ExceptionState&); 290 String getImageSourceURL(Element*, ExceptionState&);
293 291
294 bool isSelectPopupVisible(Node*); 292 bool isSelectPopupVisible(Node*);
295 293
296 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); 294 PassRefPtr<ClientRect> selectionBounds(ExceptionState&);
297 String baseURL(Document*, ExceptionState&); 295 String baseURL(Document*, ExceptionState&);
298 296
299 bool loseSharedGraphicsContext3D(); 297 bool loseSharedGraphicsContext3D();
300 298
301 private: 299 private:
302 explicit Internals(Document*); 300 explicit Internals(Document*);
303 Document* contextDocument() const; 301 Document* contextDocument() const;
304 Frame* frame() const; 302 Frame* frame() const;
305 Vector<String> iconURLs(Document*, int iconTypesMask) const; 303 Vector<String> iconURLs(Document*, int iconTypesMask) const;
306 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&); 304 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&);
307 305
308 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 306 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
309 RefPtr<DOMWindow> m_frontendWindow; 307 RefPtr<DOMWindow> m_frontendWindow;
310 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 308 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
311 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 309 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
312 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 310 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
313 RefPtr<InternalProfilers> m_profilers; 311 RefPtr<InternalProfilers> m_profilers;
314 }; 312 };
315 313
316 } // namespace WebCore 314 } // namespace WebCore
317 315
318 #endif 316 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/speechsynthesis/speech-synthesis-voices-changed.html ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698