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

Unified Diff: content/public/browser/render_view_host.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
« no previous file with comments | « content/public/browser/notification_types.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index da8b15305e5442c3eae120c20d0ce139b5c9c471..cd22c3f7e998eedd2bd638dbe21a11aaf03e4293 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -257,6 +257,9 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
// Passes a list of Webkit preferences to the renderer.
virtual void UpdateWebkitPreferences(
const webkit_glue::WebPreferences& prefs) = 0;
+
+ // Determine wether or not the document has any image elements.
joth 2012/06/15 21:57:00 typo: whether
Jesse Greenwald 2012/06/26 23:06:29 Done.
+ virtual int DocumentHasImages() = 0;
joth 2012/06/15 21:57:00 document the return value encoding. (I expected a
Jesse Greenwald 2012/06/26 23:06:29 Done.
};
} // namespace content
« no previous file with comments | « content/public/browser/notification_types.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698