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

Issue 1540009: [Mac] Move star button into page-actions area of omnibox. (Closed)

Created:
10 years, 8 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Mac] Move star button into page-actions area of omnibox. Removes the star button from the toolbar entirely. Adds a LocationBarImageView subclass for the star icon and wires it to the RHS of the field. Adjust the bookmark bubble to move the arrow to the RHS and position appropriately. BookmarkBubble.xib: outlet to view so that controller can change the arrow from left to right. Toolbar.xib: Move reload icon to where star was, remove star icon, adjust spacing. All spacing was adjusted to specific positions in the relevant inspector, not by mouse drag, so hopefully there's nothing awry there. BUG=37865 TEST=No star icon on toolbar. TEST=Optional home button adjustments should work right. TEST=Star action in omnibox when showing an URL. TEST=Star action can be clicked to bookmark current page. TEST=Bookmark bubble arrow points at star like before. TEST=Command-d brings up bookmark bubble. TEST=Star action changes from blank to yellow depending on state. TEST=Star action tooltip changes depending on state. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43376

Patch Set 1 #

Total comments: 7

Patch Set 2 : Merge w/popup-position change, plus minor comment addressed. #

Patch Set 3 : Why did the trybot fail? I can't see anything. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -891 lines) Patch
M chrome/app/nibs/BookmarkBubble.xib View 4 chunks +18 lines, -1 line 0 comments Download
M chrome/app/nibs/Toolbar.xib View 28 chunks +38 lines, -808 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.mm View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.mm View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bubble_controller.h View 4 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bubble_controller.mm View 4 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller_unittest.mm View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.h View 4 chunks +33 lines, -1 line 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.mm View 1 2 8 chunks +42 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 1 10 chunks +14 lines, -40 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller_unittest.mm View 1 4 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Scott Hess - ex-Googler
If you could contain yourself to only minor quibbles, like "Please alphabetize your include files ...
10 years, 8 months ago (2010-04-01 01:21:12 UTC) #1
Scott Hess - ex-Googler
On 2010/04/01 01:21:12, shess wrote: > If you could contain yourself to only minor quibbles, ...
10 years, 8 months ago (2010-04-01 01:22:46 UTC) #2
viettrungluu
Drive-by nag: Include a description of the .xib changes in the CL description/commit message, for ...
10 years, 8 months ago (2010-04-01 05:22:45 UTC) #3
rohitrao (ping after 24h)
LGTM I'm starting to dislike how we have so many individual icon views to keep ...
10 years, 8 months ago (2010-04-01 14:12:36 UTC) #4
Scott Hess - ex-Googler
On 2010/04/01 14:12:36, rohitrao wrote: > LGTM > > I'm starting to dislike how we ...
10 years, 8 months ago (2010-04-01 17:52:04 UTC) #5
Scott Hess - ex-Googler
On 2010/04/01 14:12:36, rohitrao wrote: > LGTM BTW, I looped in Rohit because he's been ...
10 years, 8 months ago (2010-04-01 17:59:11 UTC) #6
Scott Hess - ex-Googler
On 2010/04/01 05:22:45, viettrungluu wrote: > Drive-by nag: Include a description of the .xib changes ...
10 years, 8 months ago (2010-04-01 18:04:39 UTC) #7
pink (ping after 24hrs)
pink is out the rest of this week, which is why i'm not reviewing. On ...
10 years, 8 months ago (2010-04-01 18:10:18 UTC) #8
Scott Hess - ex-Googler
Aha. I'm glad you're online, otherwise I'd not have realized until Friday :-). Rohit, WDYT? ...
10 years, 8 months ago (2010-04-01 18:17:38 UTC) #9
rohitrao (ping after 24h)
10 years, 8 months ago (2010-04-01 18:45:14 UTC) #10
> Rohit, WDYT?

The browser/toolbar changes don't look particularly scary to me.  Double-check
that things behave when hiding/showing the home button, then submit away.

Powered by Google App Engine
This is Rietveld 408576698