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

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: Do it the other way + explicit checks that it is a mouse pointer. 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
« no previous file with comments | « components/mus/public/cpp/tests/test_window_tree.h ('k') | components/mus/public/cpp/window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 void TestWindowTree::Embed(uint32_t window_id, 85 void TestWindowTree::Embed(uint32_t window_id,
86 mojom::WindowTreeClientPtr client, 86 mojom::WindowTreeClientPtr client,
87 uint32_t policy_bitmask, 87 uint32_t policy_bitmask,
88 const EmbedCallback& callback) {} 88 const EmbedCallback& callback) {}
89 89
90 void TestWindowTree::SetFocus(uint32_t window_id) {} 90 void TestWindowTree::SetFocus(uint32_t window_id) {}
91 91
92 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} 92 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {}
93 93
94 void TestWindowTree::SetPredefinedCursor(uint32_t change_id,
95 uint32_t window_id,
96 mus::mojom::Cursor cursor_id) {}
97
94 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, 98 void TestWindowTree::SetWindowTextInputState(uint32_t window_id,
95 mojo::TextInputStatePtr state) {} 99 mojo::TextInputStatePtr state) {}
96 100
97 void TestWindowTree::SetImeVisibility(uint32_t window_id, 101 void TestWindowTree::SetImeVisibility(uint32_t window_id,
98 bool visible, 102 bool visible,
99 mojo::TextInputStatePtr state) {} 103 mojo::TextInputStatePtr state) {}
100 104
101 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {} 105 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {}
102 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} 106 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {}
103 107
104 } // namespace mus 108 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/test_window_tree.h ('k') | components/mus/public/cpp/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698