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

Side by Side Diff: ash/wm/panels/attached_panel_window_targeter.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_frame_view.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 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 #ifndef ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_ 5 #ifndef ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_
6 #define ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_ 6 #define ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_
7 7
8 #include "ash/shell_observer.h" 8 #include "ash/shell_observer.h"
9 #include "base/macros.h"
9 #include "ui/wm/core/easy_resize_window_targeter.h" 10 #include "ui/wm/core/easy_resize_window_targeter.h"
10 11
11 namespace ash { 12 namespace ash {
12 13
13 class PanelLayoutManager; 14 class PanelLayoutManager;
14 15
15 // A window targeter installed on a panel container to disallow touch 16 // A window targeter installed on a panel container to disallow touch
16 // hit-testing of attached panel edges that are adjacent to the shelf. This 17 // hit-testing of attached panel edges that are adjacent to the shelf. This
17 // makes it significantly easier to correctly target shelf buttons with touch. 18 // makes it significantly easier to correctly target shelf buttons with touch.
18 class AttachedPanelWindowTargeter : public ::wm::EasyResizeWindowTargeter, 19 class AttachedPanelWindowTargeter : public ::wm::EasyResizeWindowTargeter,
(...skipping 15 matching lines...) Expand all
34 aura::Window* panel_container_; 35 aura::Window* panel_container_;
35 PanelLayoutManager* panel_layout_manager_; 36 PanelLayoutManager* panel_layout_manager_;
36 gfx::Insets default_touch_extend_; 37 gfx::Insets default_touch_extend_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(AttachedPanelWindowTargeter); 39 DISALLOW_COPY_AND_ASSIGN(AttachedPanelWindowTargeter);
39 }; 40 };
40 41
41 } // namespace ash 42 } // namespace ash
42 43
43 #endif // ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_ 44 #endif // ASH_WM_PANELS_ATTACHED_PANEL_WINDOW_TARGETER_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698