| Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
|
| index b3bc8e74a78b502adb32ceeb7d4480fa306ed017..94eed7393cba505cfac96534e858f4780f5677ac 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
|
| @@ -7,6 +7,7 @@
|
| #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_constants.h"
|
| #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h"
|
| #import "chrome/browser/ui/cocoa/autofill/autofill_account_chooser.h"
|
| +#import "chrome/browser/ui/cocoa/autofill/autofill_details_container.h"
|
| #import "chrome/browser/ui/cocoa/key_equivalent_constants.h"
|
| #include "grit/generated_resources.h"
|
| #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
|
| @@ -48,6 +49,18 @@
|
| self.view = view;
|
|
|
| [self layoutButtons];
|
| +
|
| + detailsContainer_.reset(
|
| + [[AutofillDetailsContainer alloc] initWithController:controller_]);
|
| + NSSize frameSize = [[detailsContainer_ view] frame].size;
|
| + [[detailsContainer_ view] setFrameOrigin:
|
| + NSMakePoint(0, NSHeight([buttonContainer_ frame]))];
|
| + frameSize.height += NSHeight([accountChooser_ frame]);
|
| + frameSize.height += NSHeight([buttonContainer_ frame]);
|
| + [[detailsContainer_ view] setFrameOrigin:
|
| + NSMakePoint(0, NSHeight([buttonContainer_ frame]))];
|
| + [self.view setFrameSize:frameSize];
|
| + [self.view addSubview:[detailsContainer_ view]];
|
| }
|
|
|
| - (void)buildWindowButtonsForFrame:(NSRect)frame {
|
|
|