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

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

Issue 3337006: Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from bas... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 58389)
+++ 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 "base/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(base::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(base::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