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

Unified Diff: chrome/browser/ui/android/context_menu_helper.h

Issue 1142863002: Remove support for custom menu items in context menus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/ui/android/context_menu_helper.h
diff --git a/chrome/browser/ui/android/context_menu_helper.h b/chrome/browser/ui/android/context_menu_helper.h
index e66e351899344d52efe47d00566f98050fdb23cd..9f84b6c32a8242510a2913283859a9b0e2d69e49 100644
--- a/chrome/browser/ui/android/context_menu_helper.h
+++ b/chrome/browser/ui/android/context_menu_helper.h
@@ -23,15 +23,9 @@ class ContextMenuHelper
void ShowContextMenu(const content::ContextMenuParams& params);
- void ShowCustomContextMenu(
- const content::ContextMenuParams& params,
- const base::Callback<void(int)>& callback);
-
void SetPopulator(jobject jpopulator);
// Methods called from Java via JNI ------------------------------------------
-
- void OnCustomItemSelected(JNIEnv* env, jobject obj, jint action);
void OnStartDownload(JNIEnv* env, jobject obj, jboolean jis_link);
private:
@@ -44,7 +38,6 @@ class ContextMenuHelper
base::android::ScopedJavaGlobalRef<jobject> java_obj_;
content::WebContents* web_contents_;
- base::Callback<void(int)> context_menu_callback_;
content::ContextMenuParams context_menu_params_;
DISALLOW_COPY_AND_ASSIGN(ContextMenuHelper);

Powered by Google App Engine
This is Rietveld 408576698