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

Side by Side Diff: extensions/shell/browser/shell_desktop_controller_aura.h

Issue 833893003: Move UserActivityDetector to ui/base/user_activity/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't build test on android Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 namespace content { 31 namespace content {
32 class BrowserContext; 32 class BrowserContext;
33 } 33 }
34 34
35 namespace gfx { 35 namespace gfx {
36 class Size; 36 class Size;
37 } 37 }
38 38
39 namespace ui {
40 class UserActivityDetector;
39 #if defined(OS_CHROMEOS) 41 #if defined(OS_CHROMEOS)
40 namespace ui {
41 class UserActivityPowerManagerNotifier; 42 class UserActivityPowerManagerNotifier;
43 #endif
42 } 44 }
43 #endif
44 45
45 namespace wm { 46 namespace wm {
46 class CompoundEventFilter; 47 class CompoundEventFilter;
47 class CursorManager; 48 class CursorManager;
48 class InputMethodEventFilter; 49 class InputMethodEventFilter;
49 class UserActivityDetector;
50 } 50 }
51 51
52 namespace extensions { 52 namespace extensions {
53 class AppWindowClient; 53 class AppWindowClient;
54 class Extension; 54 class Extension;
55 class ShellScreen; 55 class ShellScreen;
56 56
57 // Handles desktop-related tasks for app_shell. 57 // Handles desktop-related tasks for app_shell.
58 class ShellDesktopControllerAura 58 class ShellDesktopControllerAura
59 : public DesktopController, 59 : public DesktopController,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; 121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_;
122 122
123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
124 124
125 scoped_ptr<wm::InputMethodEventFilter> input_method_filter_; 125 scoped_ptr<wm::InputMethodEventFilter> input_method_filter_;
126 126
127 scoped_ptr<aura::client::FocusClient> focus_client_; 127 scoped_ptr<aura::client::FocusClient> focus_client_;
128 128
129 scoped_ptr<wm::CursorManager> cursor_manager_; 129 scoped_ptr<wm::CursorManager> cursor_manager_;
130 130
131 scoped_ptr<wm::UserActivityDetector> user_activity_detector_; 131 scoped_ptr<ui::UserActivityDetector> user_activity_detector_;
132 #if defined(OS_CHROMEOS) 132 #if defined(OS_CHROMEOS)
133 scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_; 133 scoped_ptr<ui::UserActivityPowerManagerNotifier> user_activity_notifier_;
134 #endif 134 #endif
135 135
136 scoped_ptr<AppWindowClient> app_window_client_; 136 scoped_ptr<AppWindowClient> app_window_client_;
137 137
138 // NativeAppWindow::Close() deletes the AppWindow. 138 // NativeAppWindow::Close() deletes the AppWindow.
139 std::vector<AppWindow*> app_windows_; 139 std::vector<AppWindow*> app_windows_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); 141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura);
142 }; 142 };
143 143
144 } // namespace extensions 144 } // namespace extensions
145 145
146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/idle_chromeos.cc ('k') | extensions/shell/browser/shell_desktop_controller_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698