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

Unified Diff: trunk/src/ash/wm/sticky_keys.cc

Issue 77203002: Revert 236048 "Rename RootWindowHost* to WindowTreeHost*" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/ash/wm/lock_state_controller.cc ('k') | trunk/src/ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/wm/sticky_keys.cc
===================================================================
--- trunk/src/ash/wm/sticky_keys.cc (revision 236090)
+++ trunk/src/ash/wm/sticky_keys.cc (working copy)
@@ -54,7 +54,7 @@
void StickyKeysHandlerDelegateImpl::DispatchKeyEvent(ui::KeyEvent* event,
aura::Window* target) {
DCHECK(target);
- target->GetDispatcher()->AsWindowTreeHostDelegate()->OnHostKeyEvent(event);
+ target->GetDispatcher()->AsRootWindowHostDelegate()->OnHostKeyEvent(event);
}
void StickyKeysHandlerDelegateImpl::DispatchMouseEvent(ui::MouseEvent* event,
@@ -62,7 +62,7 @@
DCHECK(target);
// We need to send a new, untransformed mouse event to the host.
ui::MouseEvent release_event(*event, target, target->GetRootWindow());
- target->GetDispatcher()->AsWindowTreeHostDelegate()
+ target->GetDispatcher()->AsRootWindowHostDelegate()
->OnHostMouseEvent(&release_event);
}
« no previous file with comments | « trunk/src/ash/wm/lock_state_controller.cc ('k') | trunk/src/ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698