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

Unified Diff: ui/views/mus/aura_init.h

Issue 1871253002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot.merge Created 4 years, 8 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
« no previous file with comments | « ui/views/mus/BUILD.gn ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/aura_init.h
diff --git a/ui/views/mus/aura_init.h b/ui/views/mus/aura_init.h
index 521acac91ee31267edf26c4a2d40cacfdab4fcd8..8e9e58aa6a6fc0cee2b1f9de08570e8e0940a1d6 100644
--- a/ui/views/mus/aura_init.h
+++ b/ui/views/mus/aura_init.h
@@ -5,6 +5,7 @@
#ifndef UI_VIEWS_MUS_AURA_INIT_H_
#define UI_VIEWS_MUS_AURA_INIT_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -13,6 +14,10 @@
#include "skia/ext/refptr.h"
#include "ui/views/mus/mus_export.h"
+namespace aura {
+class Env;
+}
+
namespace font_service {
class FontLoader;
}
@@ -40,6 +45,7 @@ class VIEWS_MUS_EXPORT AuraInit {
const std::string resource_file_;
+ std::unique_ptr<aura::Env> env_;
scoped_ptr<ViewsDelegate> views_delegate_;
DISALLOW_COPY_AND_ASSIGN(AuraInit);
« no previous file with comments | « ui/views/mus/BUILD.gn ('k') | ui/views/mus/aura_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698