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

Issue 10399020: Make RenderWidget send UpdateRect after auto-resize. (Closed)

Created:
8 years, 7 months ago by Daniel Erat
Modified:
8 years, 7 months ago
Reviewers:
Andrei, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, jamesr, nduca
Visibility:
Public.

Description

Make RenderWidget send UpdateRect after auto-resize. This sets a flag in didAutoResize() that didCompleteSwapBuffers() inspects when deciding whether to send an UpdateRect message or not. Without this, extension bubbles aren't getting resized correctly when using the threaded compositor. BUG=120247 TEST=manual: "Google Calendar (by Google)" and "Google +1 Button" extensions' bubbles resize to fit their content on Chrome OS Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137073

Patch Set 1 #

Total comments: 2

Patch Set 2 : reset flag in DoDeferredUpdate #

Patch Set 3 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M content/renderer/render_widget.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 5 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Daniel Erat
8 years, 7 months ago (2012-05-14 23:40:47 UTC) #1
levin
On 2012/05/14 23:40:47, Daniel Erat wrote: Why is this the right fix? (What is going ...
8 years, 7 months ago (2012-05-14 23:52:32 UTC) #2
Daniel Erat
On 2012/05/14 23:52:32, levin wrote: > On 2012/05/14 23:40:47, Daniel Erat wrote: > > Why ...
8 years, 7 months ago (2012-05-15 00:00:16 UTC) #3
Andrei
lgtm
8 years, 7 months ago (2012-05-15 00:00:34 UTC) #4
piman
LGTM + 1 minor thing. https://chromiumcodereview.appspot.com/10399020/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10399020/diff/1/content/renderer/render_widget.cc#newcode920 content/renderer/render_widget.cc:920: next_paint_flags_ = 0; I ...
8 years, 7 months ago (2012-05-15 00:07:43 UTC) #5
levin
On 2012/05/14 23:52:32, levin wrote: > On 2012/05/14 23:40:47, Daniel Erat wrote: > > Why ...
8 years, 7 months ago (2012-05-15 00:12:17 UTC) #6
Daniel Erat
https://chromiumcodereview.appspot.com/10399020/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10399020/diff/1/content/renderer/render_widget.cc#newcode920 content/renderer/render_widget.cc:920: next_paint_flags_ = 0; On 2012/05/15 00:07:43, piman wrote: > ...
8 years, 7 months ago (2012-05-15 00:29:27 UTC) #7
piman
lgtm
8 years, 7 months ago (2012-05-15 00:44:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10399020/9001
8 years, 7 months ago (2012-05-15 02:15:31 UTC) #9
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 03:43:27 UTC) #10
Change committed as 137073

Powered by Google App Engine
This is Rietveld 408576698