blob: f177d5fbeba817fdc69f8d2b0e5c411680a6c029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_WINDOW_STATE_OBSERVER_H_
#define ASH_WM_WINDOW_STATE_OBSERVER_H_
#include "ash/ash_export.h"
#include "ash/wm/wm_types.h"
namespace ash {
namespace wm {
class WindowState;
class ASH_EXPORT WindowStateObserver {
public:
// 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 old_type) {}
};
} // namespace wm
} // namespace ash
#endif // ASH_WM_WINDOW_STATE_OBSERVER_H_
|