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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10553014: Added RenderView.DocumentHasImages query method (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 3bb5fb4aaeea23e04e5ea1af5e24dbe297f0c5ab..cf0da9c71356b524c13112d239966bebd3edf889 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -155,6 +155,7 @@ class CONTENT_EXPORT RenderViewHostImpl
int request_id,
const std::vector<FilePath>& files) OVERRIDE;
virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE;
+ virtual int DocumentHasImages() OVERRIDE;
virtual void DragSourceEndedAt(
int client_x, int client_y, int screen_x, int screen_y,
WebKit::WebDragOperation operation) OVERRIDE;
@@ -546,6 +547,8 @@ class CONTENT_EXPORT RenderViewHostImpl
void OnRunFileChooser(const FileChooserParams& params);
void OnDomOperationResponse(const std::string& json_string,
int automation_id);
+ void OnDocumentHasImagesResponse(int id, bool has_images);
+
#if defined(OS_MACOSX) || defined(OS_ANDROID)
void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | content/public/browser/render_view_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698