| Index: chrome/browser/ui/browser_window.h
|
| diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
|
| index 7811ace7de93c4d798585a35e452ad2098100279..f9c66db0575346fc5a102fda36ff681163dd0117 100644
|
| --- a/chrome/browser/ui/browser_window.h
|
| +++ b/chrome/browser/ui/browser_window.h
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
|
| +#include "chrome/browser/ui/translate/translate_bubble_model.h"
|
| #include "chrome/common/content_settings_types.h"
|
| #include "ui/base/base_window.h"
|
| #include "ui/base/window_open_disposition.h"
|
| @@ -219,6 +220,11 @@ class BrowserWindow : public ui::BaseWindow {
|
| // TODO(yosin): Make ShowBookmarkPrompt pure virtual.
|
| virtual void ShowBookmarkPrompt() {}
|
|
|
| + // Shows the translate bubble.
|
| + virtual void ShowTranslateBubble(
|
| + content::WebContents* contents,
|
| + TranslateBubbleModel::ViewState view_state) = 0;
|
| +
|
| #if defined(ENABLE_ONE_CLICK_SIGNIN)
|
| enum OneClickSigninBubbleType {
|
| ONE_CLICK_SIGNIN_BUBBLE_TYPE_BUBBLE,
|
| @@ -239,7 +245,7 @@ class BrowserWindow : public ui::BaseWindow {
|
| const string16& email,
|
| const string16& error_message,
|
| const StartSyncCallback& start_sync_callback) = 0;
|
| - #endif
|
| +#endif
|
|
|
| // Whether or not the shelf view is visible.
|
| virtual bool IsDownloadShelfVisible() const = 0;
|
|
|