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

Issue 880983006: GuestView: Show status bubbles in browser (Closed)

Created:
5 years, 10 months ago by Fady Samuel
Modified:
5 years, 10 months ago
Reviewers:
lazyboy, sky
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, Avi (use Gerrit), creis+watch_chromium.org, extensions-reviews_chromium.org, ajwong+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GuestView: Show status bubbles in browser For GuestView types in the browser, such as <webview> in WebUI and <extensionoptions> in WebUI, we would live status messages to appear in the browser. This CL plumbs that information out to the embedder. ContentsMouseEvent, LoadingStateChanged, and UpdateTargetURL are calls out to the content embedder that are used by Browser to update status indicators such as the spinner, and status text. This CL plumbs those calls out from the guest to the embedder. This is a bit racy because guest status and embedder status can interleave but that's OK because these status texts are transient and eventually they'll settle and disappear so there's no long lasting raciness of consequence. BUG=453216 TBR=lazyboy@chromium.org Committed: https://crrev.com/67ef1b05036e92918ed09e1409abb9ce0eccecad Cr-Commit-Position: refs/heads/master@{#314005}

Patch Set 1 #

Patch Set 2 : Fix ordering of methods #

Total comments: 2

Patch Set 3 : Only call ForEachGuest if a GuestViewManager exists #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -57 lines) Patch
M chrome/browser/ui/tab_contents/core_tab_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/core_tab_helper.cc View 1 2 3 chunks +98 lines, -56 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 3 chunks +28 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
Fady Samuel
+sky@ for core_tab_helper: Recurses into guests, if they exists on the page. +lazyboy@ for guest_view ...
5 years, 10 months ago (2015-01-29 21:44:53 UTC) #2
sky
https://codereview.chromium.org/880983006/diff/20001/chrome/browser/ui/tab_contents/core_tab_helper.cc File chrome/browser/ui/tab_contents/core_tab_helper.cc (right): https://codereview.chromium.org/880983006/diff/20001/chrome/browser/ui/tab_contents/core_tab_helper.cc#newcode94 chrome/browser/ui/tab_contents/core_tab_helper.cc:94: source, base::Bind(&CoreTabHelper::GetStatusTextForWebContents, This call (and 172ish) looks expensive. How ...
5 years, 10 months ago (2015-01-29 23:44:18 UTC) #3
Fady Samuel
https://codereview.chromium.org/880983006/diff/20001/chrome/browser/ui/tab_contents/core_tab_helper.cc File chrome/browser/ui/tab_contents/core_tab_helper.cc (right): https://codereview.chromium.org/880983006/diff/20001/chrome/browser/ui/tab_contents/core_tab_helper.cc#newcode94 chrome/browser/ui/tab_contents/core_tab_helper.cc:94: source, base::Bind(&CoreTabHelper::GetStatusTextForWebContents, On 2015/01/29 23:44:18, sky wrote: > This ...
5 years, 10 months ago (2015-01-30 05:43:56 UTC) #4
sky
I like only doing this work if necessary. So, ya, something to see if the ...
5 years, 10 months ago (2015-01-30 18:50:33 UTC) #5
sky
LGTM
5 years, 10 months ago (2015-01-30 19:18:26 UTC) #6
Fady Samuel
TBR'ing lazyboy@ who is currently on a plane and CQ'ing.
5 years, 10 months ago (2015-01-30 21:18:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880983006/40001
5 years, 10 months ago (2015-01-30 21:19:01 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-01-30 22:09:54 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 22:10:57 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/67ef1b05036e92918ed09e1409abb9ce0eccecad
Cr-Commit-Position: refs/heads/master@{#314005}

Powered by Google App Engine
This is Rietveld 408576698