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

Unified Diff: chrome/browser/android/tab_android.h

Issue 10861042: Add Android's context menu handler used on the NTP. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolve Evan's comments. Created 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/android/context_menu_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index d60da3905678926b266323ca67c1a3c25a247275..75bc2ab3d8473e1520f99c5b588efc9fa2c1b78f 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -9,10 +9,10 @@
#include "base/android/jni_helper.h"
#include "base/android/scoped_java_ref.h"
+#include "base/callback_forward.h"
#include "base/string16.h"
class GURL;
-class OnContextMenuItemSelectedCallBack;
class SkBitmap;
namespace browser_sync {
@@ -50,7 +50,7 @@ class TabAndroid {
// Called to show a custom context menu. Used by the NTP.
virtual void ShowCustomContextMenu(
const content::ContextMenuParams& params,
- OnContextMenuItemSelectedCallBack* callback) = 0;
+ const base::Callback<void(int)>& callback) = 0;
virtual void ShowSelectFileDialog(
const base::android::ScopedJavaLocalRef<jobject>& select_file) = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/android/context_menu_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698