| 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 c4bf9ea4ed8e4eca1e5bf82c64ce8f802a23ce13..ee87f6197f9103200d3af9e94e6e1c5edea93a36 100644
|
| --- a/chrome/browser/ui/views/translate/translate_bubble_view.h
|
| +++ b/chrome/browser/ui/views/translate/translate_bubble_view.h
|
| @@ -20,6 +20,7 @@
|
| #include "ui/views/controls/button/button.h"
|
| #include "ui/views/controls/combobox/combobox_listener.h"
|
| #include "ui/views/controls/link_listener.h"
|
| +#include "ui/views/widget/widget_observer_view.h"
|
|
|
| class Browser;
|
| class PrefService;
|
| @@ -57,7 +58,7 @@ class TranslateBubbleView : public LocationBarBubbleDelegateView,
|
| //
|
| // |is_user_gesture| is true when the bubble is shown on the user's delibarate
|
| // action.
|
| - static void ShowBubble(views::View* anchor_view,
|
| + static void ShowBubble(views::WidgetObserverView* anchor_view,
|
| content::WebContents* web_contents,
|
| translate::TranslateStep step,
|
| translate::TranslateErrors::Type error_type,
|
| @@ -134,7 +135,7 @@ class TranslateBubbleView : public LocationBarBubbleDelegateView,
|
| CancelButtonReturningAfterTranslate);
|
| FRIEND_TEST_ALL_PREFIXES(TranslateBubbleViewTest, CancelButtonReturningError);
|
|
|
| - TranslateBubbleView(views::View* anchor_view,
|
| + TranslateBubbleView(views::WidgetObserverView* anchor_view,
|
| scoped_ptr<TranslateBubbleModel> model,
|
| translate::TranslateErrors::Type error_type,
|
| content::WebContents* web_contents);
|
|
|