| Index: components/mus/example/common/mus_views_init.h
|
| diff --git a/components/mus/example/common/mus_views_init.h b/components/mus/example/common/mus_views_init.h
|
| deleted file mode 100644
|
| index d268e9ba6d2917d024d536b54f7f7e8bbcb838ed..0000000000000000000000000000000000000000
|
| --- a/components/mus/example/common/mus_views_init.h
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright 2015 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.
|
| -
|
| -#ifndef COMPONENTS_MUS_EXAMPLE_COMMON_MUS_VIEWS_INIT_H_
|
| -#define COMPONENTS_MUS_EXAMPLE_COMMON_MUS_VIEWS_INIT_H_
|
| -
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "components/mus/public/cpp/window_tree_delegate.h"
|
| -#include "components/mus/public/interfaces/window_manager.mojom.h"
|
| -#include "ui/views/mus/aura_init.h"
|
| -#include "ui/views/views_delegate.h"
|
| -
|
| -namespace mojo {
|
| -class ApplicationImpl;
|
| -}
|
| -
|
| -namespace views {
|
| -class AuraInit;
|
| -}
|
| -
|
| -// Does the necessary setup to use mus, views and the example wm.
|
| -class MUSViewsInit : public views::ViewsDelegate,
|
| - public mus::WindowTreeDelegate {
|
| - public:
|
| - explicit MUSViewsInit(mojo::ApplicationImpl* app);
|
| - ~MUSViewsInit() override;
|
| -
|
| - private:
|
| - mus::Window* NewWindow();
|
| -
|
| - // views::ViewsDelegate:
|
| - views::NativeWidget* CreateNativeWidget(
|
| - views::internal::NativeWidgetDelegate* delegate) override;
|
| - void OnBeforeWidgetInit(
|
| - views::Widget::InitParams* params,
|
| - views::internal::NativeWidgetDelegate* delegate) override;
|
| -
|
| - // mus::WindowTreeDelegate:
|
| - void OnEmbed(mus::Window* root) override;
|
| - void OnConnectionLost(mus::WindowTreeConnection* connection) override;
|
| -#if defined(OS_WIN)
|
| - HICON GetSmallWindowIcon() const override;
|
| -#endif
|
| -
|
| - mojo::ApplicationImpl* app_;
|
| - scoped_ptr<views::AuraInit> aura_init_;
|
| - mus::mojom::WindowManagerPtr window_manager_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(MUSViewsInit);
|
| -};
|
| -
|
| -#endif // COMPONENTS_MUS_EXAMPLE_COMMON_MUS_VIEWS_INIT_H_
|
|
|