OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AVATAR_MENU_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_MENU_BUTTON_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_MENU_BUTTON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/base/models/simple_menu_model.h" | 11 #include "ui/base/models/simple_menu_model.h" |
12 #include "ui/views/controls/button/menu_button.h" | 12 #include "ui/views/controls/button/menu_button.h" |
13 #include "ui/views/controls/button/menu_button_listener.h" | 13 #include "ui/views/controls/button/menu_button_listener.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Canvas; | 16 class Canvas; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 scoped_ptr<gfx::Image> icon_; | 64 scoped_ptr<gfx::Image> icon_; |
65 gfx::ImageSkia button_icon_; | 65 gfx::ImageSkia button_icon_; |
66 bool is_rectangle_; | 66 bool is_rectangle_; |
67 int old_height_; | 67 int old_height_; |
68 // True if the avatar button is on the right side of the browser window. | 68 // True if the avatar button is on the right side of the browser window. |
69 bool button_on_right_; | 69 bool button_on_right_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(AvatarMenuButton); | 71 DISALLOW_COPY_AND_ASSIGN(AvatarMenuButton); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ | 74 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_MENU_BUTTON_H_ |
OLD | NEW |