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

Side by Side Diff: views/controls/button/button.h

Issue 1751018: Remove unused local variables now that subclasses don't need to track their o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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/browser/views/tabs/tab_strip.h ('k') | views/controls/combobox/combobox.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_BUTTON_BUTTON_H_ 5 #ifndef VIEWS_CONTROLS_BUTTON_BUTTON_H_
6 #define VIEWS_CONTROLS_BUTTON_BUTTON_H_ 6 #define VIEWS_CONTROLS_BUTTON_BUTTON_H_
7 7
8 #include "views/view.h" 8 #include "views/view.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // The button's listener. Notified when clicked. 51 // The button's listener. Notified when clicked.
52 ButtonListener* listener_; 52 ButtonListener* listener_;
53 53
54 private: 54 private:
55 // The text shown in a tooltip. 55 // The text shown in a tooltip.
56 std::wstring tooltip_text_; 56 std::wstring tooltip_text_;
57 57
58 // Accessibility data. 58 // Accessibility data.
59 std::wstring accessible_shortcut_; 59 std::wstring accessible_shortcut_;
60 std::wstring accessible_name_;
61 60
62 // The id tag associated with this button. Used to disambiguate buttons in 61 // The id tag associated with this button. Used to disambiguate buttons in
63 // the ButtonListener implementation. 62 // the ButtonListener implementation.
64 int tag_; 63 int tag_;
65 64
66 // Event flags present when the button was clicked. 65 // Event flags present when the button was clicked.
67 int mouse_event_flags_; 66 int mouse_event_flags_;
68 67
69 DISALLOW_COPY_AND_ASSIGN(Button); 68 DISALLOW_COPY_AND_ASSIGN(Button);
70 }; 69 };
71 70
72 } // namespace views 71 } // namespace views
73 72
74 #endif // VIEWS_CONTROLS_BUTTON_BUTTON_H_ 73 #endif // VIEWS_CONTROLS_BUTTON_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/tab_strip.h ('k') | views/controls/combobox/combobox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698