Chromium Code Reviews

Unified Diff: chrome/browser/views/options/cookies_view.cc

Issue 3165064: Move the keyboard files from base/ to app/. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: latest merge Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/views/options/cookies_view.cc
diff --git a/chrome/browser/views/options/cookies_view.cc b/chrome/browser/views/options/cookies_view.cc
index 48de80f3030c0702fa686174494901526c180f87..2bba86031113bfcc2e34528c8670ffba7e3bf567 100644
--- a/chrome/browser/views/options/cookies_view.cc
+++ b/chrome/browser/views/options/cookies_view.cc
@@ -145,9 +145,9 @@ void CookiesView::ContentsChanged(views::Textfield* sender,
bool CookiesView::HandleKeystroke(views::Textfield* sender,
const views::Textfield::Keystroke& key) {
- if (key.GetKeyboardCode() == base::VKEY_ESCAPE) {
+ if (key.GetKeyboardCode() == app::VKEY_ESCAPE) {
ResetSearchQuery();
- } else if (key.GetKeyboardCode() == base::VKEY_RETURN) {
+ } else if (key.GetKeyboardCode() == app::VKEY_RETURN) {
search_update_factory_.RevokeAll();
UpdateSearchResults();
}
@@ -235,8 +235,8 @@ void CookiesView::OnTreeViewSelectionChanged(views::TreeView* tree_view) {
}
}
-void CookiesView::OnTreeViewKeyDown(base::KeyboardCode keycode) {
- if (keycode == base::VKEY_DELETE)
+void CookiesView::OnTreeViewKeyDown(app::KeyboardCode keycode) {
+ if (keycode == app::VKEY_DELETE)
cookies_tree_->RemoveSelectedItems();
}
« no previous file with comments | « chrome/browser/views/options/cookies_view.h ('k') | chrome/browser/views/tab_contents/render_view_context_menu_views.cc » ('j') | no next file with comments »

Powered by Google App Engine