| Index: ui/aura/test/mus/test_window_manager_client.cc
|
| diff --git a/ui/aura/test/mus/test_window_manager_client.cc b/ui/aura/test/mus/test_window_manager_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02fec597879c2a1c6ec337913c905bf00847d183
|
| --- /dev/null
|
| +++ b/ui/aura/test/mus/test_window_manager_client.cc
|
| @@ -0,0 +1,69 @@
|
| +// 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.
|
| +
|
| +#include "ui/aura/test/mus/test_window_manager_client.h"
|
| +
|
| +namespace aura {
|
| +
|
| +TestWindowManagerClient::TestWindowManagerClient() {}
|
| +
|
| +TestWindowManagerClient::~TestWindowManagerClient() {}
|
| +
|
| +size_t TestWindowManagerClient::GetChangeCountForType(
|
| + WindowManagerClientChangeType type) {
|
| + size_t count = 0;
|
| + for (const auto change_type : changes_) {
|
| + if (change_type == type)
|
| + ++count;
|
| + }
|
| + return count;
|
| +}
|
| +
|
| +void TestWindowManagerClient::AddActivationParent(Id transport_window_id) {
|
| + changes_.push_back(WindowManagerClientChangeType::ADD_ACTIVATION_PARENT);
|
| +}
|
| +
|
| +void TestWindowManagerClient::RemoveActivationParent(Id transport_window_id) {}
|
| +
|
| +void TestWindowManagerClient::ActivateNextWindow() {}
|
| +
|
| +void TestWindowManagerClient::SetExtendedHitArea(Id window_id,
|
| + const gfx::Insets& hit_area) {}
|
| +
|
| +void TestWindowManagerClient::AddAccelerators(
|
| + std::vector<ui::mojom::WmAcceleratorPtr> accelerators,
|
| + const AddAcceleratorsCallback& callback) {}
|
| +
|
| +void TestWindowManagerClient::RemoveAccelerator(uint32_t id) {}
|
| +
|
| +void TestWindowManagerClient::SetDisplayRoot(
|
| + const display::Display& display,
|
| + ui::mojom::WmViewportMetricsPtr viewport_metrics,
|
| + bool is_primary_display,
|
| + Id window_id,
|
| + const SetDisplayRootCallback& callback) {}
|
| +
|
| +void TestWindowManagerClient::WmResponse(uint32_t change_id, bool response) {}
|
| +
|
| +void TestWindowManagerClient::WmSetBoundsResponse(uint32_t change_id) {}
|
| +
|
| +void TestWindowManagerClient::WmRequestClose(Id transport_window_id) {}
|
| +
|
| +void TestWindowManagerClient::WmSetFrameDecorationValues(
|
| + ui::mojom::FrameDecorationValuesPtr values) {}
|
| +
|
| +void TestWindowManagerClient::WmSetNonClientCursor(
|
| + uint32_t window_id,
|
| + ui::mojom::CursorType cursor_id) {}
|
| +
|
| +void TestWindowManagerClient::OnWmCreatedTopLevelWindow(
|
| + uint32_t change_id,
|
| + Id transport_window_id) {}
|
| +
|
| +void TestWindowManagerClient::OnAcceleratorAck(
|
| + uint32_t event_id,
|
| + ui::mojom::EventResult result,
|
| + const std::unordered_map<std::string, std::vector<uint8_t>>& properties) {}
|
| +
|
| +} // namespace aura
|
|
|