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

Unified Diff: chrome/browser/ui/views/autofill/save_card_icon_view.h

Issue 1813043002: Move the hiding of Views location bar bubbles into LocationBarView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move bubble hiding into LocationBarView Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/save_card_icon_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/save_card_icon_view.h
diff --git a/chrome/browser/ui/views/autofill/save_card_icon_view.h b/chrome/browser/ui/views/autofill/save_card_icon_view.h
index d2a6d03c1d761032c7c1f0e0189e08fb23e8b1f5..3e611db04e8d5b73e56079c840ea8163e570e4b9 100644
--- a/chrome/browser/ui/views/autofill/save_card_icon_view.h
+++ b/chrome/browser/ui/views/autofill/save_card_icon_view.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_ICON_VIEW_H_
#include "base/macros.h"
-#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "chrome/browser/ui/views/location_bar/bubble_icon_view.h"
class Browser;
@@ -19,7 +18,7 @@ class SaveCardBubbleControllerImpl;
// The location bar icon to show the Save Credit Card bubble where the user can
// choose to save the credit card info to use again later without re-entering
// it.
-class SaveCardIconView : public BubbleIconView, public TabStripModelObserver {
+class SaveCardIconView : public BubbleIconView {
public:
explicit SaveCardIconView(CommandUpdater* command_updater, Browser* browser);
~SaveCardIconView() override;
@@ -30,9 +29,6 @@ class SaveCardIconView : public BubbleIconView, public TabStripModelObserver {
views::BubbleDialogDelegateView* GetBubble() const override;
gfx::VectorIconId GetVectorIcon() const override;
- // TabStripModelObserver:
- void TabDeactivated(content::WebContents* contents) override;
-
private:
SaveCardBubbleControllerImpl* GetController() const;
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/save_card_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698