Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: ui/views/window/non_client_view.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/window/custom_frame_view.cc ('k') | ui/wm/core/image_grid.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/views/window/custom_frame_view.cc ('k') | ui/wm/core/image_grid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698