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

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

Issue 1589643003: OOPIF support for testRunner.dumpAsText and similar layout dumps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 10 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/layout_dump_flags.h ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 bool UseMockTheme() const { return use_mock_theme_; } 66 bool UseMockTheme() const { return use_mock_theme_; }
67 67
68 void InvokeCallback(scoped_ptr<InvokeCallbackTask> callback); 68 void InvokeCallback(scoped_ptr<InvokeCallbackTask> callback);
69 69
70 // WebTestRunner implementation. 70 // WebTestRunner implementation.
71 bool ShouldGeneratePixelResults() override; 71 bool ShouldGeneratePixelResults() override;
72 bool ShouldStayOnPageAfterHandlingBeforeUnload() const override; 72 bool ShouldStayOnPageAfterHandlingBeforeUnload() const override;
73 bool ShouldDumpAsAudio() const override; 73 bool ShouldDumpAsAudio() const override;
74 void GetAudioData(std::vector<unsigned char>* buffer_view) const override; 74 void GetAudioData(std::vector<unsigned char>* buffer_view) const override;
75 LayoutDumpFlags GetLayoutDumpFlags() override;
76 bool HasCustomTextDump(std::string* custom_text_dump) const override;
75 bool ShouldDumpBackForwardList() const override; 77 bool ShouldDumpBackForwardList() const override;
76 blink::WebContentSettingsClient* GetWebContentSettings() const override; 78 blink::WebContentSettingsClient* GetWebContentSettings() const override;
77 79
78 // Methods used by WebTestProxyBase. 80 // Methods used by WebTestProxyBase.
79 bool shouldDumpSelectionRect() const; 81 bool shouldDumpSelectionRect() const;
80 bool isPrinting() const; 82 bool isPrinting() const;
81 bool shouldDumpAsText(); 83 bool shouldDumpAsText();
82 bool shouldDumpAsTextWithPixelResults(); 84 bool shouldDumpAsTextWithPixelResults();
83 bool shouldDumpAsCustomText() const; 85 bool shouldDumpAsCustomText() const;
84 std:: string customDumpText() const; 86 std:: string customDumpText() const;
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 bool use_mock_theme_; 844 bool use_mock_theme_;
843 845
844 base::WeakPtrFactory<TestRunner> weak_factory_; 846 base::WeakPtrFactory<TestRunner> weak_factory_;
845 847
846 DISALLOW_COPY_AND_ASSIGN(TestRunner); 848 DISALLOW_COPY_AND_ASSIGN(TestRunner);
847 }; 849 };
848 850
849 } // namespace test_runner 851 } // namespace test_runner
850 852
851 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 853 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/layout_dump_flags.h ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698