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

Side by Side Diff: ash/display/shared_display_edge_indicator.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_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ 5 #ifndef ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_
6 #define ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ 6 #define ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_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/animation/animation_delegate.h" 11 #include "ui/gfx/animation/animation_delegate.h"
12 #include "ui/gfx/display.h" 12 #include "ui/gfx/display.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class Rect; 15 class Rect;
16 class ThrobAnimation; 16 class ThrobAnimation;
17 } 17 }
18 18
19 namespace views { 19 namespace views {
20 class View; 20 class View;
21 class Widget; 21 class Widget;
22 } 22 }
23 23
24 namespace ash { 24 namespace ash {
25 namespace internal {
26 25
27 // SharedDisplayEdgeIndicator is responsible for showing a window that indicates 26 // SharedDisplayEdgeIndicator is responsible for showing a window that indicates
28 // the edge that a window can be dragged into another display. 27 // the edge that a window can be dragged into another display.
29 class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate { 28 class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate {
30 public: 29 public:
31 SharedDisplayEdgeIndicator(); 30 SharedDisplayEdgeIndicator();
32 virtual ~SharedDisplayEdgeIndicator(); 31 virtual ~SharedDisplayEdgeIndicator();
33 32
34 // Shows/Hides the indicator window. The |src_bounds| is for the window on 33 // Shows/Hides the indicator window. The |src_bounds| is for the window on
35 // the source display, and the |dst_bounds| is for the window on the other 34 // the source display, and the |dst_bounds| is for the window on the other
(...skipping 10 matching lines...) Expand all
46 // for the other display. 45 // for the other display.
47 views::View* src_indicator_; 46 views::View* src_indicator_;
48 views::View* dst_indicator_; 47 views::View* dst_indicator_;
49 48
50 // Used to transition the opacity. 49 // Used to transition the opacity.
51 scoped_ptr<gfx::ThrobAnimation> animation_; 50 scoped_ptr<gfx::ThrobAnimation> animation_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(SharedDisplayEdgeIndicator); 52 DISALLOW_COPY_AND_ASSIGN(SharedDisplayEdgeIndicator);
54 }; 53 };
55 54
56 } // namespace internal
57 } // namespace ash 55 } // namespace ash
58 56
59 #endif // ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ 57 #endif // ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_
OLDNEW
« no previous file with comments | « ash/display/screen_position_controller_unittest.cc ('k') | ash/display/shared_display_edge_indicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698