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 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
9 #include "chrome/browser/ui/passwords/manage_passwords_icon_view.h" | 10 #include "chrome/browser/ui/passwords/manage_passwords_icon_view.h" |
10 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" | 11 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" |
11 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 12 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
12 #include "ui/views/controls/image_view.h" | 13 #include "ui/views/controls/image_view.h" |
13 | 14 |
14 class CommandUpdater; | 15 class CommandUpdater; |
15 class ManagePasswordsUIController; | 16 class ManagePasswordsUIController; |
16 | 17 |
17 // View for the password icon in the Omnibox. | 18 // View for the password icon in the Omnibox. |
(...skipping 21 matching lines...) Expand all Loading... |
39 | 40 |
40 // Updates the UI to match |state_|. | 41 // Updates the UI to match |state_|. |
41 void UpdateUiForState(); | 42 void UpdateUiForState(); |
42 | 43 |
43 password_manager::ui::State state_; | 44 password_manager::ui::State state_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconViews); | 46 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconViews); |
46 }; | 47 }; |
47 | 48 |
48 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ | 49 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ |
OLD | NEW |