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

Side by Side Diff: ui/aura_shell/app_list.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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 UI_AURA_SHELL_APP_LIST_H_ 5 #ifndef UI_AURA_SHELL_APP_LIST_H_
6 #define UI_AURA_SHELL_APP_LIST_H_ 6 #define UI_AURA_SHELL_APP_LIST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "ui/aura/event_filter.h" 12 #include "ui/aura/event_filter.h"
13 #include "ui/gfx/compositor/layer_animation_observer.h" 13 #include "ui/gfx/compositor/layer_animation_observer.h"
14 #include "views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace aura_shell { 16 namespace aura_shell {
17 namespace internal { 17 namespace internal {
18 18
19 // AppList is a controller that manages app list UI for shell. To show the UI, 19 // AppList is a controller that manages app list UI for shell. To show the UI,
20 // it requests app list widget from ShellDelegate and shows it when ready. 20 // it requests app list widget from ShellDelegate and shows it when ready.
21 // While the UI is visible, it monitors things such as app list widget's 21 // While the UI is visible, it monitors things such as app list widget's
22 // activation state and desktop mouse click to auto dismiss the UI. 22 // activation state and desktop mouse click to auto dismiss the UI.
23 class AppList : public aura::EventFilter, 23 class AppList : public aura::EventFilter,
24 public ui::LayerAnimationObserver, 24 public ui::LayerAnimationObserver,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // A weak ptr factory for callbacks that ShellDelegate used to set widget. 74 // A weak ptr factory for callbacks that ShellDelegate used to set widget.
75 base::WeakPtrFactory<AppList> set_widget_factory_; 75 base::WeakPtrFactory<AppList> set_widget_factory_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(AppList); 77 DISALLOW_COPY_AND_ASSIGN(AppList);
78 }; 78 };
79 79
80 } // namespace internal 80 } // namespace internal
81 } // namespace aura_shell 81 } // namespace aura_shell
82 82
83 #endif // UI_AURA_SHELL_APP_LIST_H_ 83 #endif // UI_AURA_SHELL_APP_LIST_H_
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | ui/aura_shell/default_container_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698