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

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: Updated comments on RenderViewHost.DocumentHasImages Created 8 years, 5 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 virtual void SyncRendererPrefs() = 0; 261 virtual void SyncRendererPrefs() = 0;
262 262
263 virtual void ToggleSpeechInput() = 0; 263 virtual void ToggleSpeechInput() = 0;
264 264
265 // Returns the current WebKit preferences. 265 // Returns the current WebKit preferences.
266 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0; 266 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0;
267 267
268 // Passes a list of Webkit preferences to the renderer. 268 // Passes a list of Webkit preferences to the renderer.
269 virtual void UpdateWebkitPreferences( 269 virtual void UpdateWebkitPreferences(
270 const webkit_glue::WebPreferences& prefs) = 0; 270 const webkit_glue::WebPreferences& prefs) = 0;
271
272 // Determine whether or not the document has any image elements. The returned
273 // int is a unique id for the request. When the result is received from the
274 // renderer, the NOTIFICATION_DOCUMENT_HAS_IMAGES_RESPONSE notification is
275 // sent with a pair<int, bool> where the int is the unique id and the bool is
276 // the result of the call.
277 virtual int DocumentHasImages() = 0;
271 }; 278 };
272 279
273 } // namespace content 280 } // namespace content
274 281
275 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 282 #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