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

Issue 2006423002: Task Manager: Make double-clicking on an extension do something useful. (Closed)

Created:
4 years, 7 months ago by ncarter (slow)
Modified:
4 years, 7 months ago
Reviewers:
afakhry, brucedawson
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@tm_selection
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Task Manager: Make double-clicking on an extension do something useful. Extension background pages, etc, don't implement anything for WebContentsDelegate::ActivateContents; as a result, double-clicking on them does nothing. This change makes it so that we open the chrome-extensions:// page instead, highlighting the details for the particular extension. Make double-clicking on a subframe row have the same behavior as double-clicking on the main row for the tab. BUG=614529 Committed: https://crrev.com/e578802016df8e28e20aab78561446f2697fab68 Cr-Commit-Position: refs/heads/master@{#395990}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Lazily look up the extension. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -4 lines) Patch
M chrome/browser/task_management/providers/web_contents/extension_task.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/extension_task.cc View 1 2 chunks +31 lines, -0 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/subframe_task.h View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/task_management/providers/web_contents/subframe_task.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc View 1 chunk +3 lines, -1 line 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (6 generated)
ncarter (slow)
Ahmed, Bruce: PTAL
4 years, 7 months ago (2016-05-25 00:32:56 UTC) #2
brucedawson
On 2016/05/25 00:32:56, ncarter wrote: > Ahmed, Bruce: PTAL For maximum consistency it seems that ...
4 years, 7 months ago (2016-05-25 00:59:12 UTC) #5
afakhry
https://codereview.chromium.org/2006423002/diff/1/chrome/browser/task_management/providers/web_contents/extension_task.cc File chrome/browser/task_management/providers/web_contents/extension_task.cc (right): https://codereview.chromium.org/2006423002/diff/1/chrome/browser/task_management/providers/web_contents/extension_task.cc#newcode49 chrome/browser/task_management/providers/web_contents/extension_task.cc:49: extension_id_(extension->id()) { I applied this locally and flashed it ...
4 years, 7 months ago (2016-05-25 18:50:59 UTC) #6
ncarter (slow)
On 2016/05/25 00:59:12, brucedawson wrote: > On 2016/05/25 00:32:56, ncarter wrote: > > Ahmed, Bruce: ...
4 years, 7 months ago (2016-05-25 18:57:33 UTC) #7
ncarter (slow)
please have another look https://codereview.chromium.org/2006423002/diff/1/chrome/browser/task_management/providers/web_contents/extension_task.cc File chrome/browser/task_management/providers/web_contents/extension_task.cc (right): https://codereview.chromium.org/2006423002/diff/1/chrome/browser/task_management/providers/web_contents/extension_task.cc#newcode49 chrome/browser/task_management/providers/web_contents/extension_task.cc:49: extension_id_(extension->id()) { On 2016/05/25 18:50:59, ...
4 years, 7 months ago (2016-05-25 19:59:09 UTC) #8
afakhry
lgtm with one question: https://codereview.chromium.org/2006423002/diff/20001/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc File chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc (right): https://codereview.chromium.org/2006423002/diff/20001/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc#newcode235 chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc:235: GetTaskForFrame(web_contents()->GetMainFrame())); I hope the task ...
4 years, 7 months ago (2016-05-25 20:07:09 UTC) #9
ncarter (slow)
https://codereview.chromium.org/2006423002/diff/20001/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc File chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc (right): https://codereview.chromium.org/2006423002/diff/20001/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc#newcode235 chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc:235: GetTaskForFrame(web_contents()->GetMainFrame())); On 2016/05/25 20:07:09, afakhry wrote: > I hope ...
4 years, 7 months ago (2016-05-25 20:34:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006423002/20001
4 years, 7 months ago (2016-05-25 20:35:35 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-25 21:29:54 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 21:31:39 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e578802016df8e28e20aab78561446f2697fab68
Cr-Commit-Position: refs/heads/master@{#395990}

Powered by Google App Engine
This is Rietveld 408576698