| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOFILL_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // The input set by ShowTextfield. | 329 // The input set by ShowTextfield. |
| 330 ExpandingTextfield* textfield_; | 330 ExpandingTextfield* textfield_; |
| 331 | 331 |
| 332 DISALLOW_COPY_AND_ASSIGN(SuggestionView); | 332 DISALLOW_COPY_AND_ASSIGN(SuggestionView); |
| 333 }; | 333 }; |
| 334 | 334 |
| 335 // A convenience struct for holding pointers to views within each detail | 335 // A convenience struct for holding pointers to views within each detail |
| 336 // section. None of the member pointers are owned. | 336 // section. None of the member pointers are owned. |
| 337 struct DetailsGroup { | 337 struct DetailsGroup { |
| 338 explicit DetailsGroup(DialogSection section); | 338 explicit DetailsGroup(DialogSection section); |
| 339 DetailsGroup(const DetailsGroup& other); |
| 339 ~DetailsGroup(); | 340 ~DetailsGroup(); |
| 340 | 341 |
| 341 // The section this group is associated with. | 342 // The section this group is associated with. |
| 342 const DialogSection section; | 343 const DialogSection section; |
| 343 // The view that contains the entire section (label + input). | 344 // The view that contains the entire section (label + input). |
| 344 SectionContainer* container; | 345 SectionContainer* container; |
| 345 // The view that allows manual input. | 346 // The view that allows manual input. |
| 346 views::View* manual_input; | 347 views::View* manual_input; |
| 347 // The textfields in |manual_input|, tracked by their ServerFieldType. | 348 // The textfields in |manual_input|, tracked by their ServerFieldType. |
| 348 TextfieldMap textfields; | 349 TextfieldMap textfields; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 | 537 |
| 537 // Used to tell the delegate when focus moves to hide the Autofill popup. | 538 // Used to tell the delegate when focus moves to hide the Autofill popup. |
| 538 scoped_ptr<ui::EventHandler> event_handler_; | 539 scoped_ptr<ui::EventHandler> event_handler_; |
| 539 | 540 |
| 540 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 541 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
| 541 }; | 542 }; |
| 542 | 543 |
| 543 } // namespace autofill | 544 } // namespace autofill |
| 544 | 545 |
| 545 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 546 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
| OLD | NEW |