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

Issue 18769007: Make the dismiss button on the CF infobar be an image button. (Closed)

Created:
7 years, 5 months ago by robertshield
Modified:
7 years, 5 months ago
CC:
chromium-reviews, grt+watch_chromium.org, amit, oshima+watch_chromium.org
Visibility:
Public.

Description

Make the dismiss button on the CF infobar be an image button. Uses WTL's CBitmapButton class, but applies a bug fix and a workaround to get CBitmapButton to both correctly erase the background and resize correctly when hosted in a dialog managed by CDialogResize. Also uses a correctly formatted BMP to store the button state list, if editing that BMP in the future, make sure that the EXACT RGBA format and bitness are preserved or things will break. Lastly, fxies a layout issue with the "more info" link vanishing during resizing. BUG=263809 TEST=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213521

Patch Set 1 #

Total comments: 20

Patch Set 2 : Greg feedback, fix link layout problem. #

Total comments: 4

Patch Set 3 : Reorder. #

Total comments: 4

Patch Set 4 : cpu feedback #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -8 lines) Patch
M chrome/app/cf_resources.rc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome_frame/resource.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/resources/chrome_frame_resources.grd View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome_frame/turndown_prompt/turndown_prompt_window.h View 1 4 chunks +8 lines, -1 line 0 comments Download
M chrome_frame/turndown_prompt/turndown_prompt_window.cc View 1 2 3 4 chunks +83 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
robertshield
Let's have a bitmap button he says. It'll be easy he says. In any case: ...
7 years, 5 months ago (2013-07-11 18:23:29 UTC) #1
grt (UTC plus 2)
hacking around WTL. awesome. https://codereview.chromium.org/18769007/diff/1/chrome/app/cf_resources.rc File chrome/app/cf_resources.rc (right): https://codereview.chromium.org/18769007/diff/1/chrome/app/cf_resources.rc#newcode54 chrome/app/cf_resources.rc:54: IDD_CHROME_FRAME_TURNDOWN_PROMPT DIALOGEX 0, 0, 393, ...
7 years, 5 months ago (2013-07-22 16:07:27 UTC) #2
robertshield
Thanks, PTAL. https://codereview.chromium.org/18769007/diff/1/chrome/app/cf_resources.rc File chrome/app/cf_resources.rc (right): https://codereview.chromium.org/18769007/diff/1/chrome/app/cf_resources.rc#newcode54 chrome/app/cf_resources.rc:54: IDD_CHROME_FRAME_TURNDOWN_PROMPT DIALOGEX 0, 0, 393, 14 On ...
7 years, 5 months ago (2013-07-22 19:58:57 UTC) #3
grt (UTC plus 2)
nice work, my man. lgtm with one code motion nit. https://codereview.chromium.org/18769007/diff/7001/chrome_frame/turndown_prompt/turndown_prompt_window.cc File chrome_frame/turndown_prompt/turndown_prompt_window.cc (right): https://codereview.chromium.org/18769007/diff/7001/chrome_frame/turndown_prompt/turndown_prompt_window.cc#newcode93 ...
7 years, 5 months ago (2013-07-23 01:38:33 UTC) #4
robertshield
Thanks! https://codereview.chromium.org/18769007/diff/7001/chrome_frame/turndown_prompt/turndown_prompt_window.cc File chrome_frame/turndown_prompt/turndown_prompt_window.cc (right): https://codereview.chromium.org/18769007/diff/7001/chrome_frame/turndown_prompt/turndown_prompt_window.cc#newcode93 chrome_frame/turndown_prompt/turndown_prompt_window.cc:93: void TurndownPromptWindow::SetupBitmapButton(TurndownPromptWindow* instance) { On 2013/07/23 01:38:33, grt ...
7 years, 5 months ago (2013-07-23 03:09:57 UTC) #5
robertshield
+Carlos for chrome/app OWNERS
7 years, 5 months ago (2013-07-23 03:10:41 UTC) #6
grt (UTC plus 2)
In case you haven't already noticed: it looks like you'll need to dcommit the binary ...
7 years, 5 months ago (2013-07-23 14:06:05 UTC) #7
robertshield
On 2013/07/23 14:06:05, grt wrote: > In case you haven't already noticed: it looks like ...
7 years, 5 months ago (2013-07-23 14:17:59 UTC) #8
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/18769007/diff/15001/chrome_frame/turndown_prompt/turndown_prompt_window.cc File chrome_frame/turndown_prompt/turndown_prompt_window.cc (right): https://codereview.chromium.org/18769007/diff/15001/chrome_frame/turndown_prompt/turndown_prompt_window.cc#newcode45 chrome_frame/turndown_prompt/turndown_prompt_window.cc:45: RECT rc; lets rc = {0} or check ...
7 years, 5 months ago (2013-07-24 02:05:08 UTC) #9
robertshield
Thanks! I'll break the bitmap out into a dcomitted CL then run this one through ...
7 years, 5 months ago (2013-07-24 14:02:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/18769007/29001
7 years, 5 months ago (2013-07-24 18:46:44 UTC) #11
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 21:48:15 UTC) #12
Message was sent while issue was closed.
Change committed as 213521

Powered by Google App Engine
This is Rietveld 408576698