Lines Matching full:athena
5 #include "athena/main/public/athena_launcher.h"
7 #include "athena/activity/public/activity_factory.h"
8 #include "athena/activity/public/activity_manager.h"
9 #include "athena/content/public/app_registry.h"
10 #include "athena/content/public/content_activity_factory_creator.h"
11 #include "athena/env/public/athena_env.h"
12 #include "athena/extensions/public/extension_app_model_builder.h"
13 #include "athena/extensions/public/extensions_delegate.h"
14 #include "athena/home/public/home_card.h"
15 #include "athena/input/public/input_manager.h"
16 #include "athena/main/athena_views_delegate.h"
17 #include "athena/main/placeholder.h"
18 #include "athena/main/placeholder.h"
19 #include "athena/main/url_search_provider.h"
20 #include "athena/resource_manager/public/resource_manager.h"
21 #include "athena/screen/public/screen_manager.h"
22 #include "athena/system/public/system_ui.h"
23 #include "athena/virtual_keyboard/public/virtual_keyboard_manager.h"
24 #include "athena/wm/public/window_manager.h"
40 namespace athena {
44 DECLARE_WINDOW_PROPERTY_TYPE(athena::AthenaEnvState*);
46 namespace athena {
56 // Athena's env state.
62 DEFINE_OWNED_WINDOW_PROPERTY_KEY(athena::AthenaEnvState,
67 // change to appropriate modules of athena.
88 athena::AthenaEnv::Create();
109 aura::Window* root_window = athena::AthenaEnv::Get()->GetHost()->window();
114 athena::InputManager::Create()->OnRootWindowCreated(root_window);
115 athena::ScreenManager::Create(root_window);
116 athena::SystemUI::Create(blocking_task_runner);
117 athena::WindowManager::Create();
118 athena::AppRegistry::Create();
121 athena::ScreenManager::Get()->GetContext()->SetProperty(
126 athena::VirtualKeyboardManager::Create(context);
130 StartAthenaSession(athena::CreateContentActivityFactory(),
131 new athena::ExtensionAppModelBuilder(context));
132 athena::HomeCard::Get()->RegisterSearchProvider(
133 new athena::UrlSearchProvider(context));
135 athena::ScreenManager::Get()->GetContext()->GetProperty(
142 void StartAthenaSession(athena::ActivityFactory* activity_factory,
143 athena::AppModelBuilder* app_model_builder) {
146 athena::HomeCard::Create(app_model_builder);
147 athena::ActivityManager::Create();
148 athena::ResourceManager::Create();
149 athena::ActivityFactory::RegisterActivityFactory(activity_factory);
154 athena::ActivityFactory::Shutdown();
155 athena::ResourceManager::Shutdown();
156 athena::ActivityManager::Shutdown();
157 athena::HomeCard::Shutdown();
160 athena::AppRegistry::ShutDown();
161 athena::WindowManager::Shutdown();
162 athena::SystemUI::Shutdown();
163 athena::ScreenManager::Shutdown();
164 athena::InputManager::Shutdown();
165 athena::ExtensionsDelegate::Shutdown();
166 athena::AthenaEnv::Shutdown();
171 } // namespace athena