| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |