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

Unified Diff: chrome/browser/ui/cocoa/translate/translate_bubble_controller.h

Issue 2511043002: [Mac] Omnibox icons active states (Closed)
Patch Set: Cleaned up Created 4 years, 1 month 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/cocoa/translate/translate_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h
index 913559af685a1318271d585693607f8be63531ba..2b0377b01eefbdfb1faaab829c23dcefe1834591 100644
--- a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.h
@@ -8,7 +8,7 @@
#include "base/mac/scoped_nsobject.h"
#include "chrome/browser/translate/chrome_translate_client.h"
-#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
+#import "chrome/browser/ui/cocoa/omnibox_icon_bubble_controller.h"
#include "components/translate/core/common/translate_errors.h"
@class BrowserWindowController;
@@ -26,7 +26,7 @@ class WebContents;
// allows us to translate a foreign page into user-selected language,
// revert this, and configure the translate setting.
@interface TranslateBubbleController
- : BaseBubbleController<NSTextViewDelegate> {
+ : OmniboxIconBubbleController<NSTextViewDelegate> {
@private
content::WebContents* webContents_;
std::unique_ptr<TranslateBubbleModel> model_;

Powered by Google App Engine
This is Rietveld 408576698