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

Issue 368983004: Implemented HandlePopupNavigation from tab_android. (Closed)

Created:
6 years, 5 months ago by Jitu( very slow this week)
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implemented HandlePopupNavigation from tab_android. This patch handled opening of already blocked popups, here it creates the webcontents and load the url in the webcontents and invokes AddNewContents() of ChromeWebContentsDelegateAndroid class so that it will notify the application to add a new tab. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284015

Patch Set 1 #

Total comments: 6

Patch Set 2 : Formatted the patch #

Total comments: 1

Patch Set 3 : Formatted the patch #

Total comments: 5

Patch Set 4 : Exposed the api to convert NavigateParam to loadurlparam #

Total comments: 4

Patch Set 5 : Move api to correct place #

Patch Set 6 : Rebase the patch #

Patch Set 7 : Remove "BUG=" from commit msg #

Total comments: 10

Patch Set 8 : Fixed review comments #

Total comments: 4

Patch Set 9 : Handle dispostion type CURRENT_TAB #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -1 line) Patch
M chrome/browser/android/chrome_web_contents_delegate_android.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 4 5 6 7 8 4 chunks +84 lines, -1 line 0 comments Download

Messages

Total messages: 43 (0 generated)
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-04 08:45:37 UTC) #1
Bernhard Bauer
I have to admit, I don't really know why things are the way they currently ...
6 years, 5 months ago (2014-07-04 14:06:29 UTC) #2
Jitu( very slow this week)
Fixed the review comments. PTAL https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.h File chrome/browser/android/tab_android.h (right): https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.h#newcode150 chrome/browser/android/tab_android.h:150: content::WebContents* CreateTargetContents(const chrome::NavigateParams& params, ...
6 years, 5 months ago (2014-07-04 16:00:52 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.cc#newcode184 chrome/browser/android/tab_android.cc:184: params->source_contents, On 2014/07/04 14:06:29, Bernhard Bauer wrote: > Fix ...
6 years, 5 months ago (2014-07-04 16:46:20 UTC) #4
Jitu( very slow this week)
On 2014/07/04 16:46:20, Bernhard Bauer wrote: > https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.cc > File chrome/browser/android/tab_android.cc (right): > > https://codereview.chromium.org/368983004/diff/1/chrome/browser/android/tab_android.cc#newcode184 ...
6 years, 5 months ago (2014-07-07 09:21:36 UTC) #5
Bernhard Bauer
LGTM, but I would like one of the other reviewers to sanity-check (see my initial ...
6 years, 5 months ago (2014-07-07 09:29:07 UTC) #6
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/368983004/diff/40001/chrome/browser/android/chrome_web_contents_delegate_android.cc File chrome/browser/android/chrome_web_contents_delegate_android.cc (right): https://chromiumcodereview.appspot.com/368983004/diff/40001/chrome/browser/android/chrome_web_contents_delegate_android.cc#newcode326 chrome/browser/android/chrome_web_contents_delegate_android.cc:326: if (was_blocked) Thanks for catching this! :) https://chromiumcodereview.appspot.com/368983004/diff/40001/chrome/browser/android/tab_android.cc File ...
6 years, 5 months ago (2014-07-07 18:19:53 UTC) #7
Jitu( very slow this week)
PTAL... https://codereview.chromium.org/368983004/diff/40001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/40001/chrome/browser/android/tab_android.cc#newcode81 chrome/browser/android/tab_android.cc:81: void LoadURLInContents(content::WebContents* target_contents, @David, When i have uploaded ...
6 years, 5 months ago (2014-07-10 14:00:18 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/368983004/diff/60001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/60001/chrome/browser/android/tab_android.cc#newcode83 chrome/browser/android/tab_android.cc:83: void TabAndroid::MakeLoadURLParam( Please move this method to a position ...
6 years, 5 months ago (2014-07-10 18:39:30 UTC) #9
Jitu( very slow this week)
PTAL https://codereview.chromium.org/368983004/diff/60001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/60001/chrome/browser/android/tab_android.cc#newcode83 chrome/browser/android/tab_android.cc:83: void TabAndroid::MakeLoadURLParam( On 2014/07/10 18:39:30, Bernhard Bauer wrote: ...
6 years, 5 months ago (2014-07-11 06:19:14 UTC) #10
Bernhard Bauer
lgtm
6 years, 5 months ago (2014-07-11 10:52:30 UTC) #11
Jitu( very slow this week)
On 2014/07/11 10:52:30, Bernhard Bauer wrote: > lgtm Thanks
6 years, 5 months ago (2014-07-11 10:53:23 UTC) #12
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 5 months ago (2014-07-11 10:53:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/368983004/80001
6 years, 5 months ago (2014-07-11 10:54:07 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 11:37:41 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 11:39:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/27650) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/27497)
6 years, 5 months ago (2014-07-11 11:39:06 UTC) #17
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 5 months ago (2014-07-11 12:27:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/368983004/80001
6 years, 5 months ago (2014-07-11 12:28:35 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 12:39:29 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 12:40:59 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/169444) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/27661) mac_gpu ...
6 years, 5 months ago (2014-07-11 12:41:00 UTC) #22
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 5 months ago (2014-07-11 14:06:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/368983004/100001
6 years, 5 months ago (2014-07-11 14:07:21 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 17:54:36 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 17:57:57 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/79439)
6 years, 5 months ago (2014-07-11 17:57:58 UTC) #27
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 5 months ago (2014-07-12 01:31:17 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/368983004/120001
6 years, 5 months ago (2014-07-12 01:33:15 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-12 04:43:08 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-12 04:46:18 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/79576)
6 years, 5 months ago (2014-07-12 04:46:19 UTC) #32
Jitu( very slow this week)
On 2014/07/12 04:46:19, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 5 months ago (2014-07-15 04:15:40 UTC) #33
Bernhard Bauer
On 2014/07/15 04:15:40, Jitu wrote: > On 2014/07/12 04:46:19, I haz the power (commit-bot) wrote: ...
6 years, 5 months ago (2014-07-15 10:42:15 UTC) #34
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/368983004/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://chromiumcodereview.appspot.com/368983004/diff/120001/chrome/browser/android/tab_android.cc#newcode61 chrome/browser/android/tab_android.cc:61: params.initiating_profile, Is this the right profile? What if we're ...
6 years, 5 months ago (2014-07-15 20:34:35 UTC) #35
David Trainor- moved to gerrit
On 2014/07/15 20:34:35, David Trainor wrote: > https://chromiumcodereview.appspot.com/368983004/diff/120001/chrome/browser/android/tab_android.cc > File chrome/browser/android/tab_android.cc (right): > > https://chromiumcodereview.appspot.com/368983004/diff/120001/chrome/browser/android/tab_android.cc#newcode61 ...
6 years, 5 months ago (2014-07-15 20:34:58 UTC) #36
Jitu( very slow this week)
PTAL... https://codereview.chromium.org/368983004/diff/120001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/120001/chrome/browser/android/tab_android.cc#newcode61 chrome/browser/android/tab_android.cc:61: params.initiating_profile, On 2014/07/15 20:34:35, David Trainor wrote: > ...
6 years, 5 months ago (2014-07-16 14:17:49 UTC) #37
David Trainor- moved to gerrit
I'm okay with this, but I just remembered that Yusuf might be relying on the ...
6 years, 5 months ago (2014-07-16 15:29:24 UTC) #38
Jitu( very slow this week)
Changes done as per suggested. PTAL https://codereview.chromium.org/368983004/diff/140001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/368983004/diff/140001/chrome/browser/android/tab_android.cc#newcode207 chrome/browser/android/tab_android.cc:207: if (params->disposition != ...
6 years, 5 months ago (2014-07-17 13:26:03 UTC) #39
David Trainor- moved to gerrit
lgtm thanks!!
6 years, 5 months ago (2014-07-17 17:39:05 UTC) #40
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 5 months ago (2014-07-18 02:02:42 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/368983004/160001
6 years, 5 months ago (2014-07-18 02:03:56 UTC) #42
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 05:51:52 UTC) #43
Message was sent while issue was closed.
Change committed as 284015

Powered by Google App Engine
This is Rietveld 408576698