blob: b6ab477bb49a1a0e913ed1241476cfc5a7091f66 [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.
#include "chromecast/graphics/cast_window_manager_default.h"
#include "base/memory/ptr_util.h"
namespace chromecast {
// static
std::unique_ptr<CastWindowManager> CastWindowManager::Create(
bool enable_input) {
return base::WrapUnique(new CastWindowManagerDefault());
}
CastWindowManagerDefault::CastWindowManagerDefault() {}
CastWindowManagerDefault::~CastWindowManagerDefault() {}
void CastWindowManagerDefault::TearDown() {}
void CastWindowManagerDefault::AddWindow(gfx::NativeView window) {}
void CastWindowManagerDefault::SetWindowId(gfx::NativeView window,
WindowId window_id) {}
void CastWindowManagerDefault::InjectEvent(ui::Event* event) {}
gfx::NativeView CastWindowManagerDefault::GetRootWindow() {
return nullptr;
}
void CastWindowManagerDefault::AddSideSwipeGestureHandler(
CastSideSwipeGestureHandlerInterface* handler) {}
void CastWindowManagerDefault::SetColorInversion(bool enable) {}
// Remove the registration of a system side swipe event handler.
void CastWindowManagerDefault::CastWindowManagerDefault::
RemoveSideSwipeGestureHandler(
CastSideSwipeGestureHandlerInterface* handler) {}
} // namespace chromecast