| 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_GTK_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // WARNING: RootView's destructor calls into the TooltipManager. As such, this | 319 // WARNING: RootView's destructor calls into the TooltipManager. As such, this |
| 320 // must be destroyed AFTER root_view_. | 320 // must be destroyed AFTER root_view_. |
| 321 scoped_ptr<TooltipManagerGtk> tooltip_manager_; | 321 scoped_ptr<TooltipManagerGtk> tooltip_manager_; |
| 322 | 322 |
| 323 scoped_ptr<DropTargetGtk> drop_target_; | 323 scoped_ptr<DropTargetGtk> drop_target_; |
| 324 | 324 |
| 325 // The following factory is used to delay destruction. | 325 // The following factory is used to delay destruction. |
| 326 ScopedRunnableMethodFactory<NativeWidgetGtk> close_widget_factory_; | 326 ScopedRunnableMethodFactory<NativeWidgetGtk> close_widget_factory_; |
| 327 | 327 |
| 328 // See class documentation for Widget in widget.h for a note about ownership. | 328 // See class documentation for Widget in widget.h for a note about ownership. |
| 329 bool delete_on_destroy_; | 329 Widget::InitParams::Ownership ownership_; |
| 330 | 330 |
| 331 // See description above make_transparent for details. | 331 // See description above make_transparent for details. |
| 332 bool transparent_; | 332 bool transparent_; |
| 333 | 333 |
| 334 // Makes the window pass all events through to any windows behind it. | 334 // Makes the window pass all events through to any windows behind it. |
| 335 // Set during SetInitParams before the widget is created. The actual work of | 335 // Set during SetInitParams before the widget is created. The actual work of |
| 336 // making the window ignore events is done by ConfigureWidgetForIgnoreEvents. | 336 // making the window ignore events is done by ConfigureWidgetForIgnoreEvents. |
| 337 bool ignore_events_; | 337 bool ignore_events_; |
| 338 | 338 |
| 339 // See note in DropObserver for details on this. | 339 // See note in DropObserver for details on this. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 bool painted_; | 401 bool painted_; |
| 402 | 402 |
| 403 scoped_ptr<InputMethod> input_method_; | 403 scoped_ptr<InputMethod> input_method_; |
| 404 | 404 |
| 405 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 405 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
| 406 }; | 406 }; |
| 407 | 407 |
| 408 } // namespace views | 408 } // namespace views |
| 409 | 409 |
| 410 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 410 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| OLD | NEW |