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

Side by Side Diff: chrome/browser/ui/autofill/save_card_bubble_view.h

Issue 1402363013: Update location bar bubble/icon behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 11
12 // The cross-platform UI interface which displays the "Save credit card?" 12 // The cross-platform UI interface which displays the "Save credit card?"
13 // bubble. This object is responsible for its own lifetime. 13 // bubble. This object is responsible for its own lifetime.
14 class SaveCardBubbleView { 14 class SaveCardBubbleView {
15 public: 15 public:
16 virtual void Show() = 0; 16 // Called to close the bubble and prevent future callbacks into the
17 virtual void Close() = 0; 17 // controller.
18 virtual void ControllerGone() = 0; 18 virtual void Hide() = 0;
19
20 protected:
21 SaveCardBubbleView() {}
22 virtual ~SaveCardBubbleView() {}
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleView);
26 }; 19 };
27 20
28 } // namespace autofill 21 } // namespace autofill
29 22
30 #endif // CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_ 23 #endif // CHROME_BROWSER_UI_AUTOFILL_SAVE_CARD_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698