| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h" | 5 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 8 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h" | 10 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h" |
| 9 #import "chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h" | 11 #import "chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h" |
| 10 #import "chrome/browser/ui/cocoa/autofill/autofill_main_container.h" | 12 #import "chrome/browser/ui/cocoa/autofill/autofill_main_container.h" |
| 11 #import "chrome/browser/ui/cocoa/autofill/autofill_section_container.h" | 13 #import "chrome/browser/ui/cocoa/autofill/autofill_section_container.h" |
| 12 | 14 |
| 13 | 15 |
| 14 // Mirrors the AutofillDialogViewTester API on the C++ side. | 16 // Mirrors the AutofillDialogViewTester API on the C++ side. |
| 15 @interface AutofillDialogWindowController (AutofillDialogViewTesterCocoa) | 17 @interface AutofillDialogWindowController (AutofillDialogViewTesterCocoa) |
| 16 | 18 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 autofill::DialogSection section) const { | 125 autofill::DialogSection section) const { |
| 124 return [controller() isShowingSection:section]; | 126 return [controller() isShowingSection:section]; |
| 125 } | 127 } |
| 126 | 128 |
| 127 AutofillDialogWindowController* | 129 AutofillDialogWindowController* |
| 128 AutofillDialogViewTesterCocoa::controller() const { | 130 AutofillDialogViewTesterCocoa::controller() const { |
| 129 return dialog_->sheet_delegate_; | 131 return dialog_->sheet_delegate_; |
| 130 } | 132 } |
| 131 | 133 |
| 132 } // namespace autofill | 134 } // namespace autofill |
| OLD | NEW |