Chromium Code Reviews| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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_ |
| OLD | NEW |