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

Issue 1182493009: Wrench menu reorg phase 2 (Closed)

Created:
5 years, 6 months ago by edwardjung
Modified:
5 years, 1 month 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

Wrench menu reorg phase 2 + Move History into the recent tabs submenu. Renamed submenu to 'History and Recent tabs' + Move 'About Chrome' under the Help submenu. Renamed to 'Help and About' + Moved 'Saved page as' under 'More tools'. + Removed the 'View source', 'JS Console' and 'Inspect devices' menu items. Note a link to 'Inspect devices' will be surfaced in dev tools. BUG=432561 Committed: https://crrev.com/6d69201744d8ddeb6f8a5bac956015aadd084d3f Cr-Commit-Position: refs/heads/master@{#336113}

Patch Set 1 #

Patch Set 2 : Update RecentTabsSubMenuModel unit tests #

Patch Set 3 : Fix WrenchMenuModel unit test #

Patch Set 4 : Fix Mac wrenchmenu unit test #

Patch Set 5 : Mac unit test fix #

Total comments: 1

Patch Set 6 : Fix incorrect title case expr causing wrong strings to be displayed on OSX #

Total comments: 40

Patch Set 7 : Address review comments #

Patch Set 8 : #

Patch Set 9 : Address unit test comment #

Patch Set 10 : Reinstate 'About' menu item to CrOS #

Total comments: 10

Patch Set 11 : Fix nits #

Patch Set 12 : Fix merge error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -182 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -12 lines 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +27 lines, -14 lines 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +149 lines, -111 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +20 lines, -33 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (8 generated)
edwardjung
Hi, Please take a look at this wrench menu update: rsesek - chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm pkasting - ...
5 years, 6 months ago (2015-06-17 14:55:52 UTC) #2
Robert Sesek
cocoa/ LGTM
5 years, 6 months ago (2015-06-17 16:37:36 UTC) #3
Peter Kasting
https://codereview.chromium.org/1182493009/diff/100001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1182493009/diff/100001/chrome/app/generated_resources.grd#newcode1357 chrome/app/generated_resources.grd:1357: + More Too&ls Lowercase T https://codereview.chromium.org/1182493009/diff/100001/chrome/app/generated_resources.grd#newcode1580 chrome/app/generated_resources.grd:1580: + H&elp ...
5 years, 6 months ago (2015-06-17 22:59:43 UTC) #4
edwardjung
Thanks for the quick review Peter. Updated to address your comments. https://codereview.chromium.org/1182493009/diff/100001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): ...
5 years, 6 months ago (2015-06-18 16:52:06 UTC) #5
Peter Kasting
https://codereview.chromium.org/1182493009/diff/100001/chrome/browser/ui/toolbar/wrench_menu_model.cc File chrome/browser/ui/toolbar/wrench_menu_model.cc (left): https://codereview.chromium.org/1182493009/diff/100001/chrome/browser/ui/toolbar/wrench_menu_model.cc#oldcode318 chrome/browser/ui/toolbar/wrench_menu_model.cc:318: AddItemWithStringId(IDC_VIEW_SOURCE, IDS_VIEW_SOURCE); On 2015/06/18 16:52:05, edwardjung wrote: > > ...
5 years, 6 months ago (2015-06-18 17:16:58 UTC) #6
edwardjung
ainslie@, Peter has some concerns regarding the removal of the 'view source' menu item. I ...
5 years, 6 months ago (2015-06-18 17:37:34 UTC) #7
edwardjung
https://codereview.chromium.org/1182493009/diff/100001/chrome/browser/ui/toolbar/wrench_menu_model.cc File chrome/browser/ui/toolbar/wrench_menu_model.cc (left): https://codereview.chromium.org/1182493009/diff/100001/chrome/browser/ui/toolbar/wrench_menu_model.cc#oldcode318 chrome/browser/ui/toolbar/wrench_menu_model.cc:318: AddItemWithStringId(IDC_VIEW_SOURCE, IDS_VIEW_SOURCE); On 2015/06/18 17:16:58, Peter Kasting wrote: > ...
5 years, 6 months ago (2015-06-18 17:42:27 UTC) #8
ainslie
Hmm. - Items that receive so few clicks (0.067% of menu clicks) don't belong in ...
5 years, 6 months ago (2015-06-18 23:34:44 UTC) #9
Peter Kasting
On 2015/06/18 23:34:44, ainslie wrote: > Hmm. > > - Items that receive so few ...
5 years, 6 months ago (2015-06-18 23:44:28 UTC) #10
ainslie
I'd like to stick with the original plan that was approved by UI-Review back in ...
5 years, 6 months ago (2015-06-19 13:39:44 UTC) #11
Peter Kasting
On 2015/06/19 13:39:44, ainslie wrote: > I'd like to stick with the original plan that ...
5 years, 6 months ago (2015-06-19 18:50:47 UTC) #12
odean1
Hey Peter - I know that the process of simplification is going to reduce the ...
5 years, 6 months ago (2015-06-22 17:48:46 UTC) #13
Peter Kasting
LGTM https://codereview.chromium.org/1182493009/diff/180001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (left): https://codereview.chromium.org/1182493009/diff/180001/chrome/app/generated_resources.grd#oldcode1620 chrome/app/generated_resources.grd:1620: <message name="IDS_HELP_MENU" desc="The text label of the Help ...
5 years, 6 months ago (2015-06-22 23:14:24 UTC) #14
edwardjung
Thanks again for reviewing Peter and bearing with us with regard the View source. I ...
5 years, 6 months ago (2015-06-24 12:41:59 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182493009/200001
5 years, 6 months ago (2015-06-24 12:42:33 UTC) #18
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years, 6 months ago (2015-06-24 12:44:42 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182493009/220001
5 years, 6 months ago (2015-06-24 13:56:43 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-24 13:59:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182493009/220001
5 years, 6 months ago (2015-06-25 10:04:28 UTC) #27
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 6 months ago (2015-06-25 10:11:28 UTC) #28
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/6d69201744d8ddeb6f8a5bac956015aadd084d3f Cr-Commit-Position: refs/heads/master@{#336113}
5 years, 6 months ago (2015-06-25 10:12:25 UTC) #29
debra_evans00
On 2015/06/18 17:37:34, edwardjung wrote: > ainslie@, Peter has some concerns regarding the removal of ...
5 years, 2 months ago (2015-10-06 17:53:25 UTC) #30
markgoodge1
On 2015/10/06 17:53:25, debra_evans00 wrote: > View Source was a quick and easy to use ...
5 years, 2 months ago (2015-10-24 21:19:41 UTC) #31
edwardjung
5 years, 1 month ago (2015-10-26 15:19:30 UTC) #32
Message was sent while issue was closed.
> I appreciate it's also still available via the context menu, but this can be
> disabled via Javascript. In fact, one of the most common use cases of the menu
> item is when the context menu has been disabled.

> I'd really like to see this back. Even as a developer, it's a much quicker and
> simpler way of looking at the source of a page than Developer Tools. Losing
this
> functionality for the sake of one line saved in a menu really doesn't seem
like
> a sensible decision.

Mark, thanks for the feedback. 

I don't have metrics but assume that it's a relatively small number of sites
that actively disable context clicking. If they do you can use the shortcut
ctrl+alt+U / cmd+alt+U to get to the view source page if the page has disabled
the context menu. This also has the bonus of being quicker than any menu.

On OSX and Linux the View Source item is still available under View > Developer
in the OS level menu.

Powered by Google App Engine
This is Rietveld 408576698