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

Unified Diff: ui/aura/env.h

Issue 2759463002: aura-mus: create an interactive ui test for drag and drop. (Closed)
Patch Set: General cleanup. 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
Index: ui/aura/env.h
diff --git a/ui/aura/env.h b/ui/aura/env.h
index b6b1b2c04c8ed57c0ab3f3ad470c21de20552c5f..0a4a23007e3c0e7552584e1fb3154a20e038349f 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -124,6 +124,11 @@ class AURA_EXPORT Env : public ui::EventTarget,
void Init();
+ // After calling this method, all OSExchangeDataProvider instances will be
+ // Mus instances. We can't do this work in Init(), because our mode may
+ // changed via the EnvTestHelper.
+ void EnableMusOSExchangeDataProvider();
+
// Called by the Window when it is initialized. Notifies observers.
void NotifyWindowInitialized(Window* window);
@@ -159,6 +164,8 @@ class AURA_EXPORT Env : public ui::EventTarget,
// This may be set to true in tests to force using |last_mouse_location_|
// rather than querying WindowTreeClient.
bool always_use_last_mouse_location_ = false;
+ // Whether we set ourselves as the OSExchangeDataProviderFactory.
+ bool is_os_exchange_data_provider_factory_ = false;
std::unique_ptr<InputStateLookup> input_state_lookup_;
std::unique_ptr<ui::PlatformEventSource> event_source_;

Powered by Google App Engine
This is Rietveld 408576698