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

Side by Side Diff: mandoline/ui/aura/aura_init.h

Issue 1402213002: Moves mandoline/ui/aura to ui/views/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable presubmit Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « mandoline/ui/aura/DEPS ('k') | mandoline/ui/aura/aura_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MANDOLINE_UI_AURA_AURA_INIT_H_
6 #define MANDOLINE_UI_AURA_AURA_INIT_H_
7
8 #include <string>
9
10 #include "skia/ext/refptr.h"
11 #include "ui/mojo/init/ui_init.h"
12
13 namespace font_service {
14 class FontLoader;
15 }
16
17 namespace mojo {
18 class Shell;
19 }
20
21 namespace mus {
22 class View;
23 }
24
25 namespace mandoline {
26
27 // Sets up necessary state for aura when run with the viewmanager.
28 // TODO(sky): move this out of mandoline.
29 // |resource_file| is the path to the apk file containing the resources.
30 class AuraInit {
31 public:
32 AuraInit(mus::View* root,
33 mojo::Shell* shell,
34 const std::string& resource_file);
35 ~AuraInit();
36
37 private:
38 void InitializeResources(mojo::Shell* shell);
39
40 ui::mojo::UIInit ui_init_;
41
42 #if defined(OS_LINUX) && !defined(OS_ANDROID)
43 skia::RefPtr<font_service::FontLoader> font_loader_;
44 #endif
45
46 const std::string resource_file_;
47
48 DISALLOW_COPY_AND_ASSIGN(AuraInit);
49 };
50
51 } // namespace mandoline
52
53 #endif // MANDOLINE_UI_AURA_AURA_INIT_H_
OLDNEW
« no previous file with comments | « mandoline/ui/aura/DEPS ('k') | mandoline/ui/aura/aura_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698