OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PROFILES_NEW_AVATAR_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_NEW_AVATAR_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/profiles/profile_attributes_storage.h" | 9 #include "chrome/browser/profiles/profile_attributes_storage.h" |
10 #include "chrome/browser/ui/avatar_button_error_controller.h" | 10 #include "chrome/browser/ui/avatar_button_error_controller.h" |
11 #include "chrome/browser/ui/avatar_button_error_controller_delegate.h" | 11 #include "chrome/browser/ui/avatar_button_error_controller_delegate.h" |
12 #include "chrome/browser/ui/views/profiles/avatar_button_style.h" | 12 #include "chrome/browser/ui/views/profiles/avatar_button_style.h" |
13 #include "ui/views/controls/button/label_button.h" | 13 #include "ui/views/controls/button/label_button.h" |
14 | 14 |
15 class AvatarButtonDelegate; | 15 class AvatarButtonDelegate; |
16 class Profile; | 16 class Profile; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 gfx::ImageSkia generic_avatar_; | 60 gfx::ImageSkia generic_avatar_; |
61 | 61 |
62 // This is used to check if the bubble was showing during the mouse pressed | 62 // This is used to check if the bubble was showing during the mouse pressed |
63 // event. If this is true then the mouse released event is ignored to prevent | 63 // event. If this is true then the mouse released event is ignored to prevent |
64 // the bubble from reshowing. | 64 // the bubble from reshowing. |
65 bool suppress_mouse_released_action_; | 65 bool suppress_mouse_released_action_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(NewAvatarButton); | 67 DISALLOW_COPY_AND_ASSIGN(NewAvatarButton); |
68 }; | 68 }; |
69 | 69 |
70 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_NEW_AVATAR_BUTTON_H_ | 70 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_BUTTON_H_ |
OLD | NEW |