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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.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/views/translate/translate_bubble_view.h
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.h b/chrome/browser/ui/views/translate/translate_bubble_view.h
index f35bd3e61fac806608f425b1fb3e6db429bd3344..3dd0dcac5a7e690afc0186ad40bea635f0edaf46 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.h
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.h
@@ -45,7 +45,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
static void ShowBubble(views::View* anchor_view,
content::WebContents* web_contents,
translate::TranslateStep step,
- TranslateErrors::Type error_type);
+ translate::TranslateErrors::Type error_type);
// If true, the Translate bubble is being shown.
static bool IsShowing();
@@ -120,7 +120,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
TranslateBubbleView(views::View* anchor_view,
scoped_ptr<TranslateBubbleModel> model,
- TranslateErrors::Type error_type,
+ translate::TranslateErrors::Type error_type,
content::WebContents* web_contents);
// Returns the current child view.
@@ -160,7 +160,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
void SwitchView(TranslateBubbleModel::ViewState view_state);
// Switches to the error view.
- void SwitchToErrorView(TranslateErrors::Type error_type);
+ void SwitchToErrorView(translate::TranslateErrors::Type error_type);
// Updates the advanced view.
void UpdateAdvancedView();
@@ -188,7 +188,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
scoped_ptr<TranslateBubbleModel> model_;
- TranslateErrors::Type error_type_;
+ translate::TranslateErrors::Type error_type_;
// Whether the window is an incognito window.
const bool is_in_incognito_window_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/translate/translate_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698