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

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

Issue 583113002: Abstract class WebTestDelegate to chromium c++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test_runner Created 6 years, 3 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 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool shouldDumpSelectionRect() const; 75 bool shouldDumpSelectionRect() const;
76 bool isPrinting() const; 76 bool isPrinting() const;
77 bool shouldDumpAsText(); 77 bool shouldDumpAsText();
78 bool shouldDumpAsTextWithPixelResults(); 78 bool shouldDumpAsTextWithPixelResults();
79 bool shouldDumpAsCustomText() const; 79 bool shouldDumpAsCustomText() const;
80 std:: string customDumpText() const; 80 std:: string customDumpText() const;
81 bool shouldDumpAsMarkup(); 81 bool shouldDumpAsMarkup();
82 bool shouldDumpChildFrameScrollPositions() const; 82 bool shouldDumpChildFrameScrollPositions() const;
83 bool shouldDumpChildFramesAsMarkup() const; 83 bool shouldDumpChildFramesAsMarkup() const;
84 bool shouldDumpChildFramesAsText() const; 84 bool shouldDumpChildFramesAsText() const;
85 void showDevTools(const std::string& settings, 85 void ShowDevTools(const std::string& settings,
86 const std::string& frontend_url); 86 const std::string& frontend_url);
87 void clearDevToolsLocalStorage(); 87 void ClearDevToolsLocalStorage();
88 void setShouldDumpAsText(bool); 88 void setShouldDumpAsText(bool);
89 void setShouldDumpAsMarkup(bool); 89 void setShouldDumpAsMarkup(bool);
90 void setCustomTextOutput(std::string text); 90 void setCustomTextOutput(std::string text);
91 void setShouldGeneratePixelResults(bool); 91 void setShouldGeneratePixelResults(bool);
92 void setShouldDumpFrameLoadCallbacks(bool); 92 void setShouldDumpFrameLoadCallbacks(bool);
93 void setShouldDumpPingLoaderCallbacks(bool); 93 void setShouldDumpPingLoaderCallbacks(bool);
94 void setShouldEnableViewSource(bool); 94 void setShouldEnableViewSource(bool);
95 bool shouldDumpEditingCallbacks() const; 95 bool shouldDumpEditingCallbacks() const;
96 bool shouldDumpFrameLoadCallbacks() const; 96 bool shouldDumpFrameLoadCallbacks() const;
97 bool shouldDumpPingLoaderCallbacks() const; 97 bool shouldDumpPingLoaderCallbacks() const;
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 bool use_mock_theme_; 770 bool use_mock_theme_;
771 771
772 base::WeakPtrFactory<TestRunner> weak_factory_; 772 base::WeakPtrFactory<TestRunner> weak_factory_;
773 773
774 DISALLOW_COPY_AND_ASSIGN(TestRunner); 774 DISALLOW_COPY_AND_ASSIGN(TestRunner);
775 }; 775 };
776 776
777 } // namespace content 777 } // namespace content
778 778
779 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 779 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/test_plugin.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698