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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_notification_container.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/mac/scoped_nsobject.h" 13 #include "base/mac/scoped_nsobject.h"
13 #include "base/memory/scoped_ptr.h"
14 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" 14 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
15 15
16 @class AutofillArrowView; 16 @class AutofillArrowView;
17 17
18 namespace autofill { 18 namespace autofill {
19 class DialogNotification; 19 class DialogNotification;
20 typedef std::vector<DialogNotification> DialogNotifications; 20 typedef std::vector<DialogNotification> DialogNotifications;
21 class AutofillDialogViewDelegate; 21 class AutofillDialogViewDelegate;
22 } 22 }
23 23
(...skipping 12 matching lines...) Expand all
36 36
37 // Computes the views preferred size given a fixed width. 37 // Computes the views preferred size given a fixed width.
38 - (NSSize)preferredSizeForWidth:(CGFloat)width; 38 - (NSSize)preferredSizeForWidth:(CGFloat)width;
39 39
40 // Sets the notification contents. 40 // Sets the notification contents.
41 - (void)setNotifications:(const autofill::DialogNotifications&) notifications; 41 - (void)setNotifications:(const autofill::DialogNotifications&) notifications;
42 42
43 @end 43 @end
44 44
45 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_ 45 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_NOTIFICATION_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698