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

Unified Diff: components/translate/content/browser/content_translate_driver.h

Issue 228483003: Remove most content-level dependencies from TranslateManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/translate/content/browser/content_translate_driver.h
diff --git a/components/translate/content/browser/content_translate_driver.h b/components/translate/content/browser/content_translate_driver.h
index 7be1ab77363c14721f9c18beabf58143af57737f..4d545b9649b20910afec505b7f769bc1b7fdd577 100644
--- a/components/translate/content/browser/content_translate_driver.h
+++ b/components/translate/content/browser/content_translate_driver.h
@@ -51,6 +51,12 @@ class ContentTranslateDriver : public TranslateDriver {
const std::string& target_lang) OVERRIDE;
virtual void RevertTranslation() OVERRIDE;
virtual bool IsOffTheRecord() OVERRIDE;
+ virtual const std::string& GetContentsMimeType() OVERRIDE;
+ virtual const GURL& GetLastCommittedURL() OVERRIDE;
+ virtual const GURL& GetActiveURL() OVERRIDE;
+ virtual const GURL& GetVisibleURL() OVERRIDE;
+ virtual bool HasCurrentPage() OVERRIDE;
+ virtual int GetCurrentPageID() OVERRIDE;
private:
// The navigation controller of the tab we are associated with.

Powered by Google App Engine
This is Rietveld 408576698