Home | History | Annotate | Download | only in views

Lines Matching refs:view

11 #include "ui/views/view.h"
15 void PrintViewHierarchyImp(const View* view,
21 *out << base::UTF8ToWide(view->GetClassName());
23 *out << view->id();
25 *out << view->x() << L"," << view->y() << L",";
26 *out << view->bounds().right() << L"," << view->bounds().bottom();
28 *out << view;
31 for (int i = 0, count = view->child_count(); i < count; ++i)
32 PrintViewHierarchyImp(view->child_at(i), indent + 2, out);
35 void PrintFocusHierarchyImp(const View* view,
41 *out << base::UTF8ToWide(view->GetClassName());
43 *out << view->id();
45 *out << view->GetClassName();
47 *out << view;
50 if (view->child_count() > 0)
51 PrintFocusHierarchyImp(view->child_at(0), indent + 2, out);
53 const View* next_focusable = view->GetNextFocusableView();
59 void PrintViewHierarchy(const View* view) {
61 out << L"View hierarchy:\n";
62 PrintViewHierarchyImp(view, 0, &out);
67 void PrintFocusHierarchy(const View* view) {
70 PrintFocusHierarchyImp(view, 0, &out);