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

Issue 49353008: Add way to reload the page, ignoring the cache (Closed)

Created:
7 years, 1 month ago by gone
Modified:
7 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Kristian Monsen
Visibility:
Public.

Description

Add way to reload the page, ignoring the cache Introduce a way to call NavigationControllerImpl::ReloadIgnoringCache() from the Java-side TabBase. Also, consolidate reload() functions. BUG=307333 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233498

Patch Set 1 #

Patch Set 2 : Rebasing #

Patch Set 3 : Coalescing functions #

Total comments: 2

Patch Set 4 : Addressing comments #

Patch Set 5 : Compile fixes #

Patch Set 6 : Compile fix take 2 #

Patch Set 7 : Take 4 #

Total comments: 10

Patch Set 8 : Javadoc #

Patch Set 9 : Rearranging #

Patch Set 10 : Matching API #

Total comments: 1

Patch Set 11 : Missed AwContents somehow #

Total comments: 1

Patch Set 12 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -49 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 7 chunks +6 lines, -12 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/TabBase.java View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -3 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java View 1 2 3 4 5 6 7 8 9 10 chunks +9 lines, -9 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -3 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/Shell.java View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
gone
Does this function look alright to you? I'm not sure what, if any, hooks we ...
7 years, 1 month ago (2013-10-30 20:57:40 UTC) #1
David Trainor- moved to gerrit
lgtm. Should we make this another version of reload like below? reload() { reload(false); } ...
7 years, 1 month ago (2013-10-31 17:41:19 UTC) #2
gone
Combined the reload functions. +tedchoc@chromium.org for OWNERS
7 years, 1 month ago (2013-10-31 18:12:39 UTC) #3
gone
Ping, poke, prod
7 years, 1 month ago (2013-11-05 22:13:14 UTC) #4
Ted C
https://chromiumcodereview.appspot.com/49353008/diff/110001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://chromiumcodereview.appspot.com/49353008/diff/110001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1224 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1224: public void reload() { can we remove this method? ...
7 years, 1 month ago (2013-11-05 22:24:21 UTC) #5
gone
https://chromiumcodereview.appspot.com/49353008/diff/110001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://chromiumcodereview.appspot.com/49353008/diff/110001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1224 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1224: public void reload() { On 2013/11/05 22:24:21, Ted C ...
7 years, 1 month ago (2013-11-06 00:54:52 UTC) #6
gone
joth@chromium.org: Please review changes in android_webview
7 years, 1 month ago (2013-11-06 19:45:33 UTC) #7
joth
https://codereview.chromium.org/49353008/diff/380001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/49353008/diff/380001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode32 android_webview/java/src/org/chromium/android_webview/AwContents.java:32: import android.webkit.WebView; is this really needed? (I think it's ...
7 years, 1 month ago (2013-11-06 19:57:27 UTC) #8
joth
+kristianm fyi
7 years, 1 month ago (2013-11-06 19:58:18 UTC) #9
gone
https://codereview.chromium.org/49353008/diff/380001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/49353008/diff/380001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode32 android_webview/java/src/org/chromium/android_webview/AwContents.java:32: import android.webkit.WebView; On 2013/11/06 19:57:28, joth wrote: > is ...
7 years, 1 month ago (2013-11-06 21:24:34 UTC) #10
Ted C
https://codereview.chromium.org/49353008/diff/380001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/49353008/diff/380001/content/browser/android/content_view_core_impl.cc#newcode1209 content/browser/android/content_view_core_impl.cc:1209: web_contents_->GetController().LoadIfNecessary(); On 2013/11/06 21:24:35, dfalcantara wrote: > On 2013/11/06 ...
7 years, 1 month ago (2013-11-06 21:38:13 UTC) #11
joth
On 2013/11/06 21:38:13, Ted C wrote: > https://codereview.chromium.org/49353008/diff/380001/content/browser/android/content_view_core_impl.cc > File content/browser/android/content_view_core_impl.cc (right): > > https://codereview.chromium.org/49353008/diff/380001/content/browser/android/content_view_core_impl.cc#newcode1209 ...
7 years, 1 month ago (2013-11-06 22:17:43 UTC) #12
Ted C
On 2013/11/06 22:17:43, joth wrote: > On 2013/11/06 21:38:13, Ted C wrote: > > > ...
7 years, 1 month ago (2013-11-06 22:36:35 UTC) #13
gone
Alrighty, interpreted the comments and added back reloadIgnoringCache() as a separate function, exposing the bool ...
7 years, 1 month ago (2013-11-06 23:31:11 UTC) #14
gone
On 2013/11/06 23:31:11, dfalcantara wrote: > Alrighty, interpreted the comments and added back reloadIgnoringCache() as ...
7 years, 1 month ago (2013-11-06 23:59:50 UTC) #15
joth__google
thanks! https://chromiumcodereview.appspot.com/49353008/diff/590001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://chromiumcodereview.appspot.com/49353008/diff/590001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1242 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1242: public void reloadIgnoringCache(boolean checkForRepost) { ah I wasn't ...
7 years, 1 month ago (2013-11-06 23:59:53 UTC) #16
Ted C
lgtm https://chromiumcodereview.appspot.com/49353008/diff/800001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://chromiumcodereview.appspot.com/49353008/diff/800001/content/browser/android/content_view_core_impl.cc#newcode1213 content/browser/android/content_view_core_impl.cc:1213: void ContentViewCoreImpl::ReloadIgnoringCache(JNIEnv* env, jobject obj, jobject obj should ...
7 years, 1 month ago (2013-11-07 00:15:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/49353008/850001
7 years, 1 month ago (2013-11-07 00:51:18 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=186368
7 years, 1 month ago (2013-11-07 01:40:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/49353008/850001
7 years, 1 month ago (2013-11-07 02:54:13 UTC) #20
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 06:16:23 UTC) #21
Message was sent while issue was closed.
Change committed as 233498

Powered by Google App Engine
This is Rietveld 408576698