Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/views/base_button.h

Issue 20112: Cleanup forward declared classes that are not needed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/window_proxy.h ('k') | chrome/views/button.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_VIEWS_BASE_BUTTON_H__ 5 #ifndef CHROME_VIEWS_BASE_BUTTON_H__
6 #define CHROME_VIEWS_BASE_BUTTON_H__ 6 #define CHROME_VIEWS_BASE_BUTTON_H__
7 7
8 #include "chrome/common/animation.h" 8 #include "chrome/common/animation.h"
9 #include "chrome/views/event.h" 9 #include "chrome/views/event.h"
10 #include "chrome/views/view.h" 10 #include "chrome/views/view.h"
11 11
12 class OSExchangeData;
13 class ThrobAnimation; 12 class ThrobAnimation;
14 13
15 namespace views { 14 namespace views {
16 15
17 class MouseEvent; 16 class MouseEvent;
18 17
19 //////////////////////////////////////////////////////////////////////////////// 18 ////////////////////////////////////////////////////////////////////////////////
20 // 19 //
21 // BaseButton 20 // BaseButton
22 // 21 //
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 std::wstring accessible_shortcut_; 157 std::wstring accessible_shortcut_;
159 std::wstring accessible_name_; 158 std::wstring accessible_name_;
160 159
161 // The button state (defined in implementation) 160 // The button state (defined in implementation)
162 int state_; 161 int state_;
163 162
164 // Hover animation. 163 // Hover animation.
165 scoped_ptr<ThrobAnimation> hover_animation_; 164 scoped_ptr<ThrobAnimation> hover_animation_;
166 165
167 private: 166 private:
168 DISALLOW_EVIL_CONSTRUCTORS(BaseButton);
169
170 // The current listener 167 // The current listener
171 ButtonListener* listener_; 168 ButtonListener* listener_;
172 169
173 // tag storage 170 // tag storage
174 int tag_; 171 int tag_;
175 172
176 // See description in mouse_event_flags(). 173 // See description in mouse_event_flags().
177 int mouse_event_flags_; 174 int mouse_event_flags_;
178 175
179 // Should we animate when the state changes? Defaults to true, but false while 176 // Should we animate when the state changes? Defaults to true, but false while
180 // throbbing. 177 // throbbing.
181 bool animate_on_state_change_; 178 bool animate_on_state_change_;
179
180 DISALLOW_COPY_AND_ASSIGN(BaseButton);
182 }; 181 };
183 182
184 } // namespace views 183 } // namespace views
185 184
186 #endif // CHROME_VIEWS_BASE_BUTTON_H__ 185 #endif // CHROME_VIEWS_BASE_BUTTON_H__
OLDNEW
« no previous file with comments | « chrome/test/automation/window_proxy.h ('k') | chrome/views/button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698