Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: ui/oak/oak_tree_model.h

Issue 9662022: Basic skeleton of a window/layer/view inspector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/oak/oak_tree_model.h
===================================================================
--- ui/oak/oak_tree_model.h (revision 0)
+++ ui/oak/oak_tree_model.h (revision 0)
@@ -0,0 +1,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_
Property changes on: ui\oak\oak_tree_model.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698