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/views/widget/widget.h" | 5 #include "ui/views/widget/widget.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 transparent(type == TYPE_WINDOW && | 163 transparent(type == TYPE_WINDOW && |
164 ViewsDelegate::views_delegate && | 164 ViewsDelegate::views_delegate && |
165 ViewsDelegate::views_delegate->UseTransparentWindows()), | 165 ViewsDelegate::views_delegate->UseTransparentWindows()), |
166 accept_events(true), | 166 accept_events(true), |
167 can_activate(type != TYPE_POPUP && type != TYPE_MENU), | 167 can_activate(type != TYPE_POPUP && type != TYPE_MENU), |
168 keep_on_top(type == TYPE_MENU), | 168 keep_on_top(type == TYPE_MENU), |
169 ownership(NATIVE_WIDGET_OWNS_WIDGET), | 169 ownership(NATIVE_WIDGET_OWNS_WIDGET), |
170 mirror_origin_in_rtl(false), | 170 mirror_origin_in_rtl(false), |
171 has_dropshadow(false), | 171 has_dropshadow(false), |
172 remove_standard_frame(false), | 172 remove_standard_frame(false), |
| 173 use_system_default_icon(false), |
173 show_state(ui::SHOW_STATE_DEFAULT), | 174 show_state(ui::SHOW_STATE_DEFAULT), |
174 double_buffer(false), | 175 double_buffer(false), |
175 parent(NULL), | 176 parent(NULL), |
176 native_widget(NULL), | 177 native_widget(NULL), |
177 desktop_root_window_host(NULL), | 178 desktop_root_window_host(NULL), |
178 top_level(false), | 179 top_level(false), |
179 layer_type(ui::LAYER_TEXTURED), | 180 layer_type(ui::LAYER_TEXTURED), |
180 context(NULL) { | 181 context(NULL) { |
181 } | 182 } |
182 | 183 |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 | 1403 |
1403 //////////////////////////////////////////////////////////////////////////////// | 1404 //////////////////////////////////////////////////////////////////////////////// |
1404 // internal::NativeWidgetPrivate, NativeWidget implementation: | 1405 // internal::NativeWidgetPrivate, NativeWidget implementation: |
1405 | 1406 |
1406 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { | 1407 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { |
1407 return this; | 1408 return this; |
1408 } | 1409 } |
1409 | 1410 |
1410 } // namespace internal | 1411 } // namespace internal |
1411 } // namespace views | 1412 } // namespace views |
OLD | NEW |