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

Unified Diff: content/public/common/main_function_params.h

Issue 2567113002: Adds ability to specify how aura::Env is created in content (Closed)
Patch Set: more ifdef 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
« no previous file with comments | « content/public/common/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/main_function_params.h
diff --git a/content/public/common/main_function_params.h b/content/public/common/main_function_params.h
index 913e9b26f39731d27eeb8969b95d9f6cc68999c5..dac2991356f87b93856c5af583a6699b9c661029 100644
--- a/content/public/common/main_function_params.h
+++ b/content/public/common/main_function_params.h
@@ -25,6 +25,10 @@ class ScopedNSAutoreleasePool;
}
#endif
+#if defined(USE_AURA)
+#include "ui/aura/env.h"
+#endif
+
namespace content {
struct MainFunctionParams {
@@ -50,6 +54,10 @@ struct MainFunctionParams {
bool zygote_child;
#endif
+#if defined(USE_AURA)
+ aura::Env::Mode env_mode = aura::Env::Mode::LOCAL;
+#endif
+
// Used by InProcessBrowserTest. If non-null BrowserMain schedules this
// task to run on the MessageLoop and BrowserInit is not invoked.
base::Closure* ui_task;
« no previous file with comments | « content/public/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698