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

Unified Diff: ui/keyboard/keyboard_util.h

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 | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_util.h
diff --git a/ui/keyboard/keyboard_util.h b/ui/keyboard/keyboard_util.h
index f2de1e8a1c65252d02297dd17ed510e401aaeb35..b26742267eaee8c3d29274752d8c101d64b56198 100644
--- a/ui/keyboard/keyboard_util.h
+++ b/ui/keyboard/keyboard_util.h
@@ -15,7 +15,7 @@
struct GritResourceMap;
namespace aura {
-class WindowEventDispatcher;
+class WindowTreeHost;
}
class GURL;
@@ -64,7 +64,7 @@ KEYBOARD_EXPORT bool InsertText(const base::string16& text,
// successfully moved according to |swipe_direction|.
KEYBOARD_EXPORT bool MoveCursor(int swipe_direction,
int modifier_flags,
- aura::WindowEventDispatcher* dispatcher);
+ aura::WindowTreeHost* host);
// Sends a fabricated key event, where |type| is the event type, |key_value|
// is the unicode value of the character, |key_code| is the legacy key code
@@ -77,7 +77,7 @@ KEYBOARD_EXPORT bool SendKeyEvent(std::string type,
int key_code,
std::string key_name,
int modifiers,
- aura::WindowEventDispatcher* dispatcher);
+ aura::WindowTreeHost* host);
// Marks that the keyboard load has started. This is used to measure the time it
// takes to fully load the keyboard. This should be called before
« no previous file with comments | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698