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

Issue 14131: Fixes info bubble painting bug. This was happening because we were... (Closed)

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

Description

Fixes info bubble painting bug. This was happening because we were using layered windows incorrectly. According to the docs if you invoke SetLayeredWindowAttributes, then you shouldn't invoke UpdateLayeredWindow (unless you remove then add the WS_EX_LAYERED style bit). My approach here is to disable the backing buffer for the info bubble. I had problems toggling the WS_EX_LAYERED at the end up the animation. The text field would not paint when I did this... BUG=5351 TEST=bookmark a page. When the bubble appears press shift-tab and make sure you see a focus rect around the remove link. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7063

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -14 lines) Patch
M chrome/browser/views/info_bubble.cc View 4 chunks +11 lines, -6 lines 0 comments Download
M chrome/views/widget_win.h View 2 chunks +16 lines, -2 lines 0 comments Download
M chrome/views/widget_win.cc View 7 chunks +25 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
12 years ago (2008-12-15 23:28:31 UTC) #1
Ben Goodger (Google)
12 years ago (2008-12-16 00:34:46 UTC) #2
OK

Powered by Google App Engine
This is Rietveld 408576698