diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-04 15:54:53 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-04 15:54:53 +0000 |
commit | aa26c8840dcdbcb207e2792256c355d7b3340da3 (patch) | |
tree | e8edc730fa195530af29abb3c89db68c3242b962 | |
parent | 193a1f54488858445239b8f989859a9d77d8e7de (diff) | |
download | chromium_src-aa26c8840dcdbcb207e2792256c355d7b3340da3.zip chromium_src-aa26c8840dcdbcb207e2792256c355d7b3340da3.tar.gz chromium_src-aa26c8840dcdbcb207e2792256c355d7b3340da3.tar.bz2 |
ash: Clarify OnWindowStateChanged parameter name
Be clear that the "type" is the old value.
BUG=None
TEST=compiles
R=oshima@chromium.org
Review URL: https://codereview.chromium.org/25952002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227010 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ash/wm/window_state_observer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ash/wm/window_state_observer.h b/ash/wm/window_state_observer.h index c8bb553..0a96713 100644 --- a/ash/wm/window_state_observer.h +++ b/ash/wm/window_state_observer.h @@ -18,12 +18,12 @@ class ASH_EXPORT WindowStateObserver { WindowState* window, bool old_value) {} - // Called when the window's show type has changed. - // This is different from kWindowShowStatekey property change - // as this will be invoked when the window gets left/right maximized, - // and auto positioned. + // Called when the window's show type has changed. This is different from + // kWindowShowStatekey property change as this will be invoked when the window + // gets left/right maximized, and auto positioned. |old_type| is the value + // before the change. virtual void OnWindowShowTypeChanged(WindowState* window_state, - WindowShowType type) {} + WindowShowType old_type) {} }; } // namespace wm |