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

Issue 260009: Several background pattern fixes on the Mac.... (Closed)

Created:
11 years, 2 months ago by dmaclach
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paul Godavari, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Several theming fixes for the Mac. Sorry for the extensive change, but they were all sort of intertwined. Fixes up patterns in general so that they are all in phase. Moves the window widget buttons down by two pixels. Draws overlays correctly. Fixes up some accessibility issues with the default window widgets. Gets rid of some out of date files (tab_cell). BUG=18438, 18547, 19851, 20295, 22213, 23651, 24338 TEST=Launch Chrome. Switch to "dots" theme from the Google themes. Create a couple of tabs. Check to make sure that the background pattern line up with the tabs. Move the tabs around. Check that the hightlight colors and text colors look correct for all of the tabs. Make sure the patterns stay lined up. Resize the window, make sure none of the patterns move around. Create new windows by dragging the tabs out of the windows and make sure a new window is created with the correct pattern. Show the "find" bar. Make sure its pattern lines up correctly with the tabbar. Switch to default theme. Make sure it looks correct and draws properly. Switch to Zen theme and make sure that the overlay at the top draws correctly. Create a new window. make sure that the rollovers in the window widgets work correctly in both the active and inactive window. Mouse down on the zoom button in the inactive window and notice that the window context changes. Move off of the zoom button and mouse up. Mouse down on the miniaturize button on the inactive window and notice that the window context does not change. Move off of the miniaturize button and mouse up. Do the same thing you did for the miniaturize button for the close button. Start up Accessibility Inspector from the developer tools. Make sure that the window widgets report their accessibility information correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28613

Patch Set 1 #

Total comments: 27

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 20

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+839 lines, -346 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/background_gradient_view.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/cocoa/background_gradient_view.mm View 1 2 3 4 1 chunk +11 lines, -24 lines 0 comments Download
M chrome/browser/cocoa/background_gradient_view_unittest.mm View 1 chunk +13 lines, -2 lines 0 comments Download
A chrome/browser/cocoa/browser_frame_view.h View 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/browser_frame_view.mm View 3 4 1 chunk +176 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/browser_frame_view_unittest.mm View 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 1 2 3 4 14 chunks +64 lines, -47 lines 0 comments Download
M chrome/browser/cocoa/bubble_view.mm View 1 chunk +1 line, -1 line 0 comments Download
MM chrome/browser/cocoa/chrome_browser_window.h View 3 4 2 chunks +26 lines, -1 line 0 comments Download
MM chrome/browser/cocoa/chrome_browser_window.mm View 3 4 1 chunk +249 lines, -0 lines 0 comments Download
MM chrome/browser/cocoa/chrome_browser_window_unittest.mm View 3 4 4 chunks +49 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/download_shelf_view.mm View 1 2 3 4 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/find_bar_view.mm View 1 2 3 4 3 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/status_bubble_mac_unittest.mm View 3 4 1 chunk +5 lines, -1 line 0 comments Download
D chrome/browser/cocoa/tab_cell.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/cocoa/tab_cell.mm View 1 chunk +0 lines, -76 lines 0 comments Download
D chrome/browser/cocoa/tab_cell_unittest.mm View 1 chunk +0 lines, -42 lines 0 comments Download
M chrome/browser/cocoa/tab_controller.h View 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/tab_controller.mm View 3 4 7 chunks +34 lines, -26 lines 0 comments Download
M chrome/browser/cocoa/tab_strip_controller.h View 3 4 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/cocoa/tab_strip_controller.mm View 3 4 7 chunks +8 lines, -15 lines 0 comments Download
M chrome/browser/cocoa/tab_view.mm View 1 2 3 4 18 chunks +44 lines, -45 lines 0 comments Download
M chrome/browser/cocoa/tab_window_controller.mm View 3 4 5 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 3 4 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/cocoa/toolbar_view.mm View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 4 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
dmaclach
Avi, nico, I don't have submitter status, so I'm going to need someone to submit ...
11 years, 2 months ago (2009-10-05 16:29:39 UTC) #1
TVL
drive by - what about extension shelf?
11 years, 2 months ago (2009-10-05 16:37:45 UTC) #2
Nico
Thanks for taking this on! I'll leave the actual review to Avi, as I'm not ...
11 years, 2 months ago (2009-10-05 16:42:03 UTC) #3
Avi (use Gerrit)
http://codereview.chromium.org/260009/diff/1/3 File chrome/app/nibs/BrowserWindow.xib (left): http://codereview.chromium.org/260009/diff/1/3#oldcode368 Line 368: <string key="IBDocument.LastKnownRelativeProjectPath">../../../chrome.xcodeproj</string> Why are we changing the project ...
11 years, 2 months ago (2009-10-05 16:45:07 UTC) #4
Nico
One more: * Does this happen to fix http://crbug.com/19851<detail?id=19851&q=os%3Amac%20zen&colspec=ID Stars Pri Area Type Status Summary ...
11 years, 2 months ago (2009-10-05 16:45:22 UTC) #5
TVL
http://codereview.chromium.org/260009/diff/1/3 File chrome/app/nibs/BrowserWindow.xib (left): http://codereview.chromium.org/260009/diff/1/3#oldcode368 Line 368: <string key="IBDocument.LastKnownRelativeProjectPath">../../../chrome.xcodeproj</string> On 2009/10/05 16:45:08, Avi wrote: > ...
11 years, 2 months ago (2009-10-05 16:50:54 UTC) #6
rohitrao (ping after 24h)
I also dislike the findbarview->tabstripview and toolbarview->tabstripview dependencies. I remember thinking that each view independently ...
11 years, 2 months ago (2009-10-05 18:17:18 UTC) #7
dmaclach
TVL: > drive by - what about extension shelf? Haven't looked at it yet. It's ...
11 years, 2 months ago (2009-10-05 19:31:41 UTC) #8
pink (ping after 24hrs)
dmac: can you talk to cole about moving the tab strip down by 2px? He ...
11 years, 2 months ago (2009-10-05 19:54:30 UTC) #9
dmac
On 2009/10/05 19:54:30, pink wrote: > dmac: can you talk to cole about moving the ...
11 years, 2 months ago (2009-10-05 20:13:59 UTC) #10
dmac
Hey folks, I think I've dealt with all the issues that were brought up. Please ...
11 years, 2 months ago (2009-10-09 17:00:59 UTC) #11
Nico
Great stuff! I'm having the impression that the pattern phase and theme changed notification changes ...
11 years, 2 months ago (2009-10-09 17:21:43 UTC) #12
dmac
On 2009/10/09 17:21:43, Nico wrote: > Great stuff! > > I'm having the impression that ...
11 years, 2 months ago (2009-10-09 18:32:51 UTC) #13
Avi (use Gerrit)
Much better. Lots of nits, a few major comments. http://codereview.chromium.org/260009/diff/10001/10022 File chrome/browser/cocoa/browser_frame_view.h (right): http://codereview.chromium.org/260009/diff/10001/10022#newcode11 Line ...
11 years, 2 months ago (2009-10-09 19:10:14 UTC) #14
dmac
On 2009/10/09 19:10:14, Avi wrote: > Much better. Lots of nits, a few major comments. ...
11 years, 2 months ago (2009-10-09 20:47:27 UTC) #15
Avi (use Gerrit)
11 years, 2 months ago (2009-10-09 21:12:40 UTC) #16
LG

Powered by Google App Engine
This is Rietveld 408576698