| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h" | 5 #include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 8 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/browser/ui/browser_finder.h" | 12 #include "chrome/browser/ui/browser_finder.h" |
| 12 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" | 13 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" |
| 13 #include "chrome/browser/ui/views/frame/browser_view.h" | 14 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 14 #include "chrome/browser/ui/views/passwords/credentials_item_view.h" | 15 #include "chrome/browser/ui/views/passwords/credentials_item_view.h" |
| 15 #include "chrome/browser/ui/views/passwords/credentials_selection_view.h" | 16 #include "chrome/browser/ui/views/passwords/credentials_selection_view.h" |
| 16 #include "chrome/browser/ui/views/passwords/manage_password_items_view.h" | 17 #include "chrome/browser/ui/views/passwords/manage_password_items_view.h" |
| (...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 AddChildView(new SaveConfirmationView(this)); | 1030 AddChildView(new SaveConfirmationView(this)); |
| 1030 } else if (model_.state() == password_manager::ui::CREDENTIAL_REQUEST_STATE) { | 1031 } else if (model_.state() == password_manager::ui::CREDENTIAL_REQUEST_STATE) { |
| 1031 AddChildView(new AccountChooserView(this)); | 1032 AddChildView(new AccountChooserView(this)); |
| 1032 } else if (model_.state() == password_manager::ui::AUTO_SIGNIN_STATE) { | 1033 } else if (model_.state() == password_manager::ui::AUTO_SIGNIN_STATE) { |
| 1033 AddChildView(new AutoSigninView(this)); | 1034 AddChildView(new AutoSigninView(this)); |
| 1034 } else { | 1035 } else { |
| 1035 AddChildView(new ManageView(this)); | 1036 AddChildView(new ManageView(this)); |
| 1036 } | 1037 } |
| 1037 GetLayoutManager()->Layout(this); | 1038 GetLayoutManager()->Layout(this); |
| 1038 } | 1039 } |
| OLD | NEW |