| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "views/window/window_gtk.h" | 5 #include "views/window/window_gtk.h" |
| 6 | 6 |
| 7 #include "gfx/rect.h" | |
| 8 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
| 9 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 10 #include "gfx/gtk_util.h" | 9 #include "ui/gfx/gtk_util.h" |
| 11 #include "gfx/path.h" | 10 #include "ui/gfx/path.h" |
| 11 #include "ui/gfx/rect.h" |
| 12 #include "views/event.h" | 12 #include "views/event.h" |
| 13 #include "views/screen.h" | 13 #include "views/screen.h" |
| 14 #include "views/widget/root_view.h" | 14 #include "views/widget/root_view.h" |
| 15 #include "views/window/custom_frame_view.h" | 15 #include "views/window/custom_frame_view.h" |
| 16 #include "views/window/hit_test.h" | 16 #include "views/window/hit_test.h" |
| 17 #include "views/window/non_client_view.h" | 17 #include "views/window/non_client_view.h" |
| 18 #include "views/window/window_delegate.h" | 18 #include "views/window/window_delegate.h" |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 } | 486 } |
| 487 | 487 |
| 488 void WindowGtk::OnDestroy(GtkWidget* widget) { | 488 void WindowGtk::OnDestroy(GtkWidget* widget) { |
| 489 non_client_view_->WindowClosing(); | 489 non_client_view_->WindowClosing(); |
| 490 WidgetGtk::OnDestroy(widget); | 490 WidgetGtk::OnDestroy(widget); |
| 491 window_delegate_->DeleteDelegate(); | 491 window_delegate_->DeleteDelegate(); |
| 492 window_delegate_ = NULL; | 492 window_delegate_ = NULL; |
| 493 } | 493 } |
| 494 | 494 |
| 495 } // namespace views | 495 } // namespace views |
| OLD | NEW |