blob: 26a9de570632175f11764b7045f429ad26777370 [file] [log] [blame]
// 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 CHROME_BROWSER_EXO_PARTS_H_
#define CHROME_BROWSER_EXO_PARTS_H_
#include <memory>
#include "base/macros.h"
namespace ash {
class ArcOverlayManager;
}
namespace exo {
class WaylandServerController;
}
class ExoParts {
public:
// Creates ExoParts. Returns null if exo should not be created.
static std::unique_ptr<ExoParts> CreateIfNecessary();
~ExoParts();
private:
ExoParts();
std::unique_ptr<ash::ArcOverlayManager> arc_overlay_manager_;
std::unique_ptr<exo::WaylandServerController> wayland_server_;
DISALLOW_COPY_AND_ASSIGN(ExoParts);
};
#endif // CHROME_BROWSER_EXO_PARTS_H_