| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // TO BE MOVED ----------------------------------------------------------------- | 80 // TO BE MOVED ----------------------------------------------------------------- |
| 81 | 81 |
| 82 void View::SetHotTracked(bool flag) { | 82 void View::SetHotTracked(bool flag) { |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool View::IsHotTracked() const { | 85 bool View::IsHotTracked() const { |
| 86 return false; | 86 return false; |
| 87 } | 87 } |
| 88 | 88 |
| 89 // FATE TBD -------------------------------------------------------------------- | |
| 90 | |
| 91 Widget* View::GetChildWidget() { | |
| 92 return NULL; | |
| 93 } | |
| 94 | |
| 95 // Creation and lifetime ------------------------------------------------------- | 89 // Creation and lifetime ------------------------------------------------------- |
| 96 | 90 |
| 97 View::View() | 91 View::View() |
| 98 : parent_owned_(true), | 92 : parent_owned_(true), |
| 99 id_(0), | 93 id_(0), |
| 100 group_(-1), | 94 group_(-1), |
| 101 parent_(NULL), | 95 parent_(NULL), |
| 102 visible_(true), | 96 visible_(true), |
| 103 enabled_(true), | 97 enabled_(true), |
| 104 registered_for_visible_bounds_notification_(false), | 98 registered_for_visible_bounds_notification_(false), |
| (...skipping 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 result.append(GetChildViewAt(i)->PrintViewGraph(false)); | 1828 result.append(GetChildViewAt(i)->PrintViewGraph(false)); |
| 1835 | 1829 |
| 1836 if (first) | 1830 if (first) |
| 1837 result.append("}\n"); | 1831 result.append("}\n"); |
| 1838 | 1832 |
| 1839 return result; | 1833 return result; |
| 1840 } | 1834 } |
| 1841 #endif | 1835 #endif |
| 1842 | 1836 |
| 1843 } // namespace views | 1837 } // namespace views |
| OLD | NEW |