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

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: Adoptation for recently changing of NavigatorVibration. 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 String markerTextForListItem(Element*, ExceptionCode&); 276 String markerTextForListItem(Element*, ExceptionCode&);
277 277
278 void forceReload(bool endToEnd); 278 void forceReload(bool endToEnd);
279 279
280 void enableMockSpeechSynthesizer(); 280 void enableMockSpeechSynthesizer();
281 281
282 String getImageSourceURL(Element*, ExceptionCode&); 282 String getImageSourceURL(Element*, ExceptionCode&);
283 283
284 bool isSelectPopupVisible(Node*); 284 bool isSelectPopupVisible(Node*);
285 285
286 bool isVibrating(Document*);
287
286 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); 288 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&);
287 String baseURL(Document*, ExceptionCode&); 289 String baseURL(Document*, ExceptionCode&);
288 290
289 private: 291 private:
290 explicit Internals(Document*); 292 explicit Internals(Document*);
291 Document* contextDocument() const; 293 Document* contextDocument() const;
292 Frame* frame() const; 294 Frame* frame() const;
293 Vector<String> iconURLs(Document*, int iconTypesMask) const; 295 Vector<String> iconURLs(Document*, int iconTypesMask) const;
294 296
295 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 297 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
296 RefPtr<DOMWindow> m_frontendWindow; 298 RefPtr<DOMWindow> m_frontendWindow;
297 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 299 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
298 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 300 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
299 RefPtr<InternalProfilers> m_profilers; 301 RefPtr<InternalProfilers> m_profilers;
300 }; 302 };
301 303
302 } // namespace WebCore 304 } // namespace WebCore
303 305
304 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698