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

Unified Diff: content/public/app/content_main.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/app/BUILD.gn ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/app/content_main.h
diff --git a/content/public/app/content_main.h b/content/public/app/content_main.h
index 201fca72112eb28b304f556c86fdc0fbd2978f2c..0c718bf3a0901df92e7844c00672deb8ff042b73 100644
--- a/content/public/app/content_main.h
+++ b/content/public/app/content_main.h
@@ -15,6 +15,10 @@
#include <windows.h>
#endif
+#if defined(USE_AURA)
+#include "ui/aura/env.h"
+#endif
+
namespace sandbox {
struct SandboxInterfaceInfo;
}
@@ -51,6 +55,10 @@ struct ContentMainParams {
// Used by browser_tests. If non-null BrowserMain schedules this task to run
// on the MessageLoop. It's owned by the test code.
base::Closure* ui_task;
+
+#if defined(USE_AURA)
+ aura::Env::Mode env_mode = aura::Env::Mode::LOCAL;
+#endif
};
#if defined(OS_ANDROID)
« no previous file with comments | « content/public/app/BUILD.gn ('k') | content/public/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698