|
views: Add OnEnabledChanged() method to View class.
Changes done here:
- Override OnEnabledChanged() in the derived classes from View instead of SetEnable().
- Make SetEnable() a member function not a virtual one.
- Make |enabled_| a private data member variable not a protected one.
- Some other misc cleanups.
Note: The third item was a TODO for beng.
BUG= 72040
TEST=None
R=ben@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87080
Total comments: 22
Total comments: 2
Total comments: 1
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+89 lines, -99 lines) |
Patch |
 |
M |
views/controls/button/checkbox.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/button/checkbox.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
views/controls/button/custom_button.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/controls/button/custom_button.cc
|
View
|
1
2
3
4
7
8
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
views/controls/button/native_button.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/button/native_button.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/controls/button/text_button.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/button/text_button.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
views/controls/combobox/combobox.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/combobox/combobox.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/controls/label.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/label.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
views/controls/link.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/link.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
views/controls/native_control.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/controls/native_control.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
views/controls/native_control_gtk.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/native_control_gtk.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
views/controls/native_control_win.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/native_control_win.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
views/controls/progress_bar.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/controls/progress_bar.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
views/controls/resize_area.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/textfield/textfield.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/textfield/textfield.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
views/view.h
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
views/view.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|