| 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/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 delegate(nullptr), | 118 delegate(nullptr), |
| 119 child(false), | 119 child(false), |
| 120 opacity(INFER_OPACITY), | 120 opacity(INFER_OPACITY), |
| 121 accept_events(true), | 121 accept_events(true), |
| 122 activatable(ACTIVATABLE_DEFAULT), | 122 activatable(ACTIVATABLE_DEFAULT), |
| 123 keep_on_top(type == TYPE_MENU || type == TYPE_DRAG), | 123 keep_on_top(type == TYPE_MENU || type == TYPE_DRAG), |
| 124 visible_on_all_workspaces(false), | 124 visible_on_all_workspaces(false), |
| 125 ownership(NATIVE_WIDGET_OWNS_WIDGET), | 125 ownership(NATIVE_WIDGET_OWNS_WIDGET), |
| 126 mirror_origin_in_rtl(false), | 126 mirror_origin_in_rtl(false), |
| 127 shadow_type(SHADOW_TYPE_DEFAULT), | 127 shadow_type(SHADOW_TYPE_DEFAULT), |
| 128 shadow_elevation(-1), |
| 128 remove_standard_frame(false), | 129 remove_standard_frame(false), |
| 129 use_system_default_icon(false), | 130 use_system_default_icon(false), |
| 130 show_state(ui::SHOW_STATE_DEFAULT), | 131 show_state(ui::SHOW_STATE_DEFAULT), |
| 131 parent(nullptr), | 132 parent(nullptr), |
| 132 native_widget(nullptr), | 133 native_widget(nullptr), |
| 133 desktop_window_tree_host(nullptr), | 134 desktop_window_tree_host(nullptr), |
| 134 layer_type(ui::LAYER_TEXTURED), | 135 layer_type(ui::LAYER_TEXTURED), |
| 135 context(nullptr), | 136 context(nullptr), |
| 136 force_show_in_taskbar(false), | 137 force_show_in_taskbar(false), |
| 137 force_software_compositing(false) {} | 138 force_software_compositing(false) {} |
| (...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1490 | 1491 |
| 1491 //////////////////////////////////////////////////////////////////////////////// | 1492 //////////////////////////////////////////////////////////////////////////////// |
| 1492 // internal::NativeWidgetPrivate, NativeWidget implementation: | 1493 // internal::NativeWidgetPrivate, NativeWidget implementation: |
| 1493 | 1494 |
| 1494 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { | 1495 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { |
| 1495 return this; | 1496 return this; |
| 1496 } | 1497 } |
| 1497 | 1498 |
| 1498 } // namespace internal | 1499 } // namespace internal |
| 1499 } // namespace views | 1500 } // namespace views |
| OLD | NEW |