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

Side by Side Diff: content/shell/renderer/test_runner/test_runner.h

Issue 706193003: [WebGL-chromium]Test to validate glinfo when webglcontext fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for build error. Created 6 years, 1 month 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
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(bool);
Ken Russell (switch to Gerrit) 2014/11/10 19:52:14 The boolean argument isn't needed. The flag should
sivag 2014/11/11 12:50:57 Done.
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698