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

Unified Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add the browser test Created 7 years, 2 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/frame/browser_view.h
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index 82bc6b3a9545c602656f741d919338e0b680e627..31503df1fa614f76d14b9a09c17f081fbdd8b135 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -325,6 +325,9 @@ class BrowserView : public BrowserWindow,
virtual void ShowBookmarkBubble(const GURL& url,
bool already_bookmarked) OVERRIDE;
virtual void ShowBookmarkPrompt() OVERRIDE;
+ virtual void ShowTranslateBubble(
+ content::WebContents* contents,
+ TranslateBubbleModel::ViewState view_state) OVERRIDE;
#if defined(ENABLE_ONE_CLICK_SIGNIN)
virtual void ShowOneClickSigninBubble(
OneClickSigninBubbleType type,
@@ -377,6 +380,7 @@ class BrowserView : public BrowserWindow,
virtual LocationBarView* GetLocationBarView() const OVERRIDE;
virtual views::View* GetTabContentsContainerView() const OVERRIDE;
virtual ToolbarView* GetToolbarView() const OVERRIDE;
+ virtual TranslateBubbleModel* GetTranslateBubbleModel() const OVERRIDE;
// Overridden from TabStripModelObserver:
virtual void TabDetachedAt(content::WebContents* contents,

Powered by Google App Engine
This is Rietveld 408576698