| Index: ui/views_content_client/views_content_client_main_parts_aura.cc
|
| diff --git a/ui/views_content_client/views_content_client_main_parts_aura.cc b/ui/views_content_client/views_content_client_main_parts_aura.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5e1c69a295bb27710548d40df77ead1b2dd87da7
|
| --- /dev/null
|
| +++ b/ui/views_content_client/views_content_client_main_parts_aura.cc
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/views_content_client/views_content_client_main_parts_aura.h"
|
| +
|
| +#include "ui/aura/env.h"
|
| +#include "ui/wm/core/wm_state.h"
|
| +
|
| +namespace ui {
|
| +
|
| +ViewsContentClientMainPartsAura::ViewsContentClientMainPartsAura(
|
| + const content::MainFunctionParams& content_params,
|
| + ViewsContentClient* views_content_client)
|
| + : ViewsContentClientMainParts(content_params, views_content_client) {
|
| +}
|
| +
|
| +ViewsContentClientMainPartsAura::~ViewsContentClientMainPartsAura() {
|
| +}
|
| +
|
| +void ViewsContentClientMainPartsAura::ToolkitInitialized() {
|
| + ViewsContentClientMainParts::ToolkitInitialized();
|
| +
|
| + wm_state_.reset(new ::wm::WMState);
|
| +}
|
| +
|
| +void ViewsContentClientMainPartsAura::PostMainMessageLoopRun() {
|
| + aura::Env::DeleteInstance();
|
| +
|
| + ViewsContentClientMainParts::PostMainMessageLoopRun();
|
| +}
|
| +
|
| +} // namespace ui
|
|
|