| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/window/custom_frame_view.h" | 5 #include "ui/views/window/custom_frame_view.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" |
| 9 #include "ui/views/controls/button/image_button.h" | 11 #include "ui/views/controls/button/image_button.h" |
| 10 #include "ui/views/test/views_test_base.h" | 12 #include "ui/views/test/views_test_base.h" |
| 11 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
| 12 #include "ui/views/widget/widget_delegate.h" | 14 #include "ui/views/widget/widget_delegate.h" |
| 13 #include "ui/views/window/window_button_order_provider.h" | 15 #include "ui/views/window/window_button_order_provider.h" |
| 14 | 16 |
| 15 namespace views { | 17 namespace views { |
| 16 | 18 |
| 17 namespace { | 19 namespace { |
| 18 | 20 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 minimize_button_initial_bounds.width()); | 288 minimize_button_initial_bounds.width()); |
| 287 #else | 289 #else |
| 288 EXPECT_GT(close_button()->bounds().width(), | 290 EXPECT_GT(close_button()->bounds().width(), |
| 289 close_button_initial_bounds.width()); | 291 close_button_initial_bounds.width()); |
| 290 EXPECT_GT(minimize_button()->bounds().width(), | 292 EXPECT_GT(minimize_button()->bounds().width(), |
| 291 minimize_button_initial_bounds.width()); | 293 minimize_button_initial_bounds.width()); |
| 292 #endif | 294 #endif |
| 293 } | 295 } |
| 294 | 296 |
| 295 } // namespace views | 297 } // namespace views |
| OLD | NEW |