| 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_AVATAR_MENU_BUTTON_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const gfx::Point& point) OVERRIDE; | 53 const gfx::Point& point) OVERRIDE; |
| 54 | 54 |
| 55 void ButtonClicked(); | 55 void ButtonClicked(); |
| 56 | 56 |
| 57 Browser* browser_; | 57 Browser* browser_; |
| 58 bool incognito_; | 58 bool incognito_; |
| 59 scoped_ptr<ui::MenuModel> menu_model_; | 59 scoped_ptr<ui::MenuModel> menu_model_; |
| 60 | 60 |
| 61 // Use a scoped ptr because gfx::Image doesn't have a default constructor. | 61 // Use a scoped ptr because gfx::Image doesn't have a default constructor. |
| 62 scoped_ptr<gfx::Image> icon_; | 62 scoped_ptr<gfx::Image> icon_; |
| 63 SkBitmap button_icon_; | 63 gfx::ImageSkia button_icon_; |
| 64 bool is_gaia_picture_; | 64 bool is_gaia_picture_; |
| 65 int old_height_; | 65 int old_height_; |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(AvatarMenuButton); | 67 DISALLOW_COPY_AND_ASSIGN(AvatarMenuButton); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ | 70 #endif // CHROME_BROWSER_UI_VIEWS_AVATAR_MENU_BUTTON_H_ |
| OLD | NEW |