summaryrefslogtreecommitdiffstats
path: root/ui/oak/oak_tree_model.h
blob: ee62b858bf7f6d9582588b97bfde8ad0591957ad (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 (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_
#pragma once

#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.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_