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

Side by Side Diff: ui/keyboard/keyboard_util.h

Issue 184903003: Window ownership -> WindowTreeHost (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_UTIL_H_
6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_ 6 #define UI_KEYBOARD_KEYBOARD_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 // TODO(beng): replace with forward decl once RootWindow is renamed. 11 // TODO(beng): replace with forward decl once RootWindow is renamed.
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
13 #include "ui/keyboard/keyboard_export.h" 13 #include "ui/keyboard/keyboard_export.h"
14 14
15 struct GritResourceMap; 15 struct GritResourceMap;
16 16
17 namespace aura {
18 class WindowEventDispatcher;
19 }
20
17 namespace keyboard { 21 namespace keyboard {
18 22
19 // Enumeration of swipe directions. 23 // Enumeration of swipe directions.
20 enum CursorMoveDirection { 24 enum CursorMoveDirection {
21 kCursorMoveRight = 0x01, 25 kCursorMoveRight = 0x01,
22 kCursorMoveLeft = 0x02, 26 kCursorMoveLeft = 0x02,
23 kCursorMoveUp = 0x04, 27 kCursorMoveUp = 0x04,
24 kCursorMoveDown = 0x08 28 kCursorMoveDown = 0x08
25 }; 29 };
26 30
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // resources in the returned array. 90 // resources in the returned array.
87 KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources( 91 KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources(
88 size_t* size); 92 size_t* size);
89 93
90 // Logs the keyboard control event as a UMA stat. 94 // Logs the keyboard control event as a UMA stat.
91 void LogKeyboardControlEvent(KeyboardControlEvent event); 95 void LogKeyboardControlEvent(KeyboardControlEvent event);
92 96
93 } // namespace keyboard 97 } // namespace keyboard
94 98
95 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_ 99 #endif // UI_KEYBOARD_KEYBOARD_UTIL_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_ui_handler.cc ('k') | ui/shell_dialogs/select_file_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698