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

Side by Side Diff: ash/wm/modal_container_layout_manager.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MODAL_CONTAINER_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_MODAL_CONTAINER_LAYOUT_MANAGER_H_
6 #define ASH_WM_MODAL_CONTAINER_LAYOUT_MANAGER_H_ 6 #define ASH_WM_MODAL_CONTAINER_LAYOUT_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 class Window; 21 class Window;
22 class EventFilter; 22 class EventFilter;
23 } 23 }
24 namespace gfx { 24 namespace gfx {
25 class Rect; 25 class Rect;
26 } 26 }
27 namespace views { 27 namespace views {
28 class Widget; 28 class Widget;
29 } 29 }
30 30
31 namespace aura_shell { 31 namespace ash {
32 namespace internal { 32 namespace internal {
33 33
34 // LayoutManager for the modal window container. 34 // LayoutManager for the modal window container.
35 class ASH_EXPORT ModalContainerLayoutManager 35 class ASH_EXPORT ModalContainerLayoutManager
36 : public aura::LayoutManager, 36 : public aura::LayoutManager,
37 public aura::WindowObserver, 37 public aura::WindowObserver,
38 public ui::LayerAnimationObserver, 38 public ui::LayerAnimationObserver,
39 public ModalityEventFilterDelegate { 39 public ModalityEventFilterDelegate {
40 public: 40 public:
41 explicit ModalContainerLayoutManager(aura::Window* container); 41 explicit ModalContainerLayoutManager(aura::Window* container);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // An event filter that enforces the modality of the topmost window in 91 // An event filter that enforces the modality of the topmost window in
92 // |modal_windows_|. The event filter is attached when a modal window is 92 // |modal_windows_|. The event filter is attached when a modal window is
93 // added, and removed when the last is closed. 93 // added, and removed when the last is closed.
94 scoped_ptr<aura::EventFilter> modality_filter_; 94 scoped_ptr<aura::EventFilter> modality_filter_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(ModalContainerLayoutManager); 96 DISALLOW_COPY_AND_ASSIGN(ModalContainerLayoutManager);
97 }; 97 };
98 98
99 } // namespace internal 99 } // namespace internal
100 } // namespace aura_shell 100 } // namespace ash
101 101
102 #endif // ASH_WM_MODAL_CONTAINER_LAYOUT_MANAGER_H_ 102 #endif // ASH_WM_MODAL_CONTAINER_LAYOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698