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

Issue 1191453002: Implement "open link as user" context menu entry (Closed)

Created:
5 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 5 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

Implement "open link as user" context menu entry The menu entry is only present if multiple profiles are defined, and only displays those that currently have open windows. If only a single other profile has an open window, no sub-menu is created BUG=103073 R=pkasting@chromium.org TEST=ContextMenuBrowserTest.OpenLinkInProfile* Committed: https://crrev.com/3917ff9e77c4da3d2d56398cebdc52312b2b63d3 Cr-Commit-Position: refs/heads/master@{#356023}

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Total comments: 35

Patch Set 4 : updates #

Total comments: 4

Patch Set 5 : updates #

Total comments: 2

Patch Set 6 : updates #

Patch Set 7 : rebase & update to match mocks #

Patch Set 8 : updates #

Total comments: 13

Patch Set 9 : updates #

Patch Set 10 : updates #

Total comments: 4

Patch Set 11 : updates #

Patch Set 12 : updates #

Patch Set 13 : updates #

Patch Set 14 : add missing histogram enuns #

Patch Set 15 : update with feedback from ui review #

Patch Set 16 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -20 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_info_interface.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_metrics.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -9 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 14 chunks +131 lines, -6 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +112 lines, -0 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (3 generated)
jochen (gone - plz use gerrit)
5 years, 6 months ago (2015-06-15 12:07:16 UTC) #1
Peter Kasting
https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode746 chrome/browser/renderer_context_menu/render_view_context_menu.cc:746: // g_browser_process->profile_manager() is NULL during unit tests. Is null, ...
5 years, 6 months ago (2015-06-15 23:45:15 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode746 chrome/browser/renderer_context_menu/render_view_context_menu.cc:746: // g_browser_process->profile_manager() is NULL during unit tests. On 2015/06/15 ...
5 years, 6 months ago (2015-06-16 08:00:14 UTC) #3
Peter Kasting
https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode746 chrome/browser/renderer_context_menu/render_view_context_menu.cc:746: // g_browser_process->profile_manager() is NULL during unit tests. On 2015/06/16 ...
5 years, 6 months ago (2015-06-16 08:20:24 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode746 chrome/browser/renderer_context_menu/render_view_context_menu.cc:746: // g_browser_process->profile_manager() is NULL during unit tests. On 2015/06/16 ...
5 years, 6 months ago (2015-06-16 09:01:50 UTC) #5
Peter Kasting
LGTM on implementation, obviously UI leads will have to approve on principle https://codereview.chromium.org/1191453002/diff/80001/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc File chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ...
5 years, 6 months ago (2015-06-16 22:01:48 UTC) #6
jochen (gone - plz use gerrit)
On 2015/06/16 at 22:01:48, pkasting wrote: > LGTM on implementation, obviously UI leads will have ...
5 years, 6 months ago (2015-06-17 07:11:31 UTC) #7
jochen (gone - plz use gerrit)
+isherman for histograms.xml Peter, the CL changed quite a bit since you've reviewed it, ptal
5 years, 2 months ago (2015-10-13 17:52:17 UTC) #9
Peter Kasting
https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/profiles/profile_metrics.h#newcode72 chrome/browser/profiles/profile_metrics.h:72: SWITCH_PROFILE_UNLOCK, // User switches to lockd profile via User ...
5 years, 2 months ago (2015-10-13 18:59:00 UTC) #10
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode872 chrome/browser/renderer_context_menu/render_view_context_menu.cc:872: (target_profiles.size() == 2 && all_target_profiles.size() == 2)) { On ...
5 years, 2 months ago (2015-10-13 19:07:30 UTC) #11
Ilya Sherman
histograms.xml lgtm
5 years, 2 months ago (2015-10-13 19:07:54 UTC) #12
Peter Kasting
https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode872 chrome/browser/renderer_context_menu/render_view_context_menu.cc:872: (target_profiles.size() == 2 && all_target_profiles.size() == 2)) { On ...
5 years, 2 months ago (2015-10-13 19:16:39 UTC) #13
jochen (gone - plz use gerrit)
On 2015/10/13 at 19:16:39, pkasting wrote: > https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc > File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): > > https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode872 ...
5 years, 2 months ago (2015-10-13 19:31:35 UTC) #14
jochen (gone - plz use gerrit)
meanwhile, I addressed all your other comments https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/1191453002/diff/140001/chrome/browser/profiles/profile_metrics.h#newcode72 chrome/browser/profiles/profile_metrics.h:72: SWITCH_PROFILE_UNLOCK, // ...
5 years, 2 months ago (2015-10-13 19:50:23 UTC) #15
jochen (gone - plz use gerrit)
actually, after reading the slides again, I think you're right that it means to always ...
5 years, 2 months ago (2015-10-13 19:53:08 UTC) #16
jochen (gone - plz use gerrit)
updated to show all profiles as soon as more than one profile is active. ptal
5 years, 2 months ago (2015-10-13 20:03:13 UTC) #17
Peter Kasting
LGTM https://codereview.chromium.org/1191453002/diff/180001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/180001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode873 chrome/browser/renderer_context_menu/render_view_context_menu.cc:873: size_t profile_index = target_profiles.at(0); Nit: target_profiles[0] YOu can ...
5 years, 2 months ago (2015-10-13 20:23:54 UTC) #18
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1191453002/diff/180001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1191453002/diff/180001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode873 chrome/browser/renderer_context_menu/render_view_context_menu.cc:873: size_t profile_index = target_profiles.at(0); On 2015/10/13 at 20:23:53, Peter ...
5 years, 2 months ago (2015-10-20 14:07:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191453002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1191453002/300001
5 years, 1 month ago (2015-10-26 08:41:21 UTC) #22
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 1 month ago (2015-10-26 11:19:38 UTC) #23
commit-bot: I haz the power
Patchset 16 (id:??) landed as https://crrev.com/3917ff9e77c4da3d2d56398cebdc52312b2b63d3 Cr-Commit-Position: refs/heads/master@{#356023}
5 years, 1 month ago (2015-10-26 11:20:31 UTC) #24
marc.herbert
We can't access BUG=103073, is this on purpose?
3 years, 5 months ago (2017-07-05 18:38:49 UTC) #25
jochen (gone - plz use gerrit)
On 2017/07/05 at 18:38:49, marc.herbert wrote: > We can't access BUG=103073, is this on purpose? ...
3 years, 5 months ago (2017-07-05 18:40:35 UTC) #26
marc.herbert
On 2017/07/05 18:40:35, jochen wrote: > do you need some information? This feature is awesome ...
3 years, 5 months ago (2017-07-05 18:49:43 UTC) #27
jochen (gone - plz use gerrit)
On 2017/07/05 at 18:49:43, marc.herbert wrote: > On 2017/07/05 18:40:35, jochen wrote: > > do ...
3 years, 5 months ago (2017-07-05 18:50:59 UTC) #28
Peter Kasting
On 2017/07/05 18:49:43, marc.herbert wrote: > On 2017/07/05 18:40:35, jochen wrote: > > do you ...
3 years, 5 months ago (2017-07-05 19:17:56 UTC) #29
marc.herbert
3 years, 5 months ago (2017-07-05 23:07:32 UTC) #30
Message was sent while issue was closed.
Filed as https://bugs.chromium.org/p/chromium/issues/detail?id=739546

Powered by Google App Engine
This is Rietveld 408576698