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

Issue 267253007: Use LoadURLWithParams in ChromeWebContentsDelegateAndroid (Closed)

Created:
6 years, 7 months ago by David Trainor- moved to gerrit
Modified:
6 years, 6 months ago
Reviewers:
Ted C, Charlie Reis, boliu
CC:
chromium-reviews
Visibility:
Public.

Description

Use LoadURLWithParams in ChromeWebContentsDelegateAndroid Build a LoadURLParams object from the OpenURLParams and properly set all parameters on that object when calling into NavigationController. This makes sure we set the correct state for the load. BUG=352083 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273865

Patch Set 1 #

Patch Set 2 : Cleaned up if statement #

Total comments: 4

Patch Set 3 : Fixed other NavigationController call sites for Android #

Total comments: 2

Patch Set 4 : Fixed comment #

Total comments: 2

Patch Set 5 : Updated CVC#loadUrl() to pass is_renderer_initiated #

Patch Set 6 : Rebased #

Messages

Total messages: 29 (0 generated)
David Trainor- moved to gerrit
ptal. I got most of this logic from Browser_navigator.cc: LoadURLInContents() which does something similar from ...
6 years, 7 months ago (2014-05-07 21:17:29 UTC) #1
Charlie Reis
Thanks for catching this! Is there a way to test that GetVisibleEntry() does the right ...
6 years, 7 months ago (2014-05-07 22:08:12 UTC) #2
David Trainor- moved to gerrit
On 2014/05/07 22:08:12, Charlie Reis wrote: > Thanks for catching this! Is there a way ...
6 years, 7 months ago (2014-05-07 22:43:24 UTC) #3
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode135 components/web_contents_delegate_android/web_contents_delegate_android.cc:135: source->GetController().LoadURLWithParams(load_params); On 2014/05/07 22:08:12, Charlie Reis wrote: > I'm ...
6 years, 7 months ago (2014-05-07 22:43:53 UTC) #4
Charlie Reis
https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode135 components/web_contents_delegate_android/web_contents_delegate_android.cc:135: source->GetController().LoadURLWithParams(load_params); On 2014/05/07 22:43:54, David Trainor wrote: > On ...
6 years, 7 months ago (2014-05-07 23:16:24 UTC) #5
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc File components/web_contents_delegate_android/web_contents_delegate_android.cc (right): https://chromiumcodereview.appspot.com/267253007/diff/20001/components/web_contents_delegate_android/web_contents_delegate_android.cc#newcode135 components/web_contents_delegate_android/web_contents_delegate_android.cc:135: source->GetController().LoadURLWithParams(load_params); On 2014/05/07 23:16:24, Charlie Reis (OOO May 17) ...
6 years, 7 months ago (2014-05-12 20:52:45 UTC) #6
David Trainor- moved to gerrit
Still working on how to test this upstream since we don't have a concept of ...
6 years, 7 months ago (2014-05-12 20:54:06 UTC) #7
David Trainor- moved to gerrit
On 2014/05/12 20:54:06, David Trainor wrote: > Still working on how to test this upstream ...
6 years, 7 months ago (2014-05-15 00:50:23 UTC) #8
Ted C
lgtm https://codereview.chromium.org/267253007/diff/40001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java File content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java (right): https://codereview.chromium.org/267253007/diff/40001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java#newcode364 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java:364: * @param rendererInitiated Whether or not this load ...
6 years, 7 months ago (2014-05-15 00:57:00 UTC) #9
Charlie Reis
On 2014/05/15 00:50:23, David Trainor wrote: > On 2014/05/12 20:54:06, David Trainor wrote: > > ...
6 years, 7 months ago (2014-05-15 01:07:17 UTC) #10
David Trainor- moved to gerrit
On 2014/05/15 01:07:17, Charlie Reis(OOO as of May 17) wrote: > On 2014/05/15 00:50:23, David ...
6 years, 7 months ago (2014-05-15 18:20:15 UTC) #11
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/267253007/diff/40001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java File content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java (right): https://chromiumcodereview.appspot.com/267253007/diff/40001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java#newcode364 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java:364: * @param rendererInitiated Whether or not this load was ...
6 years, 7 months ago (2014-05-15 18:22:14 UTC) #12
Charlie Reis
On 2014/05/15 18:20:15, David Trainor wrote: > On 2014/05/15 01:07:17, Charlie Reis(OOO as of May ...
6 years, 7 months ago (2014-05-15 18:37:17 UTC) #13
David Trainor- moved to gerrit
On 2014/05/15 18:37:17, Charlie Reis(OOO as of May 17) wrote: > On 2014/05/15 18:20:15, David ...
6 years, 7 months ago (2014-05-15 18:41:00 UTC) #14
Charlie Reis
On 2014/05/15 18:41:00, David Trainor wrote: > On 2014/05/15 18:37:17, Charlie Reis(OOO as of May ...
6 years, 7 months ago (2014-05-15 18:49:20 UTC) #15
David Trainor- moved to gerrit
Bo can I get an owners LGTM for android_webview? Thanks!
6 years, 7 months ago (2014-05-16 19:59:07 UTC) #16
boliu
One concern, but aw lgtm https://chromiumcodereview.appspot.com/267253007/diff/60001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java File content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java (right): https://chromiumcodereview.appspot.com/267253007/diff/60001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java#newcode366 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java:366: public void setIsRendererInitiated(boolean rendererInitiated) ...
6 years, 7 months ago (2014-05-16 20:06:39 UTC) #17
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/267253007/diff/60001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java File content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java (right): https://chromiumcodereview.appspot.com/267253007/diff/60001/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java#newcode366 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java:366: public void setIsRendererInitiated(boolean rendererInitiated) { On 2014/05/16 20:06:39, boliu ...
6 years, 7 months ago (2014-05-19 18:12:59 UTC) #18
David Trainor- moved to gerrit
The CQ bit was checked by dtrainor@chromium.org
6 years, 7 months ago (2014-05-20 17:42:08 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/267253007/80001
6 years, 7 months ago (2014-05-20 17:43:36 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 19:32:40 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 20:34:46 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/29057)
6 years, 7 months ago (2014-05-20 20:34:47 UTC) #23
David Trainor- moved to gerrit
The CQ bit was checked by dtrainor@chromium.org
6 years, 6 months ago (2014-05-29 20:55:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/267253007/100001
6 years, 6 months ago (2014-05-29 20:57:29 UTC) #25
David Trainor- moved to gerrit
The CQ bit was unchecked by dtrainor@chromium.org
6 years, 6 months ago (2014-05-30 00:31:02 UTC) #26
David Trainor- moved to gerrit
The CQ bit was checked by dtrainor@chromium.org
6 years, 6 months ago (2014-05-30 17:27:27 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/267253007/100001
6 years, 6 months ago (2014-05-30 17:31:46 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 17:44:33 UTC) #29
Message was sent while issue was closed.
Change committed as 273865

Powered by Google App Engine
This is Rietveld 408576698