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

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

Issue 2268823002: mash: Move more shelf files to ash/common/shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 4 years, 4 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
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 #include "ash/wm/panels/attached_panel_window_targeter.h" 5 #include "ash/wm/panels/attached_panel_window_targeter.h"
6 6
7 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/shelf/shelf.h"
8 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/common/shelf/wm_shelf.h"
9 #include "ash/common/wm/panels/panel_layout_manager.h" 10 #include "ash/common/wm/panels/panel_layout_manager.h"
10 #include "ash/common/wm_shell.h" 11 #include "ash/common/wm_shell.h"
11 #include "ash/shelf/shelf.h"
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
13 13
14 namespace ash { 14 namespace ash {
15 15
16 AttachedPanelWindowTargeter::AttachedPanelWindowTargeter( 16 AttachedPanelWindowTargeter::AttachedPanelWindowTargeter(
17 aura::Window* container, 17 aura::Window* container,
18 const gfx::Insets& default_mouse_extend, 18 const gfx::Insets& default_mouse_extend,
19 const gfx::Insets& default_touch_extend, 19 const gfx::Insets& default_touch_extend,
20 PanelLayoutManager* panel_layout_manager) 20 PanelLayoutManager* panel_layout_manager)
21 : ::wm::EasyResizeWindowTargeter(container, 21 : ::wm::EasyResizeWindowTargeter(container,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 gfx::Insets(touch.top(), 0, touch.bottom(), touch.right())); 64 gfx::Insets(touch.top(), 0, touch.bottom(), touch.right()));
65 break; 65 break;
66 case SHELF_ALIGNMENT_RIGHT: 66 case SHELF_ALIGNMENT_RIGHT:
67 set_touch_extend( 67 set_touch_extend(
68 gfx::Insets(touch.top(), touch.left(), touch.bottom(), 0)); 68 gfx::Insets(touch.top(), touch.left(), touch.bottom(), 0));
69 break; 69 break;
70 } 70 }
71 } 71 }
72 72
73 } // namespace ash 73 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698