From a99f83f902ee83a35be2606e7758099fa6d11324 Mon Sep 17 00:00:00 2001 From: "dmaclach@chromium.org" Date: Fri, 6 Nov 2009 22:50:44 +0000 Subject: Adds hover and pressed states for the newtab button on the Mac. BrowserWindow.xib change was to add newtab_p as the image for the alternate state for the new tab button. BUG=26205 TEST=1) mouse over the new tab button and it should highlight. 2) Click and hold on the new tab button and its state should change 3) Release, and watch new tab get created. Verify that new button state changes appropriately 4) Create a full tab strip of tabs. Verify that button state stays correct as you click on the new tab button and new tabs are created but the button doesn't move. 5) Create 2 tabs, and move the mouse button into the newtab button. See that it highlights. hit cmd-w to close a tab. As the newtab button moves away from under the cursor make sure it loses its highlight. Review URL: http://codereview.chromium.org/372009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31316 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome.gyp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/chrome.gyp') diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 90193bb..33d9422 100755 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -5764,6 +5764,8 @@ 'app/theme/menu_page_Template.pdf', 'app/theme/nav.pdf', 'app/theme/newtab.pdf', + 'app/theme/newtab_h.pdf', + 'app/theme/newtab_p.pdf', 'app/theme/otr_icon.pdf', 'app/theme/reload_Template.pdf', 'app/theme/star_Template.pdf', -- cgit v1.1