Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Side by Side Diff: ui/aura/test/mus/test_window_manager_client.cc

Issue 2843193002: chromeos: fix focus for mushrome (Closed)
Patch Set: feedback Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/aura/test/mus/test_window_manager_client.h"
6
7 namespace aura {
8
9 TestWindowManagerClient::TestWindowManagerClient() {}
10
11 TestWindowManagerClient::~TestWindowManagerClient() {}
12
13 size_t TestWindowManagerClient::GetChangeCountForType(
14 WindowManagerClientChangeType type) {
15 size_t count = 0;
16 for (const auto change_type : changes_) {
17 if (change_type == type)
18 ++count;
19 }
20 return count;
21 }
22
23 void TestWindowManagerClient::AddActivationParent(Id transport_window_id) {
24 changes_.push_back(WindowManagerClientChangeType::ADD_ACTIVATION_PARENT);
25 }
26
27 void TestWindowManagerClient::RemoveActivationParent(Id transport_window_id) {}
28
29 void TestWindowManagerClient::ActivateNextWindow() {}
30
31 void TestWindowManagerClient::SetExtendedHitArea(Id window_id,
32 const gfx::Insets& hit_area) {}
33
34 void TestWindowManagerClient::AddAccelerators(
35 std::vector<ui::mojom::WmAcceleratorPtr> accelerators,
36 const AddAcceleratorsCallback& callback) {}
37
38 void TestWindowManagerClient::RemoveAccelerator(uint32_t id) {}
39
40 void TestWindowManagerClient::SetDisplayRoot(
41 const display::Display& display,
42 ui::mojom::WmViewportMetricsPtr viewport_metrics,
43 bool is_primary_display,
44 Id window_id,
45 const SetDisplayRootCallback& callback) {}
46
47 void TestWindowManagerClient::WmResponse(uint32_t change_id, bool response) {}
48
49 void TestWindowManagerClient::WmSetBoundsResponse(uint32_t change_id) {}
50
51 void TestWindowManagerClient::WmRequestClose(Id transport_window_id) {}
52
53 void TestWindowManagerClient::WmSetFrameDecorationValues(
54 ui::mojom::FrameDecorationValuesPtr values) {}
55
56 void TestWindowManagerClient::WmSetNonClientCursor(
57 uint32_t window_id,
58 ui::mojom::CursorType cursor_id) {}
59
60 void TestWindowManagerClient::OnWmCreatedTopLevelWindow(
61 uint32_t change_id,
62 Id transport_window_id) {}
63
64 void TestWindowManagerClient::OnAcceleratorAck(
65 uint32_t event_id,
66 ui::mojom::EventResult result,
67 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) {}
68
69 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/test/mus/test_window_manager_client.h ('k') | ui/aura/test/mus/test_window_tree_client_setup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698