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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java

Issue 1493403002: Make pull to refresh not perform regular reload (with cache revalidation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import android.graphics.Bitmap; 7 import android.graphics.Bitmap;
8 import android.test.suitebuilder.annotation.MediumTest; 8 import android.test.suitebuilder.annotation.MediumTest;
9 import android.test.suitebuilder.annotation.SmallTest; 9 import android.test.suitebuilder.annotation.SmallTest;
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 @Override 116 @Override
117 public void requestRestoreLoad() { 117 public void requestRestoreLoad() {
118 } 118 }
119 119
120 @Override 120 @Override
121 public void reload(boolean checkForRepost) { 121 public void reload(boolean checkForRepost) {
122 } 122 }
123 123
124 @Override 124 @Override
125 public void reloadToRefreshContent(boolean checkForRepost) {
126 }
127
128 @Override
125 public void reloadIgnoringCache(boolean checkForRepost) { 129 public void reloadIgnoringCache(boolean checkForRepost) {
126 } 130 }
127 131
128 @Override 132 @Override
129 public void reloadDisableLoFi(boolean checkForRepost) { 133 public void reloadDisableLoFi(boolean checkForRepost) {
130 } 134 }
131 135
132 @Override 136 @Override
133 public void cancelPendingReload() { 137 public void cancelPendingReload() {
134 } 138 }
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 popup.performItemClick(1); 280 popup.performItemClick(1);
277 } 281 }
278 }); 282 });
279 283
280 assertFalse("Popup did not hide as expected.", popup.isShowing()); 284 assertFalse("Popup did not hide as expected.", popup.isShowing());
281 assertEquals("Popup attempted to navigate to the wrong index", 5, 285 assertEquals("Popup attempted to navigate to the wrong index", 5,
282 controller.mNavigatedIndex); 286 controller.mNavigatedIndex);
283 } 287 }
284 288
285 } 289 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698