OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "views/view.h" | 5 #include "views/view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 void View::SetHotTracked(bool flag) { | 81 void View::SetHotTracked(bool flag) { |
82 } | 82 } |
83 | 83 |
84 bool View::IsHotTracked() const { | 84 bool View::IsHotTracked() const { |
85 return false; | 85 return false; |
86 } | 86 } |
87 | 87 |
88 // FATE TBD -------------------------------------------------------------------- | 88 // FATE TBD -------------------------------------------------------------------- |
89 | 89 |
90 Widget* View::child_widget() { | 90 Widget* View::GetChildWidget() { |
91 return NULL; | 91 return NULL; |
92 } | 92 } |
93 | 93 |
94 // Creation and lifetime ------------------------------------------------------- | 94 // Creation and lifetime ------------------------------------------------------- |
95 | 95 |
96 View::View() | 96 View::View() |
97 : enabled_(true), | 97 : enabled_(true), |
98 id_(0), | 98 id_(0), |
99 group_(-1), | 99 group_(-1), |
100 focusable_(false), | 100 focusable_(false), |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1875 result.append(GetChildViewAt(i)->PrintViewGraph(false)); | 1875 result.append(GetChildViewAt(i)->PrintViewGraph(false)); |
1876 | 1876 |
1877 if (first) | 1877 if (first) |
1878 result.append("}\n"); | 1878 result.append("}\n"); |
1879 | 1879 |
1880 return result; | 1880 return result; |
1881 } | 1881 } |
1882 #endif | 1882 #endif |
1883 | 1883 |
1884 } // namespace views | 1884 } // namespace views |
OLD | NEW |