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

Unified Diff: views/controls/tree/tree_view.h

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « views/controls/textfield/textfield.cc ('k') | views/controls/tree/tree_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/tree/tree_view.h
===================================================================
--- views/controls/tree/tree_view.h (revision 71220)
+++ views/controls/tree/tree_view.h (working copy)
@@ -11,9 +11,9 @@
#include <map>
-#include "app/keyboard_codes.h"
#include "app/tree_model.h"
#include "base/basictypes.h"
+#include "ui/base/keycodes/keyboard_codes.h"
#include "views/controls/native_control.h"
namespace views {
@@ -36,7 +36,7 @@
}
// Invoked when a key is pressed on the tree view.
- virtual void OnTreeViewKeyDown(app::KeyboardCode keycode) {}
+ virtual void OnTreeViewKeyDown(ui::KeyboardCode keycode) {}
};
// TreeView -------------------------------------------------------------------
@@ -181,7 +181,7 @@
// We pay attention to key down for two reasons: to circumvent VK_ENTER from
// toggling the expaned state when processes_enter_ is false, and to have F2
// start editting.
- virtual bool OnKeyDown(app::KeyboardCode virtual_key_code);
+ virtual bool OnKeyDown(ui::KeyboardCode virtual_key_code);
virtual void OnContextMenu(const POINT& location);
« no previous file with comments | « views/controls/textfield/textfield.cc ('k') | views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698