Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Issue 9302022: WebWidgetClient::screenInfo() no longer does a synchronous IPC. (Closed)

Created:
8 years, 10 months ago by Fady Samuel
Modified:
8 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

WebWidgetClient::screenInfo() no longer does a synchronous IPC. Instead it grabs the necessary info from a cached WebScreenInfo factory. BUG=111401 TEST=Manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124453

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updated for Windows #

Patch Set 3 : Refreshed patch to merge with tip of tree #

Total comments: 7

Patch Set 4 : Updated based on jam's comments #

Total comments: 2

Patch Set 5 : Fixed broken Windows build on last iteration. Thank you commit queue/trybots :) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -56 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter_win.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.cc View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 5 chunks +11 lines, -6 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 chunks +8 lines, -16 lines 0 comments Download
M content/renderer/render_widget_fullscreen.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/render_view_test.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
lain Merrick
https://chromiumcodereview.appspot.com/9302022/diff/1/content/browser/renderer_host/render_view_host.cc File content/browser/renderer_host/render_view_host.cc (right): https://chromiumcodereview.appspot.com/9302022/diff/1/content/browser/renderer_host/render_view_host.cc#newcode207 content/browser/renderer_host/render_view_host.cc:207: params.WebKit::WebScreenInfoFactory::screenInfo( params.WebKit looks wrong. And this may still call ...
8 years, 10 months ago (2012-01-31 12:42:09 UTC) #1
Fady Samuel
https://chromiumcodereview.appspot.com/9302022/diff/1/content/browser/renderer_host/render_view_host.cc File content/browser/renderer_host/render_view_host.cc (right): https://chromiumcodereview.appspot.com/9302022/diff/1/content/browser/renderer_host/render_view_host.cc#newcode207 content/browser/renderer_host/render_view_host.cc:207: params.WebKit::WebScreenInfoFactory::screenInfo( On 2012/01/31 12:42:09, Iain Merrick wrote: > params.WebKit ...
8 years, 10 months ago (2012-01-31 19:54:11 UTC) #2
Fady Samuel
Updated to compile on Windows and merge with TOT. Sorry for the delay, was out ...
8 years, 9 months ago (2012-02-28 22:39:06 UTC) #3
jam
http://codereview.chromium.org/9302022/diff/9001/content/browser/renderer_host/render_view_host.cc File content/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/9302022/diff/9001/content/browser/renderer_host/render_view_host.cc#newcode213 content/browser/renderer_host/render_view_host.cc:213: if (view()) brace brackets here and below per style ...
8 years, 9 months ago (2012-02-29 23:41:16 UTC) #4
Fady Samuel
http://codereview.chromium.org/9302022/diff/9001/content/browser/renderer_host/render_view_host.cc File content/browser/renderer_host/render_view_host.cc (right): http://codereview.chromium.org/9302022/diff/9001/content/browser/renderer_host/render_view_host.cc#newcode213 content/browser/renderer_host/render_view_host.cc:213: if (view()) On 2012/02/29 23:41:17, John Abd-El-Malek wrote: > ...
8 years, 9 months ago (2012-03-01 00:52:24 UTC) #5
jam
http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc File content/browser/renderer_host/render_widget_host.cc (left): http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc#oldcode1305 content/browser/renderer_host/render_widget_host.cc:1305: view_->GetScreenInfo(results); both this method and the one below are ...
8 years, 9 months ago (2012-03-01 01:00:16 UTC) #6
jam
8 years, 9 months ago (2012-03-01 01:00:17 UTC) #7
Fady Samuel
http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc File content/browser/renderer_host/render_widget_host.cc (left): http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc#oldcode1305 content/browser/renderer_host/render_widget_host.cc:1305: view_->GetScreenInfo(results); On 2012/03/01 01:00:17, John Abd-El-Malek wrote: > both ...
8 years, 9 months ago (2012-03-01 01:02:38 UTC) #8
jam
On 2012/03/01 01:02:38, Fady Samuel wrote: > http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc > File content/browser/renderer_host/render_widget_host.cc (left): > > http://codereview.chromium.org/9302022/diff/13002/content/browser/renderer_host/render_widget_host.cc#oldcode1305 ...
8 years, 9 months ago (2012-03-01 01:06:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9302022/13002
8 years, 9 months ago (2012-03-01 01:08:33 UTC) #10
commit-bot: I haz the power
Try job failure for 9302022-13002 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-01 02:18:31 UTC) #11
Iain Merrick
lgtm
8 years, 9 months ago (2012-03-01 11:58:12 UTC) #12
Fady Samuel
8 years, 9 months ago (2012-03-01 13:08:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/9302022/24001
8 years, 9 months ago (2012-03-01 16:37:50 UTC) #14
commit-bot: I haz the power
8 years, 9 months ago (2012-03-01 19:46:42 UTC) #15
Change committed as 124453

Powered by Google App Engine
This is Rietveld 408576698