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

Unified Diff: ui/aura/test/aura_test_base.h

Issue 147203004: aura: Remove event-dispatch methods from WindowTreeHostDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.h
diff --git a/ui/aura/test/aura_test_base.h b/ui/aura/test/aura_test_base.h
index 971fdba223d13e89be695c494b8f9f7e695527d3..5b07bf719e7fadc656f03261493253fe081e3928 100644
--- a/ui/aura/test/aura_test_base.h
+++ b/ui/aura/test/aura_test_base.h
@@ -37,6 +37,10 @@ class AuraTestBase : public testing::Test {
void ParentWindow(Window* window);
+ // A convenience function for dispatching an event to |dispatcher()|.
+ // Returns whether |event| was handled.
+ bool DispatchEventUsingWindowDispatcher(ui::Event* event);
+
Window* root_window() { return helper_->root_window(); }
RootWindow* dispatcher() { return helper_->dispatcher(); }
TestScreen* test_screen() { return helper_->test_screen(); }
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698