| 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 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 internal::NativeWidgetPrivate* GetParentNativeWidget(); | 151 internal::NativeWidgetPrivate* GetParentNativeWidget(); |
| 152 const internal::NativeWidgetPrivate* GetParentNativeWidget() const; | 152 const internal::NativeWidgetPrivate* GetParentNativeWidget() const; |
| 153 | 153 |
| 154 bool HandleWindowOperation(const MouseEvent& event); | 154 bool HandleWindowOperation(const MouseEvent& event); |
| 155 | 155 |
| 156 internal::NativeWidgetDelegate* delegate_; | 156 internal::NativeWidgetDelegate* delegate_; |
| 157 | 157 |
| 158 // Parent Widget (can be NULL). | 158 // Parent Widget (can be NULL). |
| 159 Widget* parent_; | 159 Widget* parent_; |
| 160 | 160 |
| 161 bool bounds_relative_to_parent_; |
| 162 |
| 161 internal::NativeWidgetView* view_; | 163 internal::NativeWidgetView* view_; |
| 162 | 164 |
| 163 bool active_; | 165 bool active_; |
| 164 | 166 |
| 165 ui::WindowShowState window_state_; | 167 ui::WindowShowState window_state_; |
| 166 | 168 |
| 167 // Set when SetAlwaysOnTop is called, or keep_on_top is set during creation. | 169 // Set when SetAlwaysOnTop is called, or keep_on_top is set during creation. |
| 168 bool always_on_top_; | 170 bool always_on_top_; |
| 169 | 171 |
| 170 // The following factory is used for calls to close the NativeWidgetViews | 172 // The following factory is used for calls to close the NativeWidgetViews |
| (...skipping 10 matching lines...) Expand all Loading... |
| 181 | 183 |
| 182 // Map used by Set/GetNativeWindowProperty. | 184 // Map used by Set/GetNativeWindowProperty. |
| 183 PropsMap props_map_; | 185 PropsMap props_map_; |
| 184 | 186 |
| 185 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); | 187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); |
| 186 }; | 188 }; |
| 187 | 189 |
| 188 } // namespace views | 190 } // namespace views |
| 189 | 191 |
| 190 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ | 192 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ |
| OLD | NEW |