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

Unified Diff: ui/aura/env.h

Issue 2327073002: [WIP] Pass the single_process parameter to Ozone's initialization functions (Closed)
Patch Set: Created 4 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 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 01b9e0ddaf45f286d8a301af4a3125803e6f45d6..df2531af676b58274d816725fe4fb25a9064ae37 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -35,7 +35,8 @@ class AURA_EXPORT Env : public ui::EventTarget, public base::SupportsUserData {
public:
~Env() override;
- static std::unique_ptr<Env> CreateInstance();
+ static std::unique_ptr<Env> CreateInstance(bool running_inside_mus = false,
rjkroege 2016/09/12 20:39:12 Why are you plumbing this?
fwang 2016/09/13 13:49:19 This is not essential here, but currently ui/aura/
+ bool in_process_gpu = false);
static Env* GetInstance();
static Env* GetInstanceDontCreate();
@@ -73,7 +74,7 @@ class AURA_EXPORT Env : public ui::EventTarget, public base::SupportsUserData {
Env();
- void Init();
+ void Init(bool running_inside_mus, bool single_process);
// Called by the Window when it is initialized. Notifies observers.
void NotifyWindowInitialized(Window* window);

Powered by Google App Engine
This is Rietveld 408576698