forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindow_state_aura.h
33 lines (23 loc) · 876 Bytes
/
window_state_aura.h
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
29
30
31
32
33
// Copyright 2016 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_AURA_H_
#define ASH_WM_WINDOW_STATE_AURA_H_
#include "ash/ash_export.h"
namespace aura {
class Window;
}
namespace ash {
namespace wm {
class WindowState;
// Returns the WindowState for active window. Returns |NULL|
// if there is no active window.
ASH_EXPORT WindowState* GetActiveWindowState();
// Returns the WindowState for |window|. Creates WindowState
// if it didn't exist. The settings object is owned by |window|.
ASH_EXPORT WindowState* GetWindowState(aura::Window* window);
// const version of GetWindowState.
ASH_EXPORT const WindowState* GetWindowState(const aura::Window* window);
} // namespace wm
} // namespace ash
#endif // ASH_WM_WINDOW_STATE_AURA_H_