diff options
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index a96ee39..3523238 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -123,7 +123,8 @@ class RenderView : public RenderWidget, public WebKit::WebFrameClient, public WebKit::WebPageSerializerClient, public webkit_glue::WebPluginPageDelegate, - public base::SupportsWeakPtr<RenderView> { + public base::SupportsWeakPtr<RenderView>, + public PageTranslator::PageTranslatorDelegate { public: // Visit all RenderViews with a live WebView (i.e., RenderViews that have // been closed but not yet destroyed are excluded). @@ -387,6 +388,11 @@ class RenderView : public RenderWidget, const std::string& json_arguments, std::string* json_retval); + // PageTranslator::PageTranslatorDelegate implementation: + virtual void PageTranslated(int page_id, + const std::string& original_lang, + const std::string& target_lang); + // Do not delete directly. This class is reference counted. virtual ~RenderView(); |