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

Unified Diff: chrome/browser/prerender/external_prerender_handler_android.h

Issue 2259533003: Use bounds instead of size for prerender requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments nit Created 4 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prerender/external_prerender_handler_android.h
diff --git a/chrome/browser/prerender/external_prerender_handler_android.h b/chrome/browser/prerender/external_prerender_handler_android.h
index fafe0f1a4ce284f7e9567a2f42874414fa7c9e67..7d4bc84966cede744dd96a13c7b41df46a38811f 100644
--- a/chrome/browser/prerender/external_prerender_handler_android.h
+++ b/chrome/browser/prerender/external_prerender_handler_android.h
@@ -35,8 +35,10 @@ class ExternalPrerenderHandlerAndroid {
const base::android::JavaParamRef<jobject>& jweb_contents,
const base::android::JavaParamRef<jstring>& url,
const base::android::JavaParamRef<jstring>& referrer,
- jint width,
- jint height,
+ jint top,
+ jint left,
+ jint bottom,
+ jint right,
jboolean prerender_on_cellular);
// Cancel the prerender associated with the prerender_handle_

Powered by Google App Engine
This is Rietveld 408576698