summaryrefslogtreecommitdiffstats
path: root/ui/oak/oak_tree_model.h
blob: f68912d8b841fa82cdb8dce4deae51318a571936 (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
// Copyright (c) 2012 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 UI_OAK_OAK_TREE_MODEL_H_
#define UI_OAK_OAK_TREE_MODEL_H_

#include "base/compiler_specific.h"
#include "ui/base/models/tree_node_model.h"

namespace aura {
class Window;
}

namespace oak {
namespace internal {

typedef ui::TreeNodeWithValue<aura::Window*> WindowNode;
typedef ui::TreeNodeModel<WindowNode> TreeOfWindows;

TreeOfWindows* GenerateModel(aura::Window* root);

}  // namespace internal
}  // namespace oak

#endif  // UI_OAK_OAK_TREE_MODEL_H_