| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_DELEGATE_H_ | |
| 7 | |
| 8 #include "ui/views/controls/button/button.h" | |
| 9 | |
| 10 // Delegate allowing NewAvatarButton to communicate back to its manager. | |
| 11 class AvatarButtonDelegate : public views::ButtonListener { | |
| 12 public: | |
| 13 // Called when the preferred size changed, e.g., due to a profile name change. | |
| 14 virtual void ButtonPreferredSizeChanged() = 0; | |
| 15 }; | |
| 16 | |
| 17 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_DELEGATE_H_ | |
| OLD | NEW |