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

Side by Side Diff: ash/wm/dock/docked_window_resizer.h

Issue 1901593004: Removes most aura dependencies from DockedWindowResizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@window_resizer
Patch Set: branch from master Created 4 years, 8 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/wm/common/wm_window.h ('k') | ash/wm/dock/docked_window_resizer.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DOCK_DOCK_WINDOW_RESIZER_H_ 5 #ifndef ASH_WM_DOCK_DOCK_WINDOW_RESIZER_H_
6 #define ASH_WM_DOCK_DOCK_WINDOW_RESIZER_H_ 6 #define ASH_WM_DOCK_DOCK_WINDOW_RESIZER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/wm/dock/dock_types.h" 10 #include "ash/wm/dock/dock_types.h"
11 #include "ash/wm/window_resizer.h" 11 #include "ash/wm/window_resizer.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 class Point; 17 class Point;
18 class Rect; 18 class Rect;
19 } 19 }
20 20
21 namespace aura {
22 class RootWindow;
23 }
24
25 namespace ash { 21 namespace ash {
26 class DockedWindowLayoutManager; 22 class DockedWindowLayoutManager;
27 23
28 // DockWindowResizer is used by ToplevelWindowEventFilter to handle dragging, 24 // DockWindowResizer is used by ToplevelWindowEventFilter to handle dragging,
29 // moving or resizing of a window while it is docked to the side of a screen. 25 // moving or resizing of a window while it is docked to the side of a screen.
30 class ASH_EXPORT DockedWindowResizer : public WindowResizer { 26 class ASH_EXPORT DockedWindowResizer : public WindowResizer {
31 public: 27 public:
32 ~DockedWindowResizer() override; 28 ~DockedWindowResizer() override;
33 29
34 // Creates a new DockWindowResizer. The caller takes ownership of the 30 // Creates a new DockWindowResizer. The caller takes ownership of the
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool was_bounds_changed_by_user_; 92 bool was_bounds_changed_by_user_;
97 93
98 base::WeakPtrFactory<DockedWindowResizer> weak_ptr_factory_; 94 base::WeakPtrFactory<DockedWindowResizer> weak_ptr_factory_;
99 95
100 DISALLOW_COPY_AND_ASSIGN(DockedWindowResizer); 96 DISALLOW_COPY_AND_ASSIGN(DockedWindowResizer);
101 }; 97 };
102 98
103 } // namespace ash 99 } // namespace ash
104 100
105 #endif // ASH_WM_DOCK_DOCK_WINDOW_RESIZER_H_ 101 #endif // ASH_WM_DOCK_DOCK_WINDOW_RESIZER_H_
OLDNEW
« no previous file with comments | « ash/wm/common/wm_window.h ('k') | ash/wm/dock/docked_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698