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

Issue 11187032: Handle resubmission of HTTP Posts. (Closed)

Created:
8 years, 2 months ago by sgurun-gerrit only
Modified:
8 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Handle resubmission of HTTP Posts. Implement functionality to handle resubmission of forms in Webview. BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164014

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : call Reload in correct thread #

Total comments: 12

Patch Set 5 : addressed code review #

Total comments: 10

Patch Set 6 : joths nits #

Total comments: 6

Patch Set 7 : final nits #

Total comments: 8

Patch Set 8 : some more indentation #

Patch Set 9 : fix the dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -1 line) Patch
M android_webview/java/src/org/chromium/android_webview/AwContentsClient.java View 1 2 3 4 5 6 7 4 chunks +35 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidWebViewTestBase.java View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java View 1 2 3 4 5 6 7 1 chunk +127 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/java/src/org/chromium/chrome/browser/component/web_contents_delegate_android/WebContentsDelegateAndroid.java View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
sgurun-gerrit only
I noticed that there is some subtle problem related to how we create AwContentsClient in ...
8 years, 2 months ago (2012-10-17 17:04:12 UTC) #1
sgurun-gerrit only
This is not ready yet -I remember there were a few things to be done. ...
8 years, 2 months ago (2012-10-17 18:01:46 UTC) #2
sgurun-gerrit only
On 2012/10/17 18:01:46, sgurun wrote: > This is not ready yet -I remember there were ...
8 years, 2 months ago (2012-10-17 18:31:21 UTC) #3
joth
Excellent first patch! https://codereview.chromium.org/11187032/diff/3001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/3001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode50 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:50: private final EventHandler mHandler = new ...
8 years, 2 months ago (2012-10-17 20:35:53 UTC) #4
sgurun-gerrit only
thanks for quick review. https://codereview.chromium.org/11187032/diff/3001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/3001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode50 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:50: private final EventHandler mHandler = ...
8 years, 2 months ago (2012-10-17 22:08:17 UTC) #5
mkosiba (inactive)
https://codereview.chromium.org/11187032/diff/5002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/5002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode63 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:63: mContentViewCore.cancelPendingReload(); why do these need to go through contentViewCore? ...
8 years, 2 months ago (2012-10-18 09:26:41 UTC) #6
joth
On 18 October 2012 02:26, <mkosiba@chromium.org> wrote: > > https://codereview.chromium.**org/11187032/diff/5002/** > android_webview/java/src/org/**chromium/android_webview/** > AwContentsClient.java<https://codereview.chromium.org/11187032/diff/5002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java> > ...
8 years, 2 months ago (2012-10-18 18:51:32 UTC) #7
mkosiba (inactive)
On 2012/10/18 18:51:32, joth wrote: > On 18 October 2012 02:26, <mailto:mkosiba@chromium.org> wrote: > > ...
8 years, 2 months ago (2012-10-19 14:59:39 UTC) #8
joth
I like the sound of a java counterpart to content::NavigationController. I don't want to get ...
8 years, 2 months ago (2012-10-19 21:57:43 UTC) #9
sgurun-gerrit only
sounds reasonable. Let's not try to fix everything in one CL.
8 years, 2 months ago (2012-10-19 22:03:38 UTC) #10
sgurun-gerrit only
https://codereview.chromium.org/11187032/diff/5002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/5002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode167 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:167: mContentViewCore = contentViewCore; On 2012/10/18 09:26:42, Martin Kosiba wrote: ...
8 years, 2 months ago (2012-10-22 23:42:26 UTC) #11
joth
Great! just small nits... this time. I'll let Martin also have a quick look too. ...
8 years, 2 months ago (2012-10-23 00:05:30 UTC) #12
sgurun-gerrit only
https://codereview.chromium.org/11187032/diff/16001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/16001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode57 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:57: if (contentViewCore != null) { On 2012/10/23 00:05:31, joth ...
8 years, 2 months ago (2012-10-23 00:28:11 UTC) #13
joth
lgtm pending martin. https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode54 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:54: case CONTINUE_PENDING_RELOAD: nit: the indent doesn't ...
8 years, 2 months ago (2012-10-23 01:46:02 UTC) #14
mkosiba (inactive)
LGTM https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode58 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:58: ((ContentViewCore)msg.obj).cancelPendingReload(); so this will update the most recent ...
8 years, 2 months ago (2012-10-23 10:34:34 UTC) #15
sgurun-gerrit only
https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode54 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:54: case CONTINUE_PENDING_RELOAD: I don't know either but looks like ...
8 years, 2 months ago (2012-10-23 15:54:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/11187032/4014
8 years, 2 months ago (2012-10-23 17:02:06 UTC) #17
commit-bot: I haz the power
Presubmit check for 11187032-4014 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-23 17:02:19 UTC) #18
joth
On 23 October 2012 08:54, <sgurun@chromium.org> wrote: > > https://codereview.chromium.**org/11187032/diff/21001/** > android_webview/java/src/org/**chromium/android_webview/** > AwContentsClient.java<https://codereview.chromium.org/11187032/diff/21001/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java> > ...
8 years, 2 months ago (2012-10-23 17:17:44 UTC) #19
joth
+tedchoc, could you rubberstamp content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ? TIA
8 years, 1 month ago (2012-10-24 23:14:32 UTC) #20
sgurun-gerrit only
Hi bulach@, satish@, Can you please review content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java when you have a chance? Thanks
8 years, 1 month ago (2012-10-24 23:16:30 UTC) #21
Ted C
lgtm w/ some fly by nits http://codereview.chromium.org/11187032/diff/4014/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): http://codereview.chromium.org/11187032/diff/4014/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode57 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:57: ((ContentViewCore)msg.obj).continuePendingReload(); space after ...
8 years, 1 month ago (2012-10-24 23:25:51 UTC) #22
sgurun-gerrit only
http://codereview.chromium.org/11187032/diff/4014/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): http://codereview.chromium.org/11187032/diff/4014/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode57 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:57: ((ContentViewCore)msg.obj).continuePendingReload(); On 2012/10/24 23:25:51, Ted C wrote: > space ...
8 years, 1 month ago (2012-10-24 23:41:44 UTC) #23
joth
lgtm still
8 years, 1 month ago (2012-10-25 00:24:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/11187032/32001
8 years, 1 month ago (2012-10-25 00:26:39 UTC) #25
commit-bot: I haz the power
Retried try job too often for step(s) check_deps
8 years, 1 month ago (2012-10-25 01:16:34 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/11187032/31003
8 years, 1 month ago (2012-10-25 01:41:54 UTC) #27
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 04:46:39 UTC) #28
Change committed as 164014

Powered by Google App Engine
This is Rietveld 408576698