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

Issue 398603002: athena: Handle WebContents created for new windows and create activities for these. (Closed)

Created:
6 years, 5 months ago by flackr
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Mr4D (OOO till 08-26)
Project:
chromium
Visibility:
Public.

Description

Handle WebContents created for new windows and create activities for these. BUG=391473 TEST=Follow a link from Gmail or hold shift when clicking a link. A new activity following the link is created. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285049

Patch Set 1 : . #

Total comments: 9

Patch Set 2 : Address review comments. #

Total comments: 3

Patch Set 3 : Add WebView::SwapWebContents to allow AthenaWebView to replace owned WebContents. #

Total comments: 2

Patch Set 4 : Only set delegate if actual web contents was passed to SwapWebContents. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -18 lines) Patch
M athena/content/web_activity.h View 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/web_activity.cc View 1 2 5 chunks +74 lines, -18 lines 0 comments Download
M ui/views/controls/webview/webview.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/controls/webview/webview.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
flackr
Hey, this handles following links in a new "window/tab" by starting a new activity for ...
6 years, 5 months ago (2014-07-15 21:41:05 UTC) #1
oshima
https://codereview.chromium.org/398603002/diff/40001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/398603002/diff/40001/athena/content/web_activity.cc#newcode135 athena/content/web_activity.cc:135: web_contents->SetDelegate(this); On 2014/07/15 21:41:05, flackr wrote: > FYI: The ...
6 years, 5 months ago (2014-07-16 16:51:08 UTC) #2
flackr
https://codereview.chromium.org/398603002/diff/40001/athena/content/web_activity.cc File athena/content/web_activity.cc (right): https://codereview.chromium.org/398603002/diff/40001/athena/content/web_activity.cc#newcode135 athena/content/web_activity.cc:135: web_contents->SetDelegate(this); On 2014/07/16 16:51:08, oshima (OOO) until July 21) ...
6 years, 5 months ago (2014-07-18 18:15:08 UTC) #3
flackr
+ben for web_view.cc comment. CC +miu regarding removed DCHECK in EmbedsFullscreenWidget.
6 years, 5 months ago (2014-07-18 18:16:02 UTC) #4
miu
https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc File ui/views/controls/webview/webview.cc (right): https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc#newcode230 ui/views/controls/webview/webview.cc:230: DCHECK(wc_owner_.get()); On 2014/07/18 18:15:08, flackr wrote: > Do we ...
6 years, 5 months ago (2014-07-22 00:18:23 UTC) #5
flackr
https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc File ui/views/controls/webview/webview.cc (right): https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc#newcode230 ui/views/controls/webview/webview.cc:230: DCHECK(wc_owner_.get()); On 2014/07/22 00:18:22, miu wrote: > On 2014/07/18 ...
6 years, 5 months ago (2014-07-22 00:27:37 UTC) #6
miu
On 2014/07/22 00:27:37, flackr wrote: > https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc > File ui/views/controls/webview/webview.cc (right): > > https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc#newcode230 > ...
6 years, 5 months ago (2014-07-22 01:11:29 UTC) #7
flackr
On 2014/07/22 01:11:29, miu wrote: > On 2014/07/22 00:27:37, flackr wrote: > > > https://codereview.chromium.org/398603002/diff/60001/ui/views/controls/webview/webview.cc ...
6 years, 5 months ago (2014-07-22 13:41:40 UTC) #8
oshima
nice! athena/ lgtm
6 years, 5 months ago (2014-07-22 17:58:54 UTC) #9
miu
WebView changes lgtm, but please address this: https://codereview.chromium.org/398603002/diff/80001/ui/views/controls/webview/webview.cc File ui/views/controls/webview/webview.cc (right): https://codereview.chromium.org/398603002/diff/80001/ui/views/controls/webview/webview.cc#newcode131 ui/views/controls/webview/webview.cc:131: wc_owner_->SetDelegate(this); This ...
6 years, 5 months ago (2014-07-22 19:27:53 UTC) #10
flackr
https://codereview.chromium.org/398603002/diff/80001/ui/views/controls/webview/webview.cc File ui/views/controls/webview/webview.cc (right): https://codereview.chromium.org/398603002/diff/80001/ui/views/controls/webview/webview.cc#newcode131 ui/views/controls/webview/webview.cc:131: wc_owner_->SetDelegate(this); On 2014/07/22 19:27:53, miu wrote: > This should ...
6 years, 5 months ago (2014-07-22 20:01:33 UTC) #11
Ben Goodger (Google)
webview lgtm
6 years, 5 months ago (2014-07-23 16:06:58 UTC) #12
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 5 months ago (2014-07-23 16:32:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/398603002/100001
6 years, 5 months ago (2014-07-23 16:33:24 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 22:00:21 UTC) #15
Message was sent while issue was closed.
Change committed as 285049

Powered by Google App Engine
This is Rietveld 408576698