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

Side by Side Diff: ash/frame/frame_border_hit_test.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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 | « ash/frame/frame_border_hit_test.h ('k') | ash/frame/header_painter.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ash/common/frame/frame_border_hit_test.h" 5 #include "ash/frame/frame_border_hit_test.h"
6 6
7 #include "ash/common/ash_constants.h" 7 #include "ash/ash_constants.h"
8 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h " 8 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
9 #include "ash/common/wm_shell.h" 9 #include "ash/wm_shell.h"
10 #include "ui/base/hit_test.h" 10 #include "ui/base/hit_test.h"
11 #include "ui/views/widget/widget.h" 11 #include "ui/views/widget/widget.h"
12 #include "ui/views/widget/widget_delegate.h" 12 #include "ui/views/widget/widget_delegate.h"
13 #include "ui/views/window/non_client_view.h" 13 #include "ui/views/window/non_client_view.h"
14 14
15 namespace ash { 15 namespace ash {
16 16
17 int FrameBorderNonClientHitTest( 17 int FrameBorderNonClientHitTest(
18 views::NonClientFrameView* view, 18 views::NonClientFrameView* view,
19 FrameCaptionButtonContainerView* caption_button_container, 19 FrameCaptionButtonContainerView* caption_button_container,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 point_in_caption_button_container); 58 point_in_caption_button_container);
59 if (caption_button_component != HTNOWHERE) 59 if (caption_button_component != HTNOWHERE)
60 return caption_button_component; 60 return caption_button_component;
61 } 61 }
62 62
63 // Caption is a safe default. 63 // Caption is a safe default.
64 return HTCAPTION; 64 return HTCAPTION;
65 } 65 }
66 66
67 } // namespace ash 67 } // namespace ash
OLDNEW
« no previous file with comments | « ash/frame/frame_border_hit_test.h ('k') | ash/frame/header_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698