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

Side by Side Diff: chrome/browser/ui/views/autofill/save_card_bubble_views.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 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_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/autofill/save_card_bubble_controller.h" 9 #include "chrome/browser/ui/autofill/save_card_bubble_controller.h"
10 #include "chrome/browser/ui/autofill/save_card_bubble_view.h" 10 #include "chrome/browser/ui/autofill/save_card_bubble_view.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void LinkClicked(views::Link* source, int event_flags) override; 62 void LinkClicked(views::Link* source, int event_flags) override;
63 63
64 // views::StyledLabelListener 64 // views::StyledLabelListener
65 void StyledLabelLinkClicked(views::StyledLabel* label, 65 void StyledLabelLinkClicked(views::StyledLabel* label,
66 const gfx::Range& range, 66 const gfx::Range& range,
67 int event_flags) override; 67 int event_flags) override;
68 68
69 private: 69 private:
70 ~SaveCardBubbleViews() override; 70 ~SaveCardBubbleViews() override;
71 71
72 scoped_ptr<views::View> CreateMainContentView(); 72 std::unique_ptr<views::View> CreateMainContentView();
73 73
74 // views::BubbleDelegateView 74 // views::BubbleDelegateView
75 void Init() override; 75 void Init() override;
76 76
77 SaveCardBubbleController* controller_; // Weak reference. 77 SaveCardBubbleController* controller_; // Weak reference.
78 78
79 views::Link* learn_more_link_; 79 views::Link* learn_more_link_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews); 81 DISALLOW_COPY_AND_ASSIGN(SaveCardBubbleViews);
82 }; 82 };
83 83
84 } // namespace autofill 84 } // namespace autofill
85 85
86 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_ 86 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_SAVE_CARD_BUBBLE_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698