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

Unified Diff: ui/aura/test/env_test_helper.h

Issue 2759463002: aura-mus: create an interactive ui test for drag and drop. (Closed)
Patch Set: Merge with master Created 3 years, 9 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/env_test_helper.h
diff --git a/ui/aura/test/env_test_helper.h b/ui/aura/test/env_test_helper.h
index 09d9305a2e3ef0c1d5551239c2a562f0ebb8e4d7..3f7ee728f2cdcf9676be14f3ba4bc8e550a3804a 100644
--- a/ui/aura/test/env_test_helper.h
+++ b/ui/aura/test/env_test_helper.h
@@ -30,7 +30,11 @@ class EnvTestHelper {
env_->is_touch_down_ = false;
}
- void SetMode(Env::Mode mode) { env_->mode_ = mode; }
+ void SetMode(Env::Mode mode) {
+ env_->mode_ = mode;
+ if (mode == Env::Mode::MUS)
+ env_->EnableMusOSExchangeDataProvider();
+ }
WindowTreeClient* GetWindowTreeClient() { return env_->window_tree_client_; }
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698