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

Issue 151130: Wire GetWindowRect, GetRootWindowRect, and GetScreenInfo out to the UI thread. (Closed)

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

Description

Wire GetWindowRect, GetRootWindowRect, and GetScreenInfo out to the UI thread. Convert GetScreenInfo to be sync and routed. http://crbug.com/13113 R=darin@chromium.org, jam@chromium.org, amanda@chromium.org TEST=See bug.

Patch Set 1 #

Patch Set 2 : Cleanup in preparation for submitting for review. #

Patch Set 3 : Whoa, win and gtk versions were not necessary. #

Patch Set 4 : Oops, put back popup-blocking code. #

Total comments: 24

Patch Set 5 : Merge Antoine's changes, address reviewer comments. #

Patch Set 6 : Making sure re-merge is clean - should be nop. #

Patch Set 7 : OK, so merging with a conflict, then merging with the revert is annoying. #

Patch Set 8 : Merged with Antoine's changes, again. Now up-to-date. #

Total comments: 9

Patch Set 9 : Darin's suggestions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -101 lines) Patch
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 4 5 6 7 8 5 chunks +42 lines, -12 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 3 chunks +7 lines, -25 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter_mac.mm View 1 chunk +0 lines, -54 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter_win.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.h View 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 6 7 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/renderer/render_widget.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Scott Hess - ex-Googler
Same song seventh verse ...
11 years, 5 months ago (2009-07-02 22:50:08 UTC) #1
Scott Hess - ex-Googler
jam suggested I ping...
11 years, 5 months ago (2009-07-06 19:16:19 UTC) #2
Scott Hess - ex-Googler
http://codereview.chromium.org/151130/diff/1003/1017 File chrome/common/render_messages_internal.h (right): http://codereview.chromium.org/151130/diff/1003/1017#newcode957 Line 957: WebKit::WebScreenInfo /* Out: results */) Dammit, I'll go ...
11 years, 5 months ago (2009-07-06 19:18:48 UTC) #3
jam
http://codereview.chromium.org/151130/diff/1003/1004 File chrome/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/151130/diff/1003/1004#newcode645 Line 645: #if !defined(OS_MACOSX) This should just be an "#if ...
11 years, 5 months ago (2009-07-06 19:33:27 UTC) #4
darin (slow to review)
sorry for the delay in providing feedback http://codereview.chromium.org/151130/diff/1003/1004 File chrome/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/151130/diff/1003/1004#newcode642 Line 642: // ...
11 years, 5 months ago (2009-07-06 19:52:47 UTC) #5
Scott Hess - ex-Googler
Amanda, looping you in for the code which moved from resource_message_filter_mac.mm to render_widget_host_view_mac.mm. Also, since ...
11 years, 5 months ago (2009-07-06 22:23:01 UTC) #6
Amanda Walker
On 2009/07/06 22:23:01, shess wrote: > Amanda, looping you in for the code which moved ...
11 years, 5 months ago (2009-07-06 22:32:54 UTC) #7
Scott Hess - ex-Googler
Sorry about the merge-related junk yesterday. Some code conflicted, then once I was merged reverted ...
11 years, 5 months ago (2009-07-07 20:57:30 UTC) #8
darin (slow to review)
LGTM The CL description should include BUG=, TEST=, and R= lines. http://codereview.chromium.org/151130/diff/2111/2113 File chrome/browser/renderer_host/render_widget_host.cc (right): ...
11 years, 5 months ago (2009-07-07 21:24:17 UTC) #9
jam
lgtm On Tue, Jul 7, 2009 at 1:57 PM, <shess@chromium.org> wrote: > Sorry about the ...
11 years, 5 months ago (2009-07-07 21:30:28 UTC) #10
Scott Hess - ex-Googler
On 2009/07/07 21:24:17, darin wrote: > The CL description should include BUG=, TEST=, and R= ...
11 years, 5 months ago (2009-07-07 21:41:51 UTC) #11
Scott Hess - ex-Googler
http://codereview.chromium.org/151130/diff/2111/2113 File chrome/browser/renderer_host/render_widget_host.cc (right): http://codereview.chromium.org/151130/diff/2111/2113#newcode137 Line 137: #endif On 2009/07/07 21:24:17, darin wrote: > nit: ...
11 years, 5 months ago (2009-07-07 21:42:03 UTC) #12
darin (slow to review)
11 years, 5 months ago (2009-07-08 00:01:19 UTC) #13
http://codereview.chromium.org/151130/diff/2111/2114
File chrome/browser/renderer_host/render_widget_host.h (right):

http://codereview.chromium.org/151130/diff/2111/2114#newcode400
Line 400: #endif
> Done.  Was unsure since they aren't variants of each other, just
coincidentally
> near each other.

That's a good point!  Maybe my suggestion was bad in this case.

Powered by Google App Engine
This is Rietveld 408576698