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

Issue 149342: Make converting from NativeViewId to NativeView an error on Mac. (Closed)

Created:
11 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make converting from NativeViewId to NativeView an error on Mac. Goal is to prevent someone from checking in new cross-platform code relying on this.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M base/gfx/native_widget_types.h View 1 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Scott Hess - ex-Googler
11 years, 5 months ago (2009-07-08 21:33:49 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/149342/diff/1/2 File base/gfx/native_widget_types.h (right): http://codereview.chromium.org/149342/diff/1/2#newcode103 Line 103: #define NativeViewFromId(x) NATIVE_VIEW_FROM_ID_NOT_AVAILIBLE_ON_MAC Drive by nit: AVAILABLE
11 years, 5 months ago (2009-07-08 21:41:38 UTC) #2
Amanda Walker
LGTM!
11 years, 5 months ago (2009-07-08 21:41:40 UTC) #3
Scott Hess - ex-Googler
http://codereview.chromium.org/149342/diff/1/2 File base/gfx/native_widget_types.h (right): http://codereview.chromium.org/149342/diff/1/2#newcode103 Line 103: #define NativeViewFromId(x) NATIVE_VIEW_FROM_ID_NOT_AVAILIBLE_ON_MAC On 2009/07/08 21:41:38, Avi wrote: ...
11 years, 5 months ago (2009-07-08 21:47:59 UTC) #4
Avi (use Gerrit)
11 years, 5 months ago (2009-07-08 21:50:40 UTC) #5
http://codereview.chromium.org/149342/diff/1/2
File base/gfx/native_widget_types.h (right):

http://codereview.chromium.org/149342/diff/1/2#newcode111
Line 111: #define NativeViewFromId(x) NATIVE_VIEW_FROM_ID_NOT_AVAILIBLE_ON_LINUX
OK, then, shess. :)
Drive by nit: AVAILABLE

Powered by Google App Engine
This is Rietveld 408576698