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

Unified Diff: chrome/browser/views/html_dialog_view.cc

Issue 3361003: Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.... (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 | « chrome/browser/views/fullscreen_exit_bubble.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/html_dialog_view.cc
===================================================================
--- chrome/browser/views/html_dialog_view.cc (revision 58386)
+++ chrome/browser/views/html_dialog_view.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/views/html_dialog_view.h"
-#include "base/keyboard_codes.h"
+#include "app/keyboard_codes.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/native_web_keyboard_event.h"
@@ -55,7 +55,7 @@
bool HtmlDialogView::AcceleratorPressed(const views::Accelerator& accelerator) {
// Pressing ESC closes the dialog.
- DCHECK_EQ(base::VKEY_ESCAPE, accelerator.GetKeyCode());
+ DCHECK_EQ(app::VKEY_ESCAPE, accelerator.GetKeyCode());
OnDialogClosed(std::string());
return true;
}
@@ -201,7 +201,7 @@
this);
// Pressing the ESC key will close the dialog.
- AddAccelerator(views::Accelerator(base::VKEY_ESCAPE, false, false, false));
+ AddAccelerator(views::Accelerator(app::VKEY_ESCAPE, false, false, false));
DOMView::LoadURL(GetDialogContentURL());
}
« no previous file with comments | « chrome/browser/views/fullscreen_exit_bubble.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698