| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 584 |
| 585 void DidAcquirePointerLockInternal(); | 585 void DidAcquirePointerLockInternal(); |
| 586 void DidNotAcquirePointerLockInternal(); | 586 void DidNotAcquirePointerLockInternal(); |
| 587 void DidLosePointerLockInternal(); | 587 void DidLosePointerLockInternal(); |
| 588 | 588 |
| 589 // In the Mac code, this is called to trigger the end of a test after the | 589 // In the Mac code, this is called to trigger the end of a test after the |
| 590 // page has finished loading. From here, we can generate the dump for the | 590 // page has finished loading. From here, we can generate the dump for the |
| 591 // test. | 591 // test. |
| 592 void LocationChangeDone(); | 592 void LocationChangeDone(); |
| 593 | 593 |
| 594 // Sets a flag causing the next call to WebGLRenderingContext::create to fail. |
| 595 void ForceNextWebGLContextCreationToFail(); |
| 596 |
| 594 bool test_is_running_; | 597 bool test_is_running_; |
| 595 | 598 |
| 596 // When reset is called, go through and close all but the main test shell | 599 // When reset is called, go through and close all but the main test shell |
| 597 // window. By default, set to true but toggled to false using | 600 // window. By default, set to true but toggled to false using |
| 598 // setCloseRemainingWindowsWhenComplete(). | 601 // setCloseRemainingWindowsWhenComplete(). |
| 599 bool close_remaining_windows_; | 602 bool close_remaining_windows_; |
| 600 | 603 |
| 601 // If true, don't dump output until notifyDone is called. | 604 // If true, don't dump output until notifyDone is called. |
| 602 bool wait_until_done_; | 605 bool wait_until_done_; |
| 603 | 606 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 bool use_mock_theme_; | 781 bool use_mock_theme_; |
| 779 | 782 |
| 780 base::WeakPtrFactory<TestRunner> weak_factory_; | 783 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 781 | 784 |
| 782 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 785 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 783 }; | 786 }; |
| 784 | 787 |
| 785 } // namespace content | 788 } // namespace content |
| 786 | 789 |
| 787 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 790 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |