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 5c9dfdb071217c62da0c485131235f9246735349..fe793cec92f63aa891b775743ecbcaca4cbbd59e 100644 |
--- a/chrome/browser/ui/android/context_menu_helper.h |
+++ b/chrome/browser/ui/android/context_menu_helper.h |
@@ -45,6 +45,9 @@ class ContextMenuHelper |
const base::android::JavaParamRef<jobject>& obj); |
void ShareImage(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); |
+ void RetrieveHeaderThumbnail(JNIEnv* env, |
+ const base::android::JavaParamRef<jobject>& obj); |
+ |
private: |
explicit ContextMenuHelper(content::WebContents* web_contents); |
friend class content::WebContentsUserData<ContextMenuHelper>; |
@@ -56,6 +59,11 @@ class ContextMenuHelper |
const std::vector<uint8_t>& thumbnail_data, |
const gfx::Size& original_size); |
+ void OnHeaderThumbnailReceived( |
+ chrome::mojom::ThumbnailCapturerPtr thumbnail_capturer, |
+ const std::vector<uint8_t>& thumbnail_data, |
+ const gfx::Size& original_size); |
+ |
base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
content::WebContents* web_contents_; |