| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_STAR_TOGGLE_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_STAR_TOGGLE_H_ |
| 6 #define CHROME_BROWSER_VIEWS_STAR_TOGGLE_H__ | 6 #define CHROME_BROWSER_VIEWS_STAR_TOGGLE_H_ |
| 7 | 7 |
| 8 #include "chrome/views/view.h" | 8 #include "chrome/views/view.h" |
| 9 #include "chrome/views/event.h" | 9 #include "chrome/views/event.h" |
| 10 | 10 |
| 11 class SkBitmap; | 11 class SkBitmap; |
| 12 | 12 |
| 13 //////////////////////////////////////////////////////////////////////////////// | 13 //////////////////////////////////////////////////////////////////////////////// |
| 14 // | 14 // |
| 15 // A view subclass to implement the star button. The star button notifies its | 15 // A view subclass to implement the star button. The star button notifies its |
| 16 // Delegate when the state changes. | 16 // Delegate when the state changes. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 // Parent to be notified. | 60 // Parent to be notified. |
| 61 Delegate* delegate_; | 61 Delegate* delegate_; |
| 62 | 62 |
| 63 // See note in setter. | 63 // See note in setter. |
| 64 bool change_state_immediately_; | 64 bool change_state_immediately_; |
| 65 | 65 |
| 66 DISALLOW_EVIL_CONSTRUCTORS(StarToggle); | 66 DISALLOW_EVIL_CONSTRUCTORS(StarToggle); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_VIEWS_STAR_TOGGLE_H__ | 69 #endif // CHROME_BROWSER_VIEWS_STAR_TOGGLE_H_ |
| 70 | |
| OLD | NEW |