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

Side by Side Diff: ash/wm/workspace/phantom_window_controller.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 #ifndef ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_
6 #define ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_ 6 #define ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect.h"
12 12
13 namespace aura { 13 namespace aura {
14 class Window; 14 class Window;
15 } 15 }
16 16
17 namespace views { 17 namespace views {
18 class Widget; 18 class Widget;
19 } 19 }
20 20
21 namespace ash { 21 namespace ash {
22 namespace internal {
23 22
24 // PhantomWindowController is responsible for showing a phantom representation 23 // PhantomWindowController is responsible for showing a phantom representation
25 // of a window. It's used to show a preview of how snapping or docking a window 24 // of a window. It's used to show a preview of how snapping or docking a window
26 // will affect the window's bounds. 25 // will affect the window's bounds.
27 class ASH_EXPORT PhantomWindowController { 26 class ASH_EXPORT PhantomWindowController {
28 public: 27 public:
29 explicit PhantomWindowController(aura::Window* window); 28 explicit PhantomWindowController(aura::Window* window);
30 29
31 // Hides the phantom window without any animation. 30 // Hides the phantom window without any animation.
32 virtual ~PhantomWindowController(); 31 virtual ~PhantomWindowController();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 73
75 // Phantom representation of the window which is in the root window matching 74 // Phantom representation of the window which is in the root window matching
76 // the window's initial bounds. This allows animations to progress from one 75 // the window's initial bounds. This allows animations to progress from one
77 // display to the other. NULL if the phantom window starts and ends in the 76 // display to the other. NULL if the phantom window starts and ends in the
78 // same root window. Not used when using the alternate caption button style. 77 // same root window. Not used when using the alternate caption button style.
79 scoped_ptr<views::Widget> phantom_widget_in_start_root_; 78 scoped_ptr<views::Widget> phantom_widget_in_start_root_;
80 79
81 DISALLOW_COPY_AND_ASSIGN(PhantomWindowController); 80 DISALLOW_COPY_AND_ASSIGN(PhantomWindowController);
82 }; 81 };
83 82
84 } // namespace internal
85 } // namespace ash 83 } // namespace ash
86 84
87 #endif // ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_ 85 #endif // ASH_WM_WORKSPACE_PHANTOM_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller_unittest.cc ('k') | ash/wm/workspace/phantom_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698