diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 02:23:06 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 02:23:06 +0000 |
commit | 09fe9499ec1cb0d327a03e433022cb8603a16933 (patch) | |
tree | 94322e3ec5b44213991a6472146a341844e5a39c /views/view.h | |
parent | 47cc0b4e64ab6cd03ef94674adb7788bc85f2cdc (diff) | |
download | chromium_src-09fe9499ec1cb0d327a03e433022cb8603a16933.zip chromium_src-09fe9499ec1cb0d327a03e433022cb8603a16933.tar.gz chromium_src-09fe9499ec1cb0d327a03e433022cb8603a16933.tar.bz2 |
Fix style issues in View class.
BUG=None
TEST=None
Patch contributed by thiago.farina@gmail.com
Review URL: http://codereview.chromium.org/338011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.h')
-rw-r--r-- | views/view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/view.h b/views/view.h index 8f362f1..d7144f7 100644 --- a/views/view.h +++ b/views/view.h @@ -874,10 +874,12 @@ class View : public AcceleratorTarget { // parent is automatically deleted when the parent is deleted. The default is // true. Set to false if the view is owned by another object and should not // be deleted by its parent. - void SetParentOwned(bool f); + void set_parent_owned(bool is_parent_owned) { + is_parent_owned_ = is_parent_owned; + } - // Return whether a view is owned by its parent. See SetParentOwned() - bool IsParentOwned() const; + // Return whether a view is owned by its parent. + bool IsParentOwned() const { return is_parent_owned_; } // Return the receiving view's class name. A view class is a string which // uniquely identifies the view class. It is intended to be used as a way to |