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

Issue 23576007: FindBrowserWithWebContents now recognises DevTool's embedded WebContent (Closed)

Created:
7 years, 3 months ago by vabr (Chromium)
Modified:
7 years, 3 months ago
Reviewers:
yoshiki, pfeldman
CC:
chromium-reviews, yoshiki+watch_chromium.org, Peter Kasting
Visibility:
Public.

Description

FindBrowserWithWebContents now recognises DevTool's embedded WebContent If the DevTools window is invoked in-tab, the task manager refused to add it to the list of displayed processes, because there was no tab owning this WebContent. This CL improves the check in FindBrowserWithWebContents to recognise the DevTool's WebContent as valid in this case. To avoid crashing in TabContentsResource::GetIcon(), a FaviconTabHelper::CreateForWebContents() call had to be added. BUG=237841 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220549

Patch Set 1 #

Patch Set 2 : Browser test added #

Total comments: 3

Patch Set 3 : Use IsDevToolsWindow to check for DevTools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/browser/task_manager/tab_contents_resource_provider.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/task_manager/task_manager_browsertest.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vabr (Chromium)
Hi all, pkasting@chromium.org: Please review the change in chrome/browser/ui/browser_finder.cc. yoshiki@chromium.org: Please review the fix and ...
7 years, 3 months ago (2013-08-29 10:38:46 UTC) #1
pfeldman
https://codereview.chromium.org/23576007/diff/8001/chrome/browser/ui/browser_finder.cc File chrome/browser/ui/browser_finder.cc (right): https://codereview.chromium.org/23576007/diff/8001/chrome/browser/ui/browser_finder.cc#newcode169 chrome/browser/ui/browser_finder.cc:169: Browser* FindBrowserWithWebContents(const WebContents* web_contents) { This method is used ...
7 years, 3 months ago (2013-08-29 11:57:36 UTC) #2
vabr (Chromium)
@pfeldman: Does this look better now? @pkasting: Please feel free to ignore this, the file ...
7 years, 3 months ago (2013-08-29 12:51:09 UTC) #3
pfeldman
> @pfeldman: Does this look better now? looks good! thanks!
7 years, 3 months ago (2013-08-29 13:15:51 UTC) #4
yoshiki
LGTM
7 years, 3 months ago (2013-08-30 01:30:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/23576007/18001
7 years, 3 months ago (2013-08-30 06:25:00 UTC) #6
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 10:30:12 UTC) #7
Message was sent while issue was closed.
Change committed as 220549

Powered by Google App Engine
This is Rietveld 408576698