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

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

Issue 18478003: Vibration cannot be canceled during pattern vibration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 String markerTextForListItem(Element*, ExceptionCode&); 272 String markerTextForListItem(Element*, ExceptionCode&);
273 273
274 void forceReload(bool endToEnd); 274 void forceReload(bool endToEnd);
275 275
276 void enableMockSpeechSynthesizer(); 276 void enableMockSpeechSynthesizer();
277 277
278 String getImageSourceURL(Element*, ExceptionCode&); 278 String getImageSourceURL(Element*, ExceptionCode&);
279 279
280 bool isSelectPopupVisible(Node*); 280 bool isSelectPopupVisible(Node*);
281 281
282 bool isVibrating();
283
282 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); 284 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&);
283 String baseURL(Document*, ExceptionCode&); 285 String baseURL(Document*, ExceptionCode&);
284 286
285 private: 287 private:
286 explicit Internals(Document*); 288 explicit Internals(Document*);
287 Document* contextDocument() const; 289 Document* contextDocument() const;
288 Frame* frame() const; 290 Frame* frame() const;
289 Vector<String> iconURLs(Document*, int iconTypesMask) const; 291 Vector<String> iconURLs(Document*, int iconTypesMask) const;
290 292
291 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 293 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
292 RefPtr<DOMWindow> m_frontendWindow; 294 RefPtr<DOMWindow> m_frontendWindow;
293 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 295 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
294 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 296 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
295 }; 297 };
296 298
297 } // namespace WebCore 299 } // namespace WebCore
298 300
299 #endif 301 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698