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

Unified Diff: chrome/browser/translate/translate_manager.h

Issue 87503004: Pass the Translate error type to the bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebasing) Created 7 years, 1 month 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: chrome/browser/translate/translate_manager.h
diff --git a/chrome/browser/translate/translate_manager.h b/chrome/browser/translate/translate_manager.h
index 60733ac3d9b4e90e23749c4353ff04108b82bd03..06ab57f2499a5e4f2f4926e6bfed6290ae3d6dcf 100644
--- a/chrome/browser/translate/translate_manager.h
+++ b/chrome/browser/translate/translate_manager.h
@@ -199,7 +199,8 @@ class TranslateManager : public content::NotificationObserver {
// Shows the translate bubble.
void ShowBubble(content::WebContents* web_contents,
- TranslateBubbleModel::ViewState view_state);
+ TranslateBubbleModel::ViewState view_state,
+ TranslateErrors::Type error_type);
// Returns the different parameters used to decide whether extra shortcuts
// are needed.
« no previous file with comments | « no previous file | chrome/browser/translate/translate_manager.cc » ('j') | chrome/browser/translate/translate_ui_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698