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

Issue 99042: Fix several painting glitches for toolstrips. (Closed)

Created:
11 years, 8 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix several painting glitches for toolstrips. * Reset HWND size when HWNDHtmlView changes size. The two should always be in sync. * Race: We might already have frames when RenderWidget receives a new background, need to set these to transparent too. * Race: Toolstrip background not always available by the time ExtensionToolstrip is constucted * Make images line up correctly for toolstrip buttons.

Patch Set 1 #

Total comments: 9

Patch Set 2 : Review responses #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -55 lines) Patch
M chrome/browser/extensions/extension_view.h View 1 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_view.cc View 1 2 chunks +25 lines, -8 lines 0 comments Download
M chrome/browser/resources/extensions_toolstrip.css View 2 chunks +62 lines, -39 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view.cc View 1 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/views/hwnd_html_view.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/views/hwnd_html_view.cc View 1 1 chunk +21 lines, -0 lines 1 comment Download
M webkit/glue/webview_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Aaron Boodman
11 years, 8 months ago (2009-04-27 02:50:44 UTC) #1
Erik does not do reviews
LGTM my comments are all nits * Reset HWND size when HWNDHtmlView changes size (stolen ...
11 years, 8 months ago (2009-04-27 16:12:40 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/99042/diff/1/6 File chrome/browser/views/hwnd_html_view.cc (right): http://codereview.chromium.org/99042/diff/1/6#newcode53 Line 53: current.width() > 0 && current.height() > 0) one ...
11 years, 8 months ago (2009-04-27 18:07:09 UTC) #3
Aaron Boodman
On 2009/04/27 16:12:40, Erik Kay wrote: > LGTM > > my comments are all nits ...
11 years, 8 months ago (2009-04-27 19:12:13 UTC) #4
Aaron Boodman
On 2009/04/27 18:07:09, Erik Kay wrote: > http://codereview.chromium.org/99042/diff/1/6 > File chrome/browser/views/hwnd_html_view.cc (right): > > http://codereview.chromium.org/99042/diff/1/6#newcode53 ...
11 years, 8 months ago (2009-04-27 19:12:31 UTC) #5
Erik does not do reviews
11 years, 8 months ago (2009-04-27 19:47:30 UTC) #6
LGTM

http://codereview.chromium.org/99042/diff/17/3007
File chrome/browser/views/hwnd_html_view.cc (right):

http://codereview.chromium.org/99042/diff/17/3007#newcode52
Line 52: if (render_view_host() && render_view_host()->view() &&
!current.IsEmpty())
I still think this isn't the correct final fix (but is good for this CL). You
should reference the two bugs that I had originally, so that we remove this code
when the right fixes arrive.

See: http://codereview.chromium.org/96008/diff2/3001:4011/3010 for the original
comments on the left.

Powered by Google App Engine
This is Rietveld 408576698