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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 window_->transient_parent()); | 138 window_->transient_parent()); |
139 case ROW_USERDATA: | 139 case ROW_USERDATA: |
140 return PropertyWithVoidStar("User Data: ", window_->user_data()); | 140 return PropertyWithVoidStar("User Data: ", window_->user_data()); |
141 case ROW_IGNOREEVENTS: | 141 case ROW_IGNOREEVENTS: |
142 return PropertyWithBool("Can receive events: ", | 142 return PropertyWithBool("Can receive events: ", |
143 window_->CanReceiveEvents()); | 143 window_->CanReceiveEvents()); |
144 case ROW_CANFOCUS: | 144 case ROW_CANFOCUS: |
145 return PropertyWithBool("Can Focus: ", window_->CanFocus()); | 145 return PropertyWithBool("Can Focus: ", window_->CanFocus()); |
146 case ROW_HITTESTBOUNDSOVERRIDEOUTER: | 146 case ROW_HITTESTBOUNDSOVERRIDEOUTER: |
147 return PropertyWithInsets("Hit test bounds override outer: ", | 147 return PropertyWithInsets("Hit test bounds override outer: ", |
148 window_->hit_test_bounds_override_outer()); | 148 window_->hit_test_bounds_override_outer_mouse()); |
149 case ROW_HITTESTBOUNDSOVERRIDEINNER: | 149 case ROW_HITTESTBOUNDSOVERRIDEINNER: |
150 return PropertyWithInsets("Hit test bounds override inner: ", | 150 return PropertyWithInsets("Hit test bounds override inner: ", |
151 window_->hit_test_bounds_override_inner()); | 151 window_->hit_test_bounds_override_inner()); |
152 default: | 152 default: |
153 NOTREACHED(); | 153 NOTREACHED(); |
154 break; | 154 break; |
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 |