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

Side by Side Diff: ash/shell.h

Issue 2167643005: Revert of mus: Rename .*PointerWatcher.* to .*PointerDownWatcher.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve conflicts Created 4 years, 5 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
« no previous file with comments | « ash/shelf/shelf_tooltip_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 namespace ui { 54 namespace ui {
55 class DisplayConfigurator; 55 class DisplayConfigurator;
56 class Layer; 56 class Layer;
57 class UserActivityDetector; 57 class UserActivityDetector;
58 class UserActivityPowerManagerNotifier; 58 class UserActivityPowerManagerNotifier;
59 } 59 }
60 namespace views { 60 namespace views {
61 class NonClientFrameView; 61 class NonClientFrameView;
62 class PointerDownWatcher; 62 class PointerWatcher;
63 class Widget; 63 class Widget;
64 namespace corewm { 64 namespace corewm {
65 class TooltipController; 65 class TooltipController;
66 } 66 }
67 } 67 }
68 68
69 namespace wm { 69 namespace wm {
70 class AcceleratorFilter; 70 class AcceleratorFilter;
71 class CompoundEventFilter; 71 class CompoundEventFilter;
72 class ShadowController; 72 class ShadowController;
(...skipping 25 matching lines...) Expand all
98 class KeyboardUMAEventFilter; 98 class KeyboardUMAEventFilter;
99 class LinkHandlerModelFactory; 99 class LinkHandlerModelFactory;
100 class LocaleNotificationController; 100 class LocaleNotificationController;
101 class LockStateController; 101 class LockStateController;
102 enum class LoginStatus; 102 enum class LoginStatus;
103 class MagnificationController; 103 class MagnificationController;
104 class MouseCursorEventFilter; 104 class MouseCursorEventFilter;
105 class NewWindowDelegate; 105 class NewWindowDelegate;
106 class OverlayEventFilter; 106 class OverlayEventFilter;
107 class PartialMagnificationController; 107 class PartialMagnificationController;
108 class PointerDownWatcherDelegate; 108 class PointerWatcherDelegate;
109 class PowerButtonController; 109 class PowerButtonController;
110 class PowerEventObserver; 110 class PowerEventObserver;
111 class ProjectingObserver; 111 class ProjectingObserver;
112 class ResizeShadowController; 112 class ResizeShadowController;
113 class ResolutionNotificationController; 113 class ResolutionNotificationController;
114 class RootWindowController; 114 class RootWindowController;
115 class ScopedOverviewAnimationSettingsFactoryAura; 115 class ScopedOverviewAnimationSettingsFactoryAura;
116 class ScopedTargetRootWindow; 116 class ScopedTargetRootWindow;
117 class ScreenAsh; 117 class ScreenAsh;
118 class ScreenOrientationController; 118 class ScreenOrientationController;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already 267 // Creates a virtual keyboard. Deletes the old virtual keyboard if it already
268 // exists. 268 // exists.
269 void CreateKeyboard(); 269 void CreateKeyboard();
270 270
271 // Deactivates the virtual keyboard. 271 // Deactivates the virtual keyboard.
272 void DeactivateKeyboard(); 272 void DeactivateKeyboard();
273 273
274 // Show shelf view if it was created hidden (before session has started). 274 // Show shelf view if it was created hidden (before session has started).
275 void ShowShelf(); 275 void ShowShelf();
276 276
277 void AddPointerDownWatcher(views::PointerDownWatcher* watcher); 277 void AddPointerWatcher(views::PointerWatcher* watcher);
278 void RemovePointerDownWatcher(views::PointerDownWatcher* watcher); 278 void RemovePointerWatcher(views::PointerWatcher* watcher);
279 279
280 #if defined(OS_CHROMEOS) 280 #if defined(OS_CHROMEOS)
281 // Test if MaximizeModeWindowManager is not enabled, and if 281 // Test if MaximizeModeWindowManager is not enabled, and if
282 // MaximizeModeController is not currently setting a display rotation. Or if 282 // MaximizeModeController is not currently setting a display rotation. Or if
283 // the |resolution_notification_controller_| is not showing its confirmation 283 // the |resolution_notification_controller_| is not showing its confirmation
284 // dialog. If true then changes to display settings can be saved. 284 // dialog. If true then changes to display settings can be saved.
285 bool ShouldSaveDisplaySettings(); 285 bool ShouldSaveDisplaySettings();
286 #endif 286 #endif
287 287
288 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { 288 AcceleratorControllerDelegateAura* accelerator_controller_delegate() {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 std::unique_ptr<::wm::CompoundEventFilter> env_filter_; 552 std::unique_ptr<::wm::CompoundEventFilter> env_filter_;
553 553
554 std::vector<WindowAndBoundsPair> to_restore_; 554 std::vector<WindowAndBoundsPair> to_restore_;
555 555
556 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_; 556 std::unique_ptr<UserMetricsRecorder> user_metrics_recorder_;
557 std::unique_ptr<AcceleratorControllerDelegateAura> 557 std::unique_ptr<AcceleratorControllerDelegateAura>
558 accelerator_controller_delegate_; 558 accelerator_controller_delegate_;
559 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_; 559 std::unique_ptr<UserWallpaperDelegate> user_wallpaper_delegate_;
560 std::unique_ptr<SessionStateDelegate> session_state_delegate_; 560 std::unique_ptr<SessionStateDelegate> session_state_delegate_;
561 std::unique_ptr<NewWindowDelegate> new_window_delegate_; 561 std::unique_ptr<NewWindowDelegate> new_window_delegate_;
562 std::unique_ptr<PointerDownWatcherDelegate> pointer_down_watcher_delegate_; 562 std::unique_ptr<PointerWatcherDelegate> pointer_watcher_delegate_;
563 std::unique_ptr<ShelfDelegate> shelf_delegate_; 563 std::unique_ptr<ShelfDelegate> shelf_delegate_;
564 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_; 564 std::unique_ptr<ShelfItemDelegateManager> shelf_item_delegate_manager_;
565 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; 565 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
566 std::unique_ptr<WindowPositioner> window_positioner_; 566 std::unique_ptr<WindowPositioner> window_positioner_;
567 567
568 std::unique_ptr<DragDropController> drag_drop_controller_; 568 std::unique_ptr<DragDropController> drag_drop_controller_;
569 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; 569 std::unique_ptr<ResizeShadowController> resize_shadow_controller_;
570 std::unique_ptr<::wm::ShadowController> shadow_controller_; 570 std::unique_ptr<::wm::ShadowController> shadow_controller_;
571 std::unique_ptr<::wm::VisibilityController> visibility_controller_; 571 std::unique_ptr<::wm::VisibilityController> visibility_controller_;
572 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; 572 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 base::SequencedWorkerPool* blocking_pool_; 666 base::SequencedWorkerPool* blocking_pool_;
667 667
668 bool in_mus_ = false; 668 bool in_mus_ = false;
669 669
670 DISALLOW_COPY_AND_ASSIGN(Shell); 670 DISALLOW_COPY_AND_ASSIGN(Shell);
671 }; 671 };
672 672
673 } // namespace ash 673 } // namespace ash
674 674
675 #endif // ASH_SHELL_H_ 675 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_tooltip_manager.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698