Index: chrome/renderer/render_view.h |
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h |
index dfbcf7d66629811d44764bd959fd42d628b8dd5a..995b4f111e5c49249aa5dd22bdaa364aaad91542 100644 |
--- a/chrome/renderer/render_view.h |
+++ b/chrome/renderer/render_view.h |
@@ -82,7 +82,6 @@ class WebPluginDelegatePepper; |
class WebPluginDelegateProxy; |
struct ContextMenuMediaParams; |
struct PP_Flash_NetAddress; |
-struct ThumbnailScore; |
struct ViewMsg_ClosePage_Params; |
struct ViewMsg_Navigate_Params; |
struct WebDropData; |
@@ -750,7 +749,7 @@ class RenderView : public RenderWidget, |
void OpenURL(const GURL& url, const GURL& referrer, |
WebKit::WebNavigationPolicy policy); |
- // Captures the thumbnail and text contents for indexing for the given load |
+ // Captures the text contents for indexing for the given load |
// ID. If the view's load ID is different than the parameter, this call is |
// a NOP. Typically called on a timer, so the load ID may have changed in the |
// meantime. |
@@ -760,12 +759,6 @@ class RenderView : public RenderWidget, |
// maximum amount kMaxIndexChars will be placed into the given buffer. |
void CaptureText(WebKit::WebFrame* frame, string16* contents); |
- // Creates a thumbnail of |frame|'s contents resized to (|w|, |h|) |
- // and puts that in |thumbnail|. Thumbnail metadata goes in |score|. |
- bool CaptureThumbnail(WebKit::WebView* view, int w, int h, |
- SkBitmap* thumbnail, |
- ThumbnailScore* score); |
- |
// Capture a snapshot of a view. This is used to allow an extension |
// to get a snapshot of a tab using chrome.tabs.captureVisibleTab(). |
bool CaptureSnapshot(WebKit::WebView* view, SkBitmap* snapshot); |
@@ -819,7 +812,6 @@ class RenderView : public RenderWidget, |
void OnCopyToFindPboard(); |
#endif |
void OnCut(); |
- void OnCaptureThumbnail(); |
void OnCaptureSnapshot(); |
void OnCSSInsertRequest(const std::wstring& frame_xpath, |
const std::string& css, |