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

Unified Diff: chrome/browser/ui/translate/translate_bubble_model_impl.h

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing android build errors Created 6 years, 5 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: 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 0d911d28b1ad996650b516fcb96da776dbb89e03..bef9bf1fba3970029ee4b279b39eca43e7be54b5 100644
--- a/chrome/browser/ui/translate/translate_bubble_model_impl.h
+++ b/chrome/browser/ui/translate/translate_bubble_model_impl.h
@@ -11,13 +11,16 @@
#include "chrome/browser/ui/translate/translate_bubble_model.h"
#include "chrome/browser/ui/translate/translate_bubble_view_state_transition.h"
+namespace translate {
class TranslateUIDelegate;
+}
// The standard implementation of TranslateBubbleModel.
class TranslateBubbleModelImpl : public TranslateBubbleModel {
public:
- TranslateBubbleModelImpl(translate::TranslateStep step,
- scoped_ptr<TranslateUIDelegate> ui_delegate);
+ TranslateBubbleModelImpl(
+ translate::TranslateStep step,
+ scoped_ptr<translate::TranslateUIDelegate> ui_delegate);
virtual ~TranslateBubbleModelImpl();
// Converts a TranslateStep to a ViewState.
@@ -29,7 +32,7 @@ class TranslateBubbleModelImpl : public TranslateBubbleModel {
virtual TranslateBubbleModel::ViewState GetViewState() const OVERRIDE;
virtual void SetViewState(TranslateBubbleModel::ViewState view_state)
OVERRIDE;
- virtual void ShowError(TranslateErrors::Type error_type) OVERRIDE;
+ virtual void ShowError(translate::TranslateErrors::Type error_type) OVERRIDE;
virtual void GoBackFromAdvanced() OVERRIDE;
virtual int GetNumberOfLanguages() const OVERRIDE;
virtual base::string16 GetLanguageNameAt(int index) const OVERRIDE;
@@ -47,7 +50,7 @@ class TranslateBubbleModelImpl : public TranslateBubbleModel {
virtual bool IsPageTranslatedInCurrentLanguages() const OVERRIDE;
private:
- scoped_ptr<TranslateUIDelegate> ui_delegate_;
+ scoped_ptr<translate::TranslateUIDelegate> ui_delegate_;
TranslateBubbleViewStateTransition view_state_transition_;
DISALLOW_COPY_AND_ASSIGN(TranslateBubbleModelImpl);
« 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