OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_OAK_OAK_TREE_MODEL_H_ |
| 6 #define UI_OAK_OAK_TREE_MODEL_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "ui/base/models/tree_node_model.h" |
| 12 |
| 13 namespace aura { |
| 14 class Window; |
| 15 } |
| 16 |
| 17 namespace oak { |
| 18 namespace internal { |
| 19 |
| 20 typedef ui::TreeNodeWithValue<aura::Window*> WindowNode; |
| 21 typedef ui::TreeNodeModel<WindowNode> TreeOfWindows; |
| 22 |
| 23 TreeOfWindows* GenerateModel(aura::Window* root); |
| 24 |
| 25 } // namespace internal |
| 26 } // namespace oak |
| 27 |
| 28 #endif // UI_OAK_OAK_TREE_MODEL_H_ |
OLD | NEW |