OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/non_client_view.h" | 5 #include "ui/views/window/non_client_view.h" |
6 | 6 |
| 7 #include "ui/accessibility/ax_enums.h" |
7 #include "ui/accessibility/ax_view_state.h" | 8 #include "ui/accessibility/ax_view_state.h" |
8 #include "ui/base/hit_test.h" | 9 #include "ui/base/hit_test.h" |
9 #include "ui/gfx/geometry/rect_conversions.h" | 10 #include "ui/gfx/geometry/rect_conversions.h" |
10 #include "ui/views/rect_based_targeting_utils.h" | 11 #include "ui/views/rect_based_targeting_utils.h" |
11 #include "ui/views/view_targeter.h" | 12 #include "ui/views/view_targeter.h" |
12 #include "ui/views/widget/root_view.h" | 13 #include "ui/views/widget/root_view.h" |
13 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
14 #include "ui/views/window/client_view.h" | 15 #include "ui/views/window/client_view.h" |
15 | 16 |
16 namespace views { | 17 namespace views { |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 // the client view. | 345 // the client view. |
345 return !GetWidget()->client_view()->bounds().Intersects(rect); | 346 return !GetWidget()->client_view()->bounds().Intersects(rect); |
346 } | 347 } |
347 | 348 |
348 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { | 349 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { |
349 // Overridden to do nothing. The NonClientView manually calls Layout on the | 350 // Overridden to do nothing. The NonClientView manually calls Layout on the |
350 // FrameView when it is itself laid out, see comment in NonClientView::Layout. | 351 // FrameView when it is itself laid out, see comment in NonClientView::Layout. |
351 } | 352 } |
352 | 353 |
353 } // namespace views | 354 } // namespace views |
OLD | NEW |