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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 11743011: Add history popup when long pressing on the back key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 85e2d67d75f096dacdd5330ca6081e709053c3d2..fe88932a38f5eedde5d0701b78d92485f6e8bd72 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -148,6 +148,7 @@ class ContentViewCoreImpl : public ContentViewCore,
void GoBack(JNIEnv* env, jobject obj);
void GoForward(JNIEnv* env, jobject obj);
void GoToOffset(JNIEnv* env, jobject obj, jint offset);
+ void GoToNavigationIndex(JNIEnv* env, jobject obj, jint index);
void StopLoading(JNIEnv* env, jobject obj);
void Reload(JNIEnv* env, jobject obj);
void CancelPendingReload(JNIEnv* env, jobject obj);
@@ -179,6 +180,11 @@ class ContentViewCoreImpl : public ContentViewCore,
jclass safe_annotation_clazz);
void RemoveJavascriptInterface(JNIEnv* env, jobject obj, jstring name);
int GetNavigationHistory(JNIEnv* env, jobject obj, jobject context);
+ void GetDirectedNavigationHistory(JNIEnv* env,
+ jobject obj,
+ jobject context,
+ jboolean is_forward,
+ jint max_entries);
void UpdateVSyncParameters(JNIEnv* env, jobject obj, jlong timebase_micros,
jlong interval_micros);
jboolean PopulateBitmapFromCompositor(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698