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

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

Issue 196383014: Remove window/host accessors from WED; IWYU for WTH (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 | « chrome/browser/chrome_plugin_browsertest.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 984b37de0ee6d90019d003a9fa90d6c069e7faee..fcc5c7ec3e2b34b7d8db8f33153c81c2e7e0fa3b 100644
--- a/chrome/browser/extensions/api/input/input.cc
+++ b/chrome/browser/extensions/api/input/input.cc
@@ -18,6 +18,7 @@
#if defined(USE_ASH)
#include "ash/root_window_controller.h"
#include "ash/shell.h"
+#include "ui/aura/window_tree_host.h"
#include "ui/keyboard/keyboard_util.h"
#endif
@@ -61,7 +62,7 @@ bool VirtualKeyboardPrivateMoveCursorFunction::RunImpl() {
return keyboard::MoveCursor(
swipe_direction,
modifier_flags,
- ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher());
+ ash::Shell::GetPrimaryRootWindow()->GetHost());
#else
error_ = kNotYetImplementedError;
return false;
@@ -93,7 +94,7 @@ bool VirtualKeyboardPrivateSendKeyEventFunction::RunImpl() {
key_code,
key_name,
modifiers,
- ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher());
+ ash::Shell::GetPrimaryRootWindow()->GetHost());
#else
error_ = kNotYetImplementedError;
return false;
« no previous file with comments | « chrome/browser/chrome_plugin_browsertest.cc ('k') | chrome/browser/extensions/extension_tabs_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698