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

Unified Diff: ui/snapshot/snapshot_aura_unittest.cc

Issue 191153004: Provide access to the WindowEventDispatcher as a ui::EventProcessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/corewm/capture_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_aura_unittest.cc
diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
index 257f8548e9ea7285671f752356502ced8ee794a3..b000ad1cd75c774c747c24873752cf6894c6c58a 100644
--- a/ui/snapshot/snapshot_aura_unittest.cc
+++ b/ui/snapshot/snapshot_aura_unittest.cc
@@ -107,12 +107,11 @@ class SnapshotAuraTest : public testing::Test {
protected:
aura::Window* test_window() { return test_window_.get(); }
aura::Window* root_window() { return helper_->root_window(); }
- aura::WindowEventDispatcher* dispatcher() { return helper_->dispatcher(); }
aura::TestScreen* test_screen() { return helper_->test_screen(); }
void WaitForDraw() {
- dispatcher()->host()->compositor()->ScheduleDraw();
- ui::DrawWaiterForTest::Wait(dispatcher()->host()->compositor());
+ helper_->host()->compositor()->ScheduleDraw();
+ ui::DrawWaiterForTest::Wait(helper_->host()->compositor());
}
void SetupTestWindow(const gfx::Rect& window_bounds) {
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/corewm/capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698