| 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 3dd0dcac5a7e690afc0186ad40bea635f0edaf46..e7d6444ace99879c65600b775f4af4a4f05e73fe 100644
|
| --- a/chrome/browser/ui/views/translate/translate_bubble_view.h
|
| +++ b/chrome/browser/ui/views/translate/translate_bubble_view.h
|
| @@ -42,10 +42,14 @@ class TranslateBubbleView : public views::BubbleDelegateView,
|
| virtual ~TranslateBubbleView();
|
|
|
| // Shows the Translate bubble.
|
| + //
|
| + // |is_user_gesture| is true when the bubble is shown on the user's delibarate
|
| + // action.
|
| static void ShowBubble(views::View* anchor_view,
|
| content::WebContents* web_contents,
|
| translate::TranslateStep step,
|
| - translate::TranslateErrors::Type error_type);
|
| + translate::TranslateErrors::Type error_type,
|
| + bool is_user_gesture);
|
|
|
| // If true, the Translate bubble is being shown.
|
| static bool IsShowing();
|
|
|