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

Issue 19576007: Refactor themePatternPhase and tab_view in preparation for fixing crbug.com/176857 (Closed)

Created:
7 years, 5 months ago by pkotwicz
Modified:
7 years, 5 months ago
Reviewers:
Nico
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

- Swap themePatternPhase to themePatternPhaseForAlignment with an arg to indicate whether the image should be aligned with the window frame or the tab strip. This is needed in order to split IDR_THEME_TAB_BACKGROUND into two images in https://codereview.chromium.org/18486007/ and to make themes like http://www.corp.google.com/~pkotwicz/theme_testing/tab_background_tinted_frame.crx line up properly on mac (Which is also fixed in https://codereview.chromium.org/18486007/). - Move drawing the fill for the active tab to drawFillForActiveTab from drawFill in tab_view.mm. This is in preparation for https://codereview.chromium.org/18486007/ which makes painting the inactive tab more complex. BUG=176857 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212721

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Changes as requested #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -60 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/chrome_browser_window.mm View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/find_bar/find_bar_view.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_view.mm View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_view.mm View 1 2 3 chunks +42 lines, -41 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_window_controller.mm View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/themed_window.h View 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/themed_window.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_view.mm View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
pkotwicz
Nico, can you please take a look? I moved some of the refactoring in https://codereview.chromium.org/18486007/ ...
7 years, 5 months ago (2013-07-17 21:24:00 UTC) #1
pkotwicz
Ping?
7 years, 5 months ago (2013-07-18 19:48:40 UTC) #2
Nico
Whoops! Looking now sorry. CL description: "Refactor X" is an ok title, but the description ...
7 years, 5 months ago (2013-07-18 19:52:56 UTC) #3
Nico
lgtm, nice! https://codereview.chromium.org/19576007/diff/2001/chrome/browser/ui/cocoa/tabs/tab_view.mm File chrome/browser/ui/cocoa/tabs/tab_view.mm (left): https://codereview.chromium.org/19576007/diff/2001/chrome/browser/ui/cocoa/tabs/tab_view.mm#oldcode319 chrome/browser/ui/cocoa/tabs/tab_view.mm:319: bool selected = [self state]; nit: Keeping ...
7 years, 5 months ago (2013-07-18 19:58:30 UTC) #4
Nico
(with better CL description)
7 years, 5 months ago (2013-07-18 19:58:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/19576007/13001
7 years, 5 months ago (2013-07-19 19:12:08 UTC) #6
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-19 19:23:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/19576007/13001
7 years, 5 months ago (2013-07-19 19:36:18 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-20 02:09:22 UTC) #9
Message was sent while issue was closed.
Change committed as 212721

Powered by Google App Engine
This is Rietveld 408576698