OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/oak/oak_aura_window_display.h" | 5 #include "ui/oak/oak_aura_window_display.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 case ROW_TRANSPARENT: | 116 case ROW_TRANSPARENT: |
117 return PropertyWithBool("Transparent: ", window_->transparent()); | 117 return PropertyWithBool("Transparent: ", window_->transparent()); |
118 case ROW_LAYER: | 118 case ROW_LAYER: |
119 return PropertyWithVoidStar("Layer: ", window_->layer()); | 119 return PropertyWithVoidStar("Layer: ", window_->layer()); |
120 case ROW_VISIBLE: | 120 case ROW_VISIBLE: |
121 return PropertyWithBool("Visible: ", window_->IsVisible()); | 121 return PropertyWithBool("Visible: ", window_->IsVisible()); |
122 case ROW_BOUNDS: | 122 case ROW_BOUNDS: |
123 return PropertyWithBounds("Bounds: ", window_->bounds()); | 123 return PropertyWithBounds("Bounds: ", window_->bounds()); |
124 case ROW_BOUNDSINROOTWINDOW: | 124 case ROW_BOUNDSINROOTWINDOW: |
125 return PropertyWithBounds("Bounds in Root Window: ", | 125 return PropertyWithBounds("Bounds in Root Window: ", |
126 window_->GetRootWindowBounds()); | 126 window_->GetBoundsInRootWindow()); |
127 case ROW_TRANSFORM: | 127 case ROW_TRANSFORM: |
128 return ASCIIToUTF16("Transform:"); | 128 return ASCIIToUTF16("Transform:"); |
129 case ROW_PARENT: | 129 case ROW_PARENT: |
130 return PropertyWithVoidStar("Parent: ", window_->parent()); | 130 return PropertyWithVoidStar("Parent: ", window_->parent()); |
131 case ROW_ROOTWINDOW: | 131 case ROW_ROOTWINDOW: |
132 return PropertyWithVoidStar("Root Window: ", window_->GetRootWindow()); | 132 return PropertyWithVoidStar("Root Window: ", window_->GetRootWindow()); |
133 case ROW_TRANSIENTCHILDREN: | 133 case ROW_TRANSIENTCHILDREN: |
134 return PropertyWithInteger("Transient Children: ", | 134 return PropertyWithInteger("Transient Children: ", |
135 window_->transient_children().size()); | 135 window_->transient_children().size()); |
136 case ROW_TRANSIENTPARENT: | 136 case ROW_TRANSIENTPARENT: |
(...skipping 18 matching lines...) Expand all Loading... |
155 } | 155 } |
156 return EmptyString16(); | 156 return EmptyString16(); |
157 } | 157 } |
158 | 158 |
159 void OakAuraWindowDisplay::SetObserver(ui::TableModelObserver* observer) { | 159 void OakAuraWindowDisplay::SetObserver(ui::TableModelObserver* observer) { |
160 observer_ = observer; | 160 observer_ = observer; |
161 } | 161 } |
162 | 162 |
163 } // namespace internal | 163 } // namespace internal |
164 } // namespace oak | 164 } // namespace oak |
OLD | NEW |