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

Unified Diff: ash/test/ash_test_helper.h

Issue 2837773003: Flip the flag to enable smooth screen rotation by default. (Closed)
Patch Set: Add comments how the test will work. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_helper.h
diff --git a/ash/test/ash_test_helper.h b/ash/test/ash_test_helper.h
index a0f7aaf557c92a2a54573270297a9988f8871d8d..a53021f2375fada6b60f902f6fa0e0eaa22099a9 100644
--- a/ash/test/ash_test_helper.h
+++ b/ash/test/ash_test_helper.h
@@ -14,6 +14,7 @@
#include "ash/test/test_session_controller_client.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/test/scoped_command_line.h"
#include "ui/aura/test/mus/test_window_tree_client_setup.h"
namespace aura {
@@ -117,6 +118,8 @@ class AshTestHelper {
session_controller_client_ = std::move(session_controller_client);
}
+ void reset_commandline() { command_line_.reset(); }
+
private:
// These TestSuites need to manipulate |config_|.
friend class AshTestSuite;
@@ -168,6 +171,8 @@ class AshTestHelper {
std::unique_ptr<ui::InputDeviceClient> input_device_client_;
+ std::unique_ptr<base::test::ScopedCommandLine> command_line_;
+
DISALLOW_COPY_AND_ASSIGN(AshTestHelper);
};
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698