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

Unified Diff: chrome/browser/gtk/browser_window_gtk.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/find_bar_host_browsertest.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/gtk/browser_window_gtk.cc (revision 58386)
+++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
@@ -9,10 +9,10 @@
#include <string>
#include "app/gtk_util.h"
+#include "app/keyboard_codes.h"
#include "app/l10n_util.h"
#include "base/base_paths.h"
#include "base/command_line.h"
-#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -299,8 +299,8 @@
// Keys like Ctrl+w, Ctrl+n, etc. should always be sent to the renderer first,
// otherwise some web apps or the Emacs key bindings may not work correctly.
int vkey = event.windowsKeyCode;
- if ((vkey >= base::VKEY_0 && vkey <= base::VKEY_9) ||
- (vkey >= base::VKEY_A && vkey <= base::VKEY_Z))
+ if ((vkey >= app::VKEY_0 && vkey <= app::VKEY_9) ||
+ (vkey >= app::VKEY_A && vkey <= app::VKEY_Z))
return false;
// All other reserved accelerators should be processed immediately.
« no previous file with comments | « chrome/browser/find_bar_host_browsertest.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698