| Index: chrome/browser/android/tab_android.cc
|
| diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
|
| index d6fc3628fdb6efc98d5d6b552b48b6d85bcfee42..029e63695cdff20bfe14a7672cf6999de2d29ced 100644
|
| --- a/chrome/browser/android/tab_android.cc
|
| +++ b/chrome/browser/android/tab_android.cc
|
| @@ -95,14 +95,6 @@ using content::WebContents;
|
| using navigation_interception::InterceptNavigationDelegate;
|
| using navigation_interception::NavigationParams;
|
|
|
| -namespace {
|
| -
|
| -const int kImageSearchThumbnailMinSize = 300 * 300;
|
| -const int kImageSearchThumbnailMaxWidth = 600;
|
| -const int kImageSearchThumbnailMaxHeight = 600;
|
| -
|
| -} // namespace
|
| -
|
| TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
|
| CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(web_contents);
|
| if (!core_tab_helper)
|
| @@ -760,17 +752,6 @@ void TabAndroid::LoadOriginalImage(JNIEnv* env, jobject obj) {
|
| render_frame_host->GetRoutingID()));
|
| }
|
|
|
| -void TabAndroid::SearchByImageInNewTabAsync(JNIEnv* env, jobject obj) {
|
| - content::RenderFrameHost* render_frame_host =
|
| - web_contents()->GetMainFrame();
|
| - render_frame_host->Send(
|
| - new ChromeViewMsg_RequestThumbnailForContextNode(
|
| - render_frame_host->GetRoutingID(),
|
| - kImageSearchThumbnailMinSize,
|
| - gfx::Size(kImageSearchThumbnailMaxWidth,
|
| - kImageSearchThumbnailMaxHeight)));
|
| -}
|
| -
|
| jlong TabAndroid::GetBookmarkId(JNIEnv* env,
|
| jobject obj,
|
| jboolean only_editable) {
|
|
|