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

Unified Diff: ui/aura/env.h

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Updated Created 4 years 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 19678abee67a4ff356f5fef7b33ae0ade59b7ecc..3d2bccc124dbac27933370cd125314fdb3162c43 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -17,6 +17,7 @@
namespace ui {
class ContextFactory;
+class ContextFactoryPrivate;
class PlatformEventSource;
}
namespace aura {
@@ -87,6 +88,14 @@ class AURA_EXPORT Env : public ui::EventTarget, public base::SupportsUserData {
}
ui::ContextFactory* context_factory() { return context_factory_; }
+ void set_context_factory_private(
+ ui::ContextFactoryPrivate* context_factory_private) {
+ context_factory_private_ = context_factory_private;
+ }
+ ui::ContextFactoryPrivate* context_factory_private() {
+ return context_factory_private_;
+ }
+
// See CreateInstance() for description.
void SetWindowTreeClient(WindowTreeClient* window_tree_client);
bool HasWindowTreeClient() const { return window_tree_client_ != nullptr; }
@@ -143,6 +152,7 @@ class AURA_EXPORT Env : public ui::EventTarget, public base::SupportsUserData {
std::unique_ptr<ui::PlatformEventSource> event_source_;
ui::ContextFactory* context_factory_;
+ ui::ContextFactoryPrivate* context_factory_private_;
Window* active_focus_client_root_ = nullptr;
client::FocusClient* active_focus_client_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698