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

Unified Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 3354005: Re-lands 58186: (Closed)
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
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index 1cef421f3398c09d38cb5cf928787a1f83319e7c..da1a13d52dc0677fd107fb83a11df0e546c744e3 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -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 @@ bool ShouldExecuteReservedCommandImmediately(
// 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