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 "app/l10n_util.h" | |
8 #include "gfx/rect.h" | 7 #include "gfx/rect.h" |
9 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
10 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
11 #include "gfx/path.h" | 10 #include "gfx/path.h" |
12 #include "views/event.h" | 11 #include "views/event.h" |
13 #include "views/screen.h" | 12 #include "views/screen.h" |
14 #include "views/widget/root_view.h" | 13 #include "views/widget/root_view.h" |
15 #include "views/window/custom_frame_view.h" | 14 #include "views/window/custom_frame_view.h" |
16 #include "views/window/hit_test.h" | 15 #include "views/window/hit_test.h" |
17 #include "views/window/non_client_view.h" | 16 #include "views/window/non_client_view.h" |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 size.width(), size.height()); | 483 size.width(), size.height()); |
485 SetBounds(bounds, NULL); | 484 SetBounds(bounds, NULL); |
486 } | 485 } |
487 | 486 |
488 void WindowGtk::OnDestroy(GtkWidget* widget) { | 487 void WindowGtk::OnDestroy(GtkWidget* widget) { |
489 non_client_view_->WindowClosing(); | 488 non_client_view_->WindowClosing(); |
490 WidgetGtk::OnDestroy(widget); | 489 WidgetGtk::OnDestroy(widget); |
491 } | 490 } |
492 | 491 |
493 } // namespace views | 492 } // namespace views |
OLD | NEW |