OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/infobars/core/confirm_infobar_delegate.h" | 9 #include "components/infobars/core/confirm_infobar_delegate.h" |
9 #include "ui/gfx/range/range.h" | 10 #include "ui/gfx/range/range.h" |
10 | 11 |
11 // Base class for some of the password manager infobar delegates, e.g. | 12 // Base class for some of the password manager infobar delegates, e.g. |
12 // SavePasswordInfoBarDelegate. | 13 // SavePasswordInfoBarDelegate. |
13 class PasswordManagerInfoBarDelegate : public ConfirmInfoBarDelegate { | 14 class PasswordManagerInfoBarDelegate : public ConfirmInfoBarDelegate { |
14 public: | 15 public: |
15 ~PasswordManagerInfoBarDelegate() override; | 16 ~PasswordManagerInfoBarDelegate() override; |
16 | 17 |
17 const gfx::Range& message_link_range() const { return message_link_range_; } | 18 const gfx::Range& message_link_range() const { return message_link_range_; } |
(...skipping 19 matching lines...) Expand all Loading... |
37 base::string16 message_; | 38 base::string16 message_; |
38 | 39 |
39 // If set, describes the location of the link to the help center article for | 40 // If set, describes the location of the link to the help center article for |
40 // Smart Lock. | 41 // Smart Lock. |
41 gfx::Range message_link_range_; | 42 gfx::Range message_link_range_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(PasswordManagerInfoBarDelegate); | 44 DISALLOW_COPY_AND_ASSIGN(PasswordManagerInfoBarDelegate); |
44 }; | 45 }; |
45 | 46 |
46 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ | 47 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_INFOBAR_DELEGATE_H_ |
OLD | NEW |