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

Issue 943453003: Add tooltips to profile name when truncated (Closed)

Created:
5 years, 10 months ago by wesleylancel
Modified:
5 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tooltips to profile name when truncated This adds tooltips to profile names in both the old and new profile switcher when they are truncated on OSX. This lines up with behaviour on Windows. Also added myself to the AUTHORS file seeing this is my first contribution. BUG=459572 Committed: https://crrev.com/30f4cc56a384a941fffe7de277c80c3088cce4e3 Cr-Commit-Position: refs/heads/master@{#318769}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Incorporate feedback for profile name tooltips #

Patch Set 3 : Add setAllowsExpansionToolTips in sdk_forward_declarations #

Total comments: 4

Patch Set 4 : Fix allowsExpansionToolTips in sdk_forward_declarations #

Patch Set 5 : Actually include the sdk_forward_declarations #

Total comments: 8

Patch Set 6 : Fix code style issues #

Total comments: 7

Patch Set 7 : Styling issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M base/mac/sdk_forward_declarations.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (7 generated)
wesleylancel
5 years, 10 months ago (2015-02-19 18:50:21 UTC) #2
noms (inactive)
Oh! You only need one owner and maybe one other reviewer at most if the ...
5 years, 10 months ago (2015-02-19 18:59:57 UTC) #5
groby-ooo-7-16
Congrats on your first patch! I do have a little bit of feedback, though... :) ...
5 years, 10 months ago (2015-02-19 19:00:10 UTC) #7
noms (inactive)
The new bubble in ProfileChooserController also has a list of other profiles (behind the --enable-fast-user-switching ...
5 years, 10 months ago (2015-02-19 19:07:47 UTC) #9
wesleylancel
On 2015/02/19 19:00:10, groby wrote: > Congrats on your first patch! Thanks! > > I ...
5 years, 10 months ago (2015-02-19 19:10:28 UTC) #10
wesleylancel
On 2015/02/19 19:07:47, Monica Dinculescu wrote: > The new bubble in ProfileChooserController also has a ...
5 years, 10 months ago (2015-02-19 19:10:55 UTC) #11
wesleylancel
I've added a new patchset that should contain most of the feedback.
5 years, 10 months ago (2015-02-19 20:13:48 UTC) #12
groby-ooo-7-16
The build error is due to the message being unknown. You might want to add ...
5 years, 10 months ago (2015-02-19 22:52:54 UTC) #13
wesleylancel
On 2015/02/19 22:52:54, groby wrote: > The build error is due to the message being ...
5 years, 10 months ago (2015-02-19 23:10:10 UTC) #14
groby-ooo-7-16
On 2015/02/19 23:10:10, wesleylancel wrote: > On 2015/02/19 22:52:54, groby wrote: > > The build ...
5 years, 10 months ago (2015-02-19 23:54:02 UTC) #15
wesleylancel
On 2015/02/19 23:54:02, groby wrote: > On 2015/02/19 23:10:10, wesleylancel wrote: > > On 2015/02/19 ...
5 years, 10 months ago (2015-02-20 14:39:54 UTC) #16
groby-ooo-7-16
Hope this helps fixing the issue. https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h#newcode288 base/mac/sdk_forward_declarations.h:288: @interface NSObject (MountainLionSDK) ...
5 years, 10 months ago (2015-02-20 17:01:07 UTC) #17
wesleylancel
On 2015/02/20 17:01:07, groby wrote: > Hope this helps fixing the issue. > > https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h ...
5 years, 10 months ago (2015-02-20 17:28:04 UTC) #18
wesleylancel
https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h#newcode289 base/mac/sdk_forward_declarations.h:289: - (void)setAllowsExpansionToolTips; On 2015/02/20 17:01:07, groby wrote: > And ...
5 years, 10 months ago (2015-02-21 18:51:41 UTC) #19
wesleylancel
On 2015/02/21 18:51:41, wesleylancel wrote: > https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h > File base/mac/sdk_forward_declarations.h (right): > > https://codereview.chromium.org/943453003/diff/40001/base/mac/sdk_forward_declarations.h#newcode289 > ...
5 years, 10 months ago (2015-02-23 21:28:06 UTC) #20
noms (inactive)
i'm just here with drive-by nits :) https://codereview.chromium.org/943453003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm File chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm (right): https://codereview.chromium.org/943453003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm#newcode163 chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm:163: if ([nameField ...
5 years, 10 months ago (2015-02-23 22:16:34 UTC) #21
wesleylancel
https://codereview.chromium.org/943453003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm File chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm (right): https://codereview.chromium.org/943453003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm#newcode163 chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm:163: if ([nameField respondsToSelector:@selector(setAllowsExpansionToolTips:)]) { On 2015/02/23 22:16:34, Monica Dinculescu ...
5 years, 10 months ago (2015-02-23 22:45:48 UTC) #22
groby-ooo-7-16
One last one... (Also, if you want to avoid formatting issues 'git cl format' does ...
5 years, 10 months ago (2015-02-24 00:37:06 UTC) #23
wesleylancel
https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1820 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1820: if (lroundf(textSize.width) > availableWidth) On 2015/02/24 00:37:06, groby wrote: ...
5 years, 10 months ago (2015-02-24 08:39:32 UTC) #24
wesleylancel
On 2015/02/24 08:39:32, wesleylancel wrote: > https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm > File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): > > https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1820 > ...
5 years, 10 months ago (2015-02-26 18:28:25 UTC) #25
groby-ooo-7-16
Sorry about the delay - was in class for the last week. Reviewing now.
5 years, 9 months ago (2015-02-27 22:57:12 UTC) #26
groby-ooo-7-16
https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1820 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1820: if (lroundf(textSize.width) > availableWidth) On 2015/02/24 08:39:31, wesleylancel wrote: ...
5 years, 9 months ago (2015-02-27 23:02:24 UTC) #27
Avi (use Gerrit)
https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode706 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:706: @{NSFontAttributeName: [profileNameTextField_ font]}]; Bad code style for the literal. ...
5 years, 9 months ago (2015-02-27 23:14:08 UTC) #29
wesleylancel
https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode706 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:706: @{NSFontAttributeName: [profileNameTextField_ font]}]; On 2015/02/27 23:14:07, Avi wrote: > ...
5 years, 9 months ago (2015-02-27 23:20:40 UTC) #30
Avi (use Gerrit)
https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode706 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:706: @{NSFontAttributeName: [profileNameTextField_ font]}]; On 2015/02/27 23:20:40, wesleylancel wrote: > ...
5 years, 9 months ago (2015-02-27 23:22:51 UTC) #31
wesleylancel
On 2015/02/27 23:22:51, Avi wrote: > https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm > File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): > > https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode706 > ...
5 years, 9 months ago (2015-02-27 23:24:48 UTC) #32
wesleylancel
On 2015/02/27 23:24:48, wesleylancel wrote: > On 2015/02/27 23:22:51, Avi wrote: > > > https://codereview.chromium.org/943453003/diff/100001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm ...
5 years, 9 months ago (2015-02-27 23:52:24 UTC) #33
Avi (use Gerrit)
On 2015/02/27 23:52:24, wesleylancel wrote: > On 2015/02/27 23:24:48, wesleylancel wrote: > > On 2015/02/27 ...
5 years, 9 months ago (2015-02-28 03:23:24 UTC) #34
wesleylancel
On 2015/02/28 03:23:24, Avi wrote: > On 2015/02/27 23:52:24, wesleylancel wrote: > > On 2015/02/27 ...
5 years, 9 months ago (2015-03-02 20:10:49 UTC) #35
groby-ooo-7-16
lgtm
5 years, 9 months ago (2015-03-02 20:49:36 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/943453003/120001
5 years, 9 months ago (2015-03-02 20:55:00 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-02 21:44:20 UTC) #39
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 21:45:10 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/30f4cc56a384a941fffe7de277c80c3088cce4e3
Cr-Commit-Position: refs/heads/master@{#318769}

Powered by Google App Engine
This is Rietveld 408576698