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 8 #include "base/compiler_specific.h" 9 #include "ui/base/models/tree_node_model.h" 10 11 namespace aura { 12 class Window; 13 } 14 15 namespace oak { 16 namespace internal { 17 18 typedef ui::TreeNodeWithValue<aura::Window*> WindowNode; 19 typedef ui::TreeNodeModel<WindowNode> TreeOfWindows; 20 21 TreeOfWindows* GenerateModel(aura::Window* root); 22 23 } // namespace internal 24 } // namespace oak 25 26 #endif // UI_OAK_OAK_TREE_MODEL_H_ 27