Index: chrome/renderer/chrome_render_view_observer.h |
diff --git a/chrome/renderer/chrome_render_view_observer.h b/chrome/renderer/chrome_render_view_observer.h |
index fe97f5d1ab2f1f53338802cb0dbb9eff1893ba7b..8a4d04bd9f8556f6e00e17c4cbae15ea53887635 100644 |
--- a/chrome/renderer/chrome_render_view_observer.h |
+++ b/chrome/renderer/chrome_render_view_observer.h |
@@ -138,6 +138,8 @@ class ChromeRenderViewObserver : public content::RenderViewObserver, |
void OnGetFPS(); |
void OnAddStrictSecurityHost(const std::string& host); |
void OnSetAsInterstitial(); |
+ void OnReloadFromCache(); |
+ void OnSetGarbledTextDetectionEnableState(bool enable); |
// Captures the thumbnail and text contents for indexing for the given load |
// ID. If the view's load ID is different than the parameter, this call is |
@@ -220,6 +222,9 @@ class ChromeRenderViewObserver : public content::RenderViewObserver, |
// External host exposed through automation controller. |
scoped_ptr<ExternalHostBindings> external_host_bindings_; |
+ // True if we should run garbled text detection. |
+ bool garbled_text_detection_enabled_; |
+ |
base::WeakPtrFactory<ChromeRenderViewObserver> weak_factory_; |
typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > |