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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 597 |
598 // Toggles the behavior of the policy delegate. If true, then navigations | 598 // Toggles the behavior of the policy delegate. If true, then navigations |
599 // will be allowed. Otherwise, they will be ignored (dropped). | 599 // will be allowed. Otherwise, they will be ignored (dropped). |
600 bool policy_delegate_is_permissive_; | 600 bool policy_delegate_is_permissive_; |
601 | 601 |
602 // If true, the policy delegate will signal layout test completion. | 602 // If true, the policy delegate will signal layout test completion. |
603 bool policy_delegate_should_notify_done_; | 603 bool policy_delegate_should_notify_done_; |
604 | 604 |
605 WorkQueue work_queue_; | 605 WorkQueue work_queue_; |
606 | 606 |
607 // Used by a number of layout tests in http/tests/security/dataURL. | |
608 bool global_flag_; | |
609 | |
610 // Bound variable to return the name of this platform (chromium). | 607 // Bound variable to return the name of this platform (chromium). |
611 std::string platform_name_; | 608 std::string platform_name_; |
612 | 609 |
613 // Bound variable to store the last tooltip text | 610 // Bound variable to store the last tooltip text |
614 std::string tooltip_text_; | 611 std::string tooltip_text_; |
615 | 612 |
616 // Bound variable to disable notifyDone calls. This is used in GC leak | 613 // Bound variable to disable notifyDone calls. This is used in GC leak |
617 // tests, where existing LayoutTests are loaded within an iframe. The GC | 614 // tests, where existing LayoutTests are loaded within an iframe. The GC |
618 // test harness will set this flag to ignore the notifyDone calls from the | 615 // test harness will set this flag to ignore the notifyDone calls from the |
619 // target LayoutTest. | 616 // target LayoutTest. |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 bool use_mock_theme_; | 763 bool use_mock_theme_; |
767 | 764 |
768 base::WeakPtrFactory<TestRunner> weak_factory_; | 765 base::WeakPtrFactory<TestRunner> weak_factory_; |
769 | 766 |
770 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 767 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
771 }; | 768 }; |
772 | 769 |
773 } // namespace content | 770 } // namespace content |
774 | 771 |
775 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 772 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |