| 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 is_visible_(true), | 96 is_visible_(true), |
| 103 enabled_(true), | 97 enabled_(true), |
| 104 registered_for_visible_bounds_notification_(false), | 98 registered_for_visible_bounds_notification_(false), |
| (...skipping 1790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1895 result.append(GetChildViewAt(i)->PrintViewGraph(false)); | 1889 result.append(GetChildViewAt(i)->PrintViewGraph(false)); |
| 1896 | 1890 |
| 1897 if (first) | 1891 if (first) |
| 1898 result.append("}\n"); | 1892 result.append("}\n"); |
| 1899 | 1893 |
| 1900 return result; | 1894 return result; |
| 1901 } | 1895 } |
| 1902 #endif | 1896 #endif |
| 1903 | 1897 |
| 1904 } // namespace views | 1898 } // namespace views |
| OLD | NEW |