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

Issue 10993087: Handle titlebar text updates properly (Closed)

Created:
8 years, 2 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 2 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, sadrul, ben+watch_chromium.org, tfarina, jeremya+watch_chromium.org, Dmitry Titov, dcheng, Aaron Boodman, jennb, jianli, alicet1, msw+watch_chromium.org
Visibility:
Public.

Description

Handle titlebar text updates properly Previously the area of the text was not invalidated prior to the title drawing. As such all kind of results were possible. BUG=152597, 151827 TEST=visual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=159494

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed build problem #

Total comments: 2

Patch Set 3 : Fixed windows build #

Patch Set 4 : Addressed comment #

Patch Set 5 : Another windows problem #

Total comments: 4

Patch Set 6 : Addressed comments #

Patch Set 7 : Odd - build machine failed to update patch (which I updated successfully) Re-uploading #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -18 lines) Patch
M ash/wm/custom_frame_view_ash.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/custom_frame_view_ash.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/dialog_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/dialog_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/frame_painter.h View 2 chunks +9 lines, -0 lines 0 comments Download
M ash/wm/frame_painter.cc View 1 3 chunks +21 lines, -10 lines 0 comments Download
M ash/wm/panel_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/panel_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/constrained_window_frame_simple.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/shell_window_views.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/popup_non_client_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/popup_non_client_frame_view.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/panels/panel_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/panels/panel_frame_view.cc View 2 chunks +5 lines, -1 line 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download
M ui/views/window/custom_frame_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/window/custom_frame_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/window/native_frame_view.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/window/native_frame_view.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/window/non_client_view.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/window/non_client_view.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mr4D (OOO till 08-26)
Hello sky! this is as discussed. I was running an extended session with all window ...
8 years, 2 months ago (2012-09-28 19:44:10 UTC) #1
msw
http://codereview.chromium.org/10993087/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): http://codereview.chromium.org/10993087/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode382 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:382: SchedulePaintInRect(title_bounds_); This particular implementation may be unnecessary after http://crrev.com/159087, ...
8 years, 2 months ago (2012-09-28 20:10:51 UTC) #2
Mr4D (OOO till 08-26)
Please see my comment. Furthermore: I had a build problem on the server which required ...
8 years, 2 months ago (2012-09-28 20:30:48 UTC) #3
msw
http://codereview.chromium.org/10993087/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): http://codereview.chromium.org/10993087/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode382 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:382: SchedulePaintInRect(title_bounds_); On 2012/09/28 20:30:48, Mr4D wrote: > This particular: ...
8 years, 2 months ago (2012-09-28 20:42:50 UTC) #4
Mr4D (OOO till 08-26)
Addressed build stopper in Windows and comment from msw. http://codereview.chromium.org/10993087/diff/9001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): http://codereview.chromium.org/10993087/diff/9001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode394 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:394: ...
8 years, 2 months ago (2012-09-28 21:54:47 UTC) #5
sky
http://codereview.chromium.org/10993087/diff/7003/chrome/browser/ui/views/frame/glass_browser_frame_view.h File chrome/browser/ui/views/frame/glass_browser_frame_view.h (right): http://codereview.chromium.org/10993087/diff/7003/chrome/browser/ui/views/frame/glass_browser_frame_view.h#newcode41 chrome/browser/ui/views/frame/glass_browser_frame_view.h:41: virtual void UpdateWindowTitle() OVERRIDE { } {} (for previous ...
8 years, 2 months ago (2012-09-28 22:47:12 UTC) #6
Mr4D (OOO till 08-26)
Addressed. Please have another look! http://codereview.chromium.org/10993087/diff/7003/chrome/browser/ui/views/frame/glass_browser_frame_view.h File chrome/browser/ui/views/frame/glass_browser_frame_view.h (right): http://codereview.chromium.org/10993087/diff/7003/chrome/browser/ui/views/frame/glass_browser_frame_view.h#newcode41 chrome/browser/ui/views/frame/glass_browser_frame_view.h:41: virtual void UpdateWindowTitle() OVERRIDE ...
8 years, 2 months ago (2012-09-29 00:44:25 UTC) #7
sky
On Fri, Sep 28, 2012 at 5:44 PM, <skuhne@chromium.org> wrote: > Addressed. Please have another ...
8 years, 2 months ago (2012-10-01 13:48:10 UTC) #8
sky
LGTM
8 years, 2 months ago (2012-10-01 13:51:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10993087/23001
8 years, 2 months ago (2012-10-01 14:15:33 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-01 14:19:09 UTC) #11
Retried try job too often for step(s) crypto_unittests, unit_tests,
cacheinvalidation_unittests, remoting_unittests, jingle_unittests,
nacl_integration, ipc_tests, interactive_ui_tests, browser_tests, net_unittests,
content_unittests, gpu_unittests, base_unittests, sync_integration_tests,
media_unittests, safe_browsing_tests, content_browsertests, sql_unittests,
printing_unittests, sync_unit_tests, check_deps

Powered by Google App Engine
This is Rietveld 408576698