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

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)

Created:
11 years, 11 months ago by agl
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

POSIX: gfx::NativeViewId and CrossProcessEvent Create a couple new typedefs for porting work. Firstly, gfx::NativeViewId is a handle to a platform specific widget in the renderer process. For Windows, this is just a HWND as before. However, in other platforms the ids used in the renderer process will be something else. CrossProcessEvent is the type of a HANDLE to a Windows event object which is used across processes. Since we aren't going to support these sorts of events on non-Windows platforms, this will have to go away at some point. For now, however, this lets us build code without too many ifdefs all over the place.

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressing comments #

Patch Set 3 : ... #

Patch Set 4 : Merged in Brett's change too #

Patch Set 5 : Really include Brett's patch this time #

Patch Set 6 : rebase #

Patch Set 7 : fix merging messup #

Patch Set 8 : Build fixes for Win32 #

Total comments: 20

Patch Set 9 : Addressing Brett's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -165 lines) Patch
M base/gfx/native_widget_types.h View 1 2 3 4 5 6 7 8 2 chunks +42 lines, -2 lines 0 comments Download
M chrome/browser/download/download_file.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 4 5 6 7 8 4 chunks +21 lines, -6 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_helper.h View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_helper.cc View 5 1 chunk +12 lines, -13 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/resource_message_filter.h View 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/resource_message_filter.cc View 2 3 4 5 6 7 8 5 chunks +17 lines, -10 lines 0 comments Download
A chrome/common/modal_dialog_event.h View 8 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 4 5 6 7 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 6 7 11 chunks +16 lines, -34 lines 0 comments Download
M chrome/renderer/render_thread.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/renderer/render_view.h View 4 chunks +4 lines, -8 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 6 7 6 chunks +8 lines, -22 lines 0 comments Download
M chrome/renderer/render_widget.h View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/renderer/render_widget.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/renderer/renderer_glue.cc View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webkit/glue/chromium_bridge_impl.cc View 2 chunks +7 lines, -11 lines 0 comments Download
M webkit/glue/webkit_glue.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webplugin.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -4 lines 0 comments Download
M webkit/glue/webplugin_impl.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webwidget_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/pending/AccessibleBase.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_shell.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
agl
11 years, 11 months ago (2009-01-26 19:18:45 UTC) #1
darin (slow to review)
http://codereview.chromium.org/18768/diff/1/2 File base/gfx/native_widget_types.h (right): http://codereview.chromium.org/18768/diff/1/2#newcode47 Line 47: typedef HWND NativeViewId; I would also just define ...
11 years, 11 months ago (2009-01-26 19:37:26 UTC) #2
agl
Updated with Darin's suggestions and merging in Brett's patch (which was reverted on trunk). Changed ...
11 years, 11 months ago (2009-01-27 01:09:16 UTC) #3
brettw
http://codereview.chromium.org/18768/diff/196/288 File base/gfx/native_widget_types.h (right): http://codereview.chromium.org/18768/diff/196/288#newcode64 Line 64: typedef intptr_t NativeViewId; I'm not sure when I ...
11 years, 11 months ago (2009-01-27 04:12:35 UTC) #4
agl
(Note that PlatformWidget is getting changed to intptr_t as well - but that doesn't show ...
11 years, 11 months ago (2009-01-27 18:01:49 UTC) #5
brettw
11 years, 11 months ago (2009-01-27 19:50:13 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698