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

Side by Side Diff: ui/aura/test/aura_test_base.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/test/aura_test_base.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_TEST_AURA_TEST_BASE_H_ 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_
6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void RunAllPendingInMessageLoop(); 71 void RunAllPendingInMessageLoop();
72 72
73 void ParentWindow(Window* window); 73 void ParentWindow(Window* window);
74 74
75 // A convenience function for dispatching an event to |dispatcher()|. 75 // A convenience function for dispatching an event to |dispatcher()|.
76 // Returns whether |event| was handled. 76 // Returns whether |event| was handled.
77 bool DispatchEventUsingWindowDispatcher(ui::Event* event); 77 bool DispatchEventUsingWindowDispatcher(ui::Event* event);
78 78
79 Window* root_window() { return helper_->root_window(); } 79 Window* root_window() { return helper_->root_window(); }
80 WindowTreeHost* host() { return helper_->host(); } 80 WindowTreeHost* host() { return helper_->host(); }
81 ui::EventProcessor* event_processor() { return helper_->event_processor(); } 81 ui::EventSink* event_sink() { return helper_->event_sink(); }
82 TestScreen* test_screen() { return helper_->test_screen(); } 82 TestScreen* test_screen() { return helper_->test_screen(); }
83 83
84 TestWindowTree* window_tree() { return helper_->window_tree(); } 84 TestWindowTree* window_tree() { return helper_->window_tree(); }
85 WindowTreeClient* window_tree_client_impl() { 85 WindowTreeClient* window_tree_client_impl() {
86 return helper_->window_tree_client(); 86 return helper_->window_tree_client();
87 } 87 }
88 ui::mojom::WindowTreeClient* window_tree_client(); 88 ui::mojom::WindowTreeClient* window_tree_client();
89 89
90 // WindowTreeClientDelegate: 90 // WindowTreeClientDelegate:
91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override; 91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 void SetUp() override; 170 void SetUp() override;
171 171
172 private: 172 private:
173 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseMus); 173 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseMus);
174 }; 174 };
175 175
176 } // namespace test 176 } // namespace test
177 } // namespace aura 177 } // namespace aura
178 178
179 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 179 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698