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

Issue 119154: Add comments on magic number 0xbb. They are VK_OEM_PLUS. I guess the original... (Closed)

Created:
11 years, 6 months ago by hamaji
Modified:
9 years, 5 months ago
Reviewers:
jcampan
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Add comments on magic number 0xbb. They are VK_OEM_PLUS. I guess the original author of this code considered the case where VK_OEM_PLUS isn't defined. For example, it seems that 0xbb is VK_EQUAL for embeded environments and VK_OEM_PLUS is never defined. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18467

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M views/controls/textfield/native_textfield_win.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hamaji
11 years, 6 months ago (2009-06-04 06:25:35 UTC) #1
jcampan
LGTM http://codereview.chromium.org/119154/diff/7/8 File views/controls/textfield/native_textfield_win.cc (right): http://codereview.chromium.org/119154/diff/7/8#newcode440 Line 440: // We don't use VK_OEM_PLUS in case ...
11 years, 6 months ago (2009-06-15 22:49:49 UTC) #2
hamaji
11 years, 6 months ago (2009-06-15 23:05:39 UTC) #3
Thanks!

http://codereview.chromium.org/119154/diff/7/8
File views/controls/textfield/native_textfield_win.cc (right):

http://codereview.chromium.org/119154/diff/7/8#newcode440
Line 440: // We don't use VK_OEM_PLUS in case the macro isn't defined.
On 2009/06/15 22:49:49, jcampan wrote:
> Nit: could you add a short sentence explaining in which conditions VK_OEM_PLUS
> is defined or not?

Added.

Powered by Google App Engine
This is Rietveld 408576698