| 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 #include "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| 11 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 11 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
| 12 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" | 12 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" |
| 13 #include "chrome/browser/ui/autofill/data_model_wrapper.h" | 13 #include "chrome/browser/ui/autofill/data_model_wrapper.h" |
| 14 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h" | 14 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h" |
| 15 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 17 #include "chrome/test/base/in_process_browser_test.h" | 17 #include "chrome/test/base/in_process_browser_test.h" |
| 18 #include "components/autofill/browser/autofill_common_test.h" | |
| 19 #include "components/autofill/browser/autofill_metrics.h" | |
| 20 #include "components/autofill/browser/test_personal_data_manager.h" | |
| 21 #include "components/autofill/browser/validation.h" | |
| 22 #include "components/autofill/content/browser/wallet/wallet_test_util.h" | 18 #include "components/autofill/content/browser/wallet/wallet_test_util.h" |
| 19 #include "components/autofill/core/browser/autofill_common_test.h" |
| 20 #include "components/autofill/core/browser/autofill_metrics.h" |
| 21 #include "components/autofill/core/browser/test_personal_data_manager.h" |
| 22 #include "components/autofill/core/browser/validation.h" |
| 23 #include "components/autofill/core/common/autofill_switches.h" | 23 #include "components/autofill/core/common/autofill_switches.h" |
| 24 #include "components/autofill/core/common/form_data.h" | 24 #include "components/autofill/core/common/form_data.h" |
| 25 #include "components/autofill/core/common/form_field_data.h" | 25 #include "components/autofill/core/common/form_field_data.h" |
| 26 #include "content/public/test/test_utils.h" | 26 #include "content/public/test/test_utils.h" |
| 27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
| 28 | 28 |
| 29 namespace autofill { | 29 namespace autofill { |
| 30 | 30 |
| 31 namespace { | 31 namespace { |
| 32 | 32 |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 "culpa qui officia deserunt mollit anim id est laborum."))); | 564 "culpa qui officia deserunt mollit anim id est laborum."))); |
| 565 controller()->set_notifications(notifications); | 565 controller()->set_notifications(notifications); |
| 566 controller()->view()->UpdateNotificationArea(); | 566 controller()->view()->UpdateNotificationArea(); |
| 567 | 567 |
| 568 EXPECT_EQ(no_notification_size.width(), | 568 EXPECT_EQ(no_notification_size.width(), |
| 569 controller()->view()->GetTestableView()->GetSize().width()); | 569 controller()->view()->GetTestableView()->GetSize().width()); |
| 570 } | 570 } |
| 571 #endif // defined(TOOLKIT_VIEWS) | 571 #endif // defined(TOOLKIT_VIEWS) |
| 572 | 572 |
| 573 } // namespace autofill | 573 } // namespace autofill |
| OLD | NEW |