blob: 76b585871bb25a276a91ef94e583d681e8cddf87 [file] [log] [blame]
// Copyright 2017 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 CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_
#define CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_
#include <memory>
#include "base/macros.h"
#include "chromecast/graphics/cast_window_manager.h"
namespace chromecast {
class CastWindowManagerDefault : public CastWindowManager {
public:
CastWindowManagerDefault();
~CastWindowManagerDefault() override;
// CastWindowManager implementation:
void TearDown() override;
void AddWindow(gfx::NativeView window) override;
void SetWindowId(gfx::NativeView window, WindowId window_id) override;
gfx::NativeView GetRootWindow() override;
void InjectEvent(ui::Event* event) override;
void AddGestureHandler(CastGestureHandler* handler) override;
void RemoveGestureHandler(CastGestureHandler* handler) override;
void SetTouchInputDisabled(bool disabled) override;
void AddTouchActivityObserver(CastTouchActivityObserver* observer) override;
void RemoveTouchActivityObserver(
CastTouchActivityObserver* observer) override;
private:
DISALLOW_COPY_AND_ASSIGN(CastWindowManagerDefault);
};
} // namespace chromecast
#endif // CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_DEFAULT_H_