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

Unified Diff: chrome/browser/extensions/api/input/input.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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
Index: chrome/browser/extensions/api/input/input.cc
diff --git a/chrome/browser/extensions/api/input/input.cc b/chrome/browser/extensions/api/input/input.cc
index 4797ce9f8bad71e29d56a1b988f8eb6469ddc1c1..d0a8ab599ba666298c8085e0c54bbc701ba9c0a7 100644
--- a/chrome/browser/extensions/api/input/input.cc
+++ b/chrome/browser/extensions/api/input/input.cc
@@ -58,7 +58,7 @@ bool VirtualKeyboardPrivateMoveCursorFunction::RunImpl() {
return keyboard::MoveCursor(
swipe_direction,
modifier_flags,
- ash::Shell::GetPrimaryRootWindow()->GetDispatcher());
+ ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher());
#endif
error_ = kNotYetImplementedError;
return false;
@@ -89,7 +89,7 @@ bool VirtualKeyboardPrivateSendKeyEventFunction::RunImpl() {
key_code,
key_name,
modifiers,
- ash::Shell::GetPrimaryRootWindow()->GetDispatcher());
+ ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher());
#endif
error_ = kNotYetImplementedError;
return false;
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_engine.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698