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

Unified Diff: chrome/views/event.cc

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/views/combo_box.cc ('k') | chrome/views/grid_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/event.cc
===================================================================
--- chrome/views/event.cc (revision 11293)
+++ chrome/views/event.cc (working copy)
@@ -79,7 +79,8 @@
int KeyEvent::GetKeyStateFlags() const {
// Windows Keyboard messages don't come with control key state as parameters
- // like mouse messages do, so we need to explicitly probe for these key states.
+ // like mouse messages do, so we need to explicitly probe for these key
+ // states.
int flags = 0;
if (GetKeyState(VK_MENU) & 0x80)
flags |= Event::EF_ALT_DOWN;
« no previous file with comments | « chrome/views/combo_box.cc ('k') | chrome/views/grid_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698