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

Side by Side Diff: components/mus/public/cpp/tests/test_window_tree.cc

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix WindowTreeAppTest.SetCursor. Created 5 years 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/mus/public/cpp/tests/test_window_tree.h" 5 #include "components/mus/public/cpp/tests/test_window_tree.h"
6 6
7 namespace mus { 7 namespace mus {
8 8
9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {} 9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {}
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void TestWindowTree::Embed(uint32_t window_id, 83 void TestWindowTree::Embed(uint32_t window_id,
84 mojom::WindowTreeClientPtr client, 84 mojom::WindowTreeClientPtr client,
85 uint32_t policy_bitmask, 85 uint32_t policy_bitmask,
86 const EmbedCallback& callback) {} 86 const EmbedCallback& callback) {}
87 87
88 void TestWindowTree::SetFocus(uint32_t window_id) {} 88 void TestWindowTree::SetFocus(uint32_t window_id) {}
89 89
90 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} 90 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {}
91 91
92 void TestWindowTree::SetPredefinedCursor(uint32_t change_id,
93 uint32_t window_id,
94 mus::mojom::Cursor cursor_id) {}
95
92 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, 96 void TestWindowTree::SetWindowTextInputState(uint32_t window_id,
93 mojo::TextInputStatePtr state) {} 97 mojo::TextInputStatePtr state) {}
94 98
95 void TestWindowTree::SetImeVisibility(uint32_t window_id, 99 void TestWindowTree::SetImeVisibility(uint32_t window_id,
96 bool visible, 100 bool visible,
97 mojo::TextInputStatePtr state) {} 101 mojo::TextInputStatePtr state) {}
98 102
99 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {} 103 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {}
100 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} 104 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {}
101 105
102 } // namespace mus 106 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698