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_view_state.h" | 7 #include "ui/accessibility/ax_view_state.h" |
8 #include "ui/base/hit_test.h" | 8 #include "ui/base/hit_test.h" |
9 #include "ui/gfx/rect_conversions.h" | 9 #include "ui/gfx/geometry/rect_conversions.h" |
10 #include "ui/views/rect_based_targeting_utils.h" | 10 #include "ui/views/rect_based_targeting_utils.h" |
11 #include "ui/views/view_targeter.h" | 11 #include "ui/views/view_targeter.h" |
12 #include "ui/views/widget/root_view.h" | 12 #include "ui/views/widget/root_view.h" |
13 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
14 #include "ui/views/window/client_view.h" | 14 #include "ui/views/window/client_view.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 // static | 18 // static |
19 const char NonClientFrameView::kViewClassName[] = | 19 const char NonClientFrameView::kViewClassName[] = |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 // the client view. | 334 // the client view. |
335 return !GetWidget()->client_view()->bounds().Intersects(rect); | 335 return !GetWidget()->client_view()->bounds().Intersects(rect); |
336 } | 336 } |
337 | 337 |
338 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { | 338 void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { |
339 // Overridden to do nothing. The NonClientView manually calls Layout on the | 339 // Overridden to do nothing. The NonClientView manually calls Layout on the |
340 // FrameView when it is itself laid out, see comment in NonClientView::Layout. | 340 // FrameView when it is itself laid out, see comment in NonClientView::Layout. |
341 } | 341 } |
342 | 342 |
343 } // namespace views | 343 } // namespace views |
OLD | NEW |