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

Unified Diff: components/translate/core/browser/translate_driver.h

Issue 292513002: Remove dependency of TranslateInfobarDelegate on chrome/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: put the driver method back Created 6 years, 7 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/core/browser/translate_driver.h
diff --git a/components/translate/core/browser/translate_driver.h b/components/translate/core/browser/translate_driver.h
index 88bb50385390f036d535a59f401769372c493095..788a2677b140e170ebfc28b8fb03ef172765cd5c 100644
--- a/components/translate/core/browser/translate_driver.h
+++ b/components/translate/core/browser/translate_driver.h
@@ -57,6 +57,9 @@ class TranslateDriver {
// Returns an int identifying the current page. Should only be called if
// |HasCurrentPage()| is true.
virtual int GetCurrentPageID() = 0;
+
+ // Opens |url| in a new tab.
+ virtual void OpenUrlInNewTab(const GURL& url) = 0;
};
#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DRIVER_H_

Powered by Google App Engine
This is Rietveld 408576698