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

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

Issue 1749323002: Update WindowTree::OnWindowInputEventAck to include handled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing Component Build DEPS Created 4 years, 9 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
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 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void SetFocus(uint32_t change_id, uint32_t window_id) override; 80 void SetFocus(uint32_t change_id, uint32_t window_id) override;
81 void SetCanFocus(uint32_t window_id, bool can_focus) override; 81 void SetCanFocus(uint32_t window_id, bool can_focus) override;
82 void SetPredefinedCursor(uint32_t change_id, 82 void SetPredefinedCursor(uint32_t change_id,
83 uint32_t window_id, 83 uint32_t window_id,
84 mus::mojom::Cursor cursor_id) override; 84 mus::mojom::Cursor cursor_id) override;
85 void SetWindowTextInputState(uint32_t window_id, 85 void SetWindowTextInputState(uint32_t window_id,
86 mojo::TextInputStatePtr state) override; 86 mojo::TextInputStatePtr state) override;
87 void SetImeVisibility(uint32_t window_id, 87 void SetImeVisibility(uint32_t window_id,
88 bool visible, 88 bool visible,
89 mojo::TextInputStatePtr state) override; 89 mojo::TextInputStatePtr state) override;
90 void OnWindowInputEventAck(uint32_t event_id) override; 90 void OnWindowInputEventAck(uint32_t event_id, bool handled) override;
91 void GetWindowManagerClient( 91 void GetWindowManagerClient(
92 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) 92 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal)
93 override; 93 override;
94 94
95 bool got_change_; 95 bool got_change_;
96 uint32_t change_id_; 96 uint32_t change_id_;
97 std::set<uint32_t> acked_events_; 97 std::set<uint32_t> acked_events_;
98 uint32_t window_id_; 98 uint32_t window_id_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 100 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
101 }; 101 };
102 102
103 } // namespace mus 103 } // namespace mus
104 104
105 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 105 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.cc ('k') | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698