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.
5 #ifndef MANDOLINE_UI_AURA_AURA_INIT_H_
6 #define MANDOLINE_UI_AURA_AURA_INIT_H_
8 #include "skia/ext/refptr.h"
9 #include "ui/mojo/init/ui_init.h"
11 namespace font_service
{
25 // Sets up necessary state for aura when run with the viewmanager.
28 AuraInit(mus::View
* root
, mojo::Shell
* shell
);
32 void InitializeResources(mojo::Shell
* shell
);
34 ui::mojo::UIInit ui_init_
;
36 #if defined(OS_LINUX) && !defined(OS_ANDROID)
37 skia::RefPtr
<font_service::FontLoader
> font_loader_
;
40 DISALLOW_COPY_AND_ASSIGN(AuraInit
);
43 } // namespace mandoline
45 #endif // MANDOLINE_UI_AURA_AURA_INIT_H_