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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_details_container.h

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_DETAILS_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DETAILS_CONTAINER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DETAILS_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DETAILS_CONTAINER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
12 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" 11 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
13 #import "chrome/browser/ui/cocoa/autofill/autofill_section_container.h" 12 #import "chrome/browser/ui/cocoa/autofill/autofill_section_container.h"
14 13 #include "components/autofill/core/browser/ui/autofill_dialog_types.h"
15 14
16 namespace autofill { 15 namespace autofill {
17 class AutofillDialogViewDelegate; 16 class AutofillDialogViewDelegate;
18 } 17 }
19 18
20 @class InfoBubbleView; 19 @class InfoBubbleView;
21 @class AutofillBubbleController; 20 @class AutofillBubbleController;
22 21
23 // UI controller for details for current payment instrument. 22 // UI controller for details for current payment instrument.
24 @interface AutofillDetailsContainer 23 @interface AutofillDetailsContainer
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Finds the first visible user input field. Returns nil if no field is found. 63 // Finds the first visible user input field. Returns nil if no field is found.
65 // Looks at both direct input fields and input fields in suggestions. 64 // Looks at both direct input fields and input fields in suggestions.
66 - (NSControl*)firstVisibleField; 65 - (NSControl*)firstVisibleField;
67 66
68 // Positions the scrollview so that given |field| is visible. 67 // Positions the scrollview so that given |field| is visible.
69 - (void)scrollToView:(NSView*)field; 68 - (void)scrollToView:(NSView*)field;
70 69
71 @end 70 @end
72 71
73 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DETAILS_CONTAINER_H_ 72 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DETAILS_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698