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

Side by Side Diff: components/test_runner/test_runner.h

Issue 1889673002: Move LayoutAndPaintAsyncThen to a separate compilation unit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 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
« no previous file with comments | « components/test_runner/test_interfaces.cc ('k') | components/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 COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class WebTestProxyBase; 52 class WebTestProxyBase;
53 53
54 class TestRunner : public WebTestRunner { 54 class TestRunner : public WebTestRunner {
55 public: 55 public:
56 explicit TestRunner(TestInterfaces*); 56 explicit TestRunner(TestInterfaces*);
57 virtual ~TestRunner(); 57 virtual ~TestRunner();
58 58
59 void Install(blink::WebFrame* frame); 59 void Install(blink::WebFrame* frame);
60 60
61 void SetDelegate(WebTestDelegate*); 61 void SetDelegate(WebTestDelegate*);
62 void SetWebView(blink::WebView*, WebTestProxyBase*); 62 void SetWebView(blink::WebView*);
63 63
64 void Reset(); 64 void Reset();
65 65
66 void SetTestIsRunning(bool); 66 void SetTestIsRunning(bool);
67 bool TestIsRunning() const { return test_is_running_; } 67 bool TestIsRunning() const { return test_is_running_; }
68 68
69 bool UseMockTheme() const { return use_mock_theme_; } 69 bool UseMockTheme() const { return use_mock_theme_; }
70 70
71 // WebTestRunner implementation. 71 // WebTestRunner implementation.
72 bool ShouldGeneratePixelResults() override; 72 bool ShouldGeneratePixelResults() override;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 std::string custom_text_output_; 783 std::string custom_text_output_;
784 784
785 std::set<std::string> http_headers_to_clear_; 785 std::set<std::string> http_headers_to_clear_;
786 786
787 // WAV audio data is stored here. 787 // WAV audio data is stored here.
788 std::vector<unsigned char> audio_data_; 788 std::vector<unsigned char> audio_data_;
789 789
790 TestInterfaces* test_interfaces_; 790 TestInterfaces* test_interfaces_;
791 WebTestDelegate* delegate_; 791 WebTestDelegate* delegate_;
792 blink::WebView* web_view_; 792 blink::WebView* web_view_;
793 WebTestProxyBase* proxy_;
794 793
795 // This is non-0 IFF a load is in progress. 794 // This is non-0 IFF a load is in progress.
796 blink::WebFrame* top_loading_frame_; 795 blink::WebFrame* top_loading_frame_;
797 796
798 // WebContentSettingsClient mock object. 797 // WebContentSettingsClient mock object.
799 scoped_ptr<MockContentSettingsClient> mock_content_settings_client_; 798 scoped_ptr<MockContentSettingsClient> mock_content_settings_client_;
800 799
801 bool pointer_locked_; 800 bool pointer_locked_;
802 enum { 801 enum {
803 PointerLockWillSucceed, 802 PointerLockWillSucceed,
(...skipping 22 matching lines...) Expand all
826 std::set<blink::WebView*> views_with_scheduled_animations_; 825 std::set<blink::WebView*> views_with_scheduled_animations_;
827 826
828 base::WeakPtrFactory<TestRunner> weak_factory_; 827 base::WeakPtrFactory<TestRunner> weak_factory_;
829 828
830 DISALLOW_COPY_AND_ASSIGN(TestRunner); 829 DISALLOW_COPY_AND_ASSIGN(TestRunner);
831 }; 830 };
832 831
833 } // namespace test_runner 832 } // namespace test_runner
834 833
835 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 834 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_interfaces.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698