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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 virtual void SyncRendererPrefs() = 0; 250 virtual void SyncRendererPrefs() = 0;
251 251
252 virtual void ToggleSpeechInput() = 0; 252 virtual void ToggleSpeechInput() = 0;
253 253
254 // Returns the current WebKit preferences. 254 // Returns the current WebKit preferences.
255 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0; 255 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0;
256 256
257 // Passes a list of Webkit preferences to the renderer. 257 // Passes a list of Webkit preferences to the renderer.
258 virtual void UpdateWebkitPreferences( 258 virtual void UpdateWebkitPreferences(
259 const webkit_glue::WebPreferences& prefs) = 0; 259 const webkit_glue::WebPreferences& prefs) = 0;
260
261 // 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.
262 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.
260 }; 263 };
261 264
262 } // namespace content 265 } // namespace content
263 266
264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 267 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« 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