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

Unified Diff: chrome/browser/ui/translate/translate_bubble_model_impl.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 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/ui/translate/translate_bubble_model_impl.h
diff --git a/chrome/browser/ui/translate/translate_bubble_model_impl.h b/chrome/browser/ui/translate/translate_bubble_model_impl.h
index 2111c0f40485ff07f2d60a6fc571e65c6736df0f..e5d65e392460623acab32aab6b841ea7a2aad5e3 100644
--- a/chrome/browser/ui/translate/translate_bubble_model_impl.h
+++ b/chrome/browser/ui/translate/translate_bubble_model_impl.h
@@ -23,6 +23,8 @@ class TranslateBubbleModelImpl : public TranslateBubbleModel {
virtual TranslateBubbleModel::ViewState GetViewState() const OVERRIDE;
virtual void SetViewState(TranslateBubbleModel::ViewState view_state)
OVERRIDE;
+ virtual TranslateErrors::Type GetErrorType() const OVERRIDE;
+ virtual void SetErrorType(TranslateErrors::Type error_type) OVERRIDE;
virtual void GoBackFromAdvanced() OVERRIDE;
virtual int GetNumberOfLanguages() const OVERRIDE;
virtual string16 GetLanguageNameAt(int index) const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/translate/translate_bubble_model.h ('k') | chrome/browser/ui/translate/translate_bubble_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698