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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.cc

Issue 119154: Add comments on magic number 0xbb. They are VK_OEM_PLUS. I guess the original... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « no previous file | views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit_view_win.cc
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit_view_win.cc (revision 18446)
+++ chrome/browser/autocomplete/autocomplete_edit_view_win.cc (working copy)
@@ -907,7 +907,8 @@
return !e.IsAltDown() && e.IsControlDown();
case VK_BACK:
- case 0xbb:
+ case 0xbb: // We don't use VK_OEM_PLUS in case the macro isn't defined.
+ // (e.g., we don't have this symbol in embeded environment).
return true;
default:
@@ -1815,6 +1816,8 @@
}
case 0xbb: // Ctrl-'='. Triggers subscripting (even in plain text mode).
+ // We don't use VK_OEM_PLUS in case the macro isn't defined.
+ // (e.g., we don't have this symbol in embeded environment).
return true;
default:
« no previous file with comments | « no previous file | views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698