Chromium Code Reviews| Index: views/view.h |
| diff --git a/views/view.h b/views/view.h |
| index 25b6e0f34d7d21390ded808f9f7c471f35cc3ccd..12e39d8e5f05db0be25162944d95fe41d7244ff6 100644 |
| --- a/views/view.h |
| +++ b/views/view.h |
| @@ -317,11 +317,13 @@ class View : public AcceleratorTarget { |
| // Set whether this view is enabled. A disabled view does not receive keyboard |
| // or mouse inputs. If flag differs from the current value, SchedulePaint is |
| // invoked. |
| - virtual void SetEnabled(bool flag); |
| + void SetEnabled(bool enabled); |
| // Returns whether the view is enabled. |
| virtual bool IsEnabled() const; |
| + virtual void OnEnabledChanged(); |
|
Ben Goodger (Google)
2011/05/27 16:30:15
This method should be in the protected: section.
tfarina
2011/05/27 16:47:54
Done.
|
| + |
| // Transformations ----------------------------------------------------------- |
| // Methods for setting transformations for a view (e.g. rotation, scaling). |