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

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

Issue 1829253002: Replicate to all renderers the accepted languages set by a layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@splitting-web-frame-test-client
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
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void GetAudioData(std::vector<unsigned char>* buffer_view) const override; 76 void GetAudioData(std::vector<unsigned char>* buffer_view) const override;
77 bool IsRecursiveLayoutDumpRequested() override; 77 bool IsRecursiveLayoutDumpRequested() override;
78 std::string DumpLayout(blink::WebLocalFrame* frame) override; 78 std::string DumpLayout(blink::WebLocalFrame* frame) override;
79 void ReplicateLayoutTestRuntimeFlagsChanges( 79 void ReplicateLayoutTestRuntimeFlagsChanges(
80 const base::DictionaryValue& changed_values) override; 80 const base::DictionaryValue& changed_values) override;
81 bool HasCustomTextDump(std::string* custom_text_dump) const override; 81 bool HasCustomTextDump(std::string* custom_text_dump) const override;
82 bool ShouldDumpBackForwardList() const override; 82 bool ShouldDumpBackForwardList() const override;
83 blink::WebContentSettingsClient* GetWebContentSettings() const override; 83 blink::WebContentSettingsClient* GetWebContentSettings() const override;
84 84
85 // Methods used by WebTestProxyBase and WebFrameTestClient. 85 // Methods used by WebTestProxyBase and WebFrameTestClient.
86 std::string GetAcceptLanguages() const;
86 bool shouldStayOnPageAfterHandlingBeforeUnload() const; 87 bool shouldStayOnPageAfterHandlingBeforeUnload() const;
87 MockScreenOrientationClient* getMockScreenOrientationClient(); 88 MockScreenOrientationClient* getMockScreenOrientationClient();
88 MockWebUserMediaClient* getMockWebUserMediaClient(); 89 MockWebUserMediaClient* getMockWebUserMediaClient();
89 bool shouldDumpSelectionRect() const; 90 bool shouldDumpSelectionRect() const;
90 bool isPrinting() const; 91 bool isPrinting() const;
91 bool shouldDumpAsTextWithPixelResults(); 92 bool shouldDumpAsTextWithPixelResults();
92 bool shouldDumpAsCustomText() const; 93 bool shouldDumpAsCustomText() const;
93 std:: string customDumpText() const; 94 std:: string customDumpText() const;
94 void ShowDevTools(const std::string& settings, 95 void ShowDevTools(const std::string& settings,
95 const std::string& frontend_url); 96 const std::string& frontend_url);
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 int chooser_count_; 818 int chooser_count_;
818 819
819 base::WeakPtrFactory<TestRunner> weak_factory_; 820 base::WeakPtrFactory<TestRunner> weak_factory_;
820 821
821 DISALLOW_COPY_AND_ASSIGN(TestRunner); 822 DISALLOW_COPY_AND_ASSIGN(TestRunner);
822 }; 823 };
823 824
824 } // namespace test_runner 825 } // namespace test_runner
825 826
826 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 827 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698