Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |