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

Side by Side Diff: third_party/WebKit/Source/platform/testing/UnitTestHelpers.h

Issue 1774123006: Implement link selection on alt+mouse drag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 #include "wtf/PassRefPtr.h" 29 #include "wtf/PassRefPtr.h"
30 #include "wtf/text/WTFString.h" 30 #include "wtf/text/WTFString.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class SharedBuffer; 34 class SharedBuffer;
35 35
36 namespace testing { 36 namespace testing {
37 37
38 void runPendingTasks(); 38 void runPendingTasks();
39 void waitForDeferredTasks(double interval);
kotenkov 2016/03/09 17:27:59 This is needed for the tests regarding cursors --
yosin_UTC9 2016/03/10 01:40:48 Could you put an explanation as comment in .h file
39 40
40 String blinkRootDir(); 41 String blinkRootDir();
41 42
42 PassRefPtr<SharedBuffer> readFromFile(const String& path); 43 PassRefPtr<SharedBuffer> readFromFile(const String& path);
43 44
44 void enterRunLoop(); 45 void enterRunLoop();
45 void exitRunLoop(); 46 void exitRunLoop();
46 47
47 void yieldCurrentThread(); 48 void yieldCurrentThread();
48 49
49 } // namespace testing 50 } // namespace testing
50 } // namespace blink 51 } // namespace blink
51 52
52 #endif 53 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698