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

Side by Side Diff: ash/mus/shell_delegate_mus.h

Issue 1921673005: mus: Add PointerWatcher for passively observing mouse and touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/mus/pointer_watcher_delegate_mus.cc ('k') | ash/mus/shell_delegate_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MUS_SHELL_DELEGATE_MUS_H_ 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_
6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_ 6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string>
10 9
11 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 11 #include "base/macros.h"
14 12
15 namespace keyboard { 13 namespace keyboard {
16 class KeyboardUI; 14 class KeyboardUI;
17 } 15 }
18 16
19 namespace ash { 17 namespace ash {
20 namespace sysui { 18 namespace sysui {
21 19
22 class ShellDelegateMus : public ash::ShellDelegate { 20 class ShellDelegateMus : public ash::ShellDelegate {
(...skipping 18 matching lines...) Expand all
41 VirtualKeyboardStateObserver* observer) override; 39 VirtualKeyboardStateObserver* observer) override;
42 void OpenUrl(const GURL& url) override; 40 void OpenUrl(const GURL& url) override;
43 app_list::AppListPresenter* GetAppListPresenter() override; 41 app_list::AppListPresenter* GetAppListPresenter() override;
44 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; 42 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
45 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; 43 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override;
46 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; 44 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
47 ash::SessionStateDelegate* CreateSessionStateDelegate() override; 45 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
48 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; 46 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
49 ash::NewWindowDelegate* CreateNewWindowDelegate() override; 47 ash::NewWindowDelegate* CreateNewWindowDelegate() override;
50 ash::MediaDelegate* CreateMediaDelegate() override; 48 ash::MediaDelegate* CreateMediaDelegate() override;
49 std::unique_ptr<PointerWatcherDelegate> CreatePointerWatcherDelegate()
50 override;
51 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, 51 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf,
52 const ash::ShelfItem* item) override; 52 const ash::ShelfItem* item) override;
53 GPUSupport* CreateGPUSupport() override; 53 GPUSupport* CreateGPUSupport() override;
54 base::string16 GetProductName() const override; 54 base::string16 GetProductName() const override;
55 gfx::Image GetDeprecatedAcceleratorImage() const override; 55 gfx::Image GetDeprecatedAcceleratorImage() const override;
56 56
57 private: 57 private:
58 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; 58 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
61 }; 61 };
62 62
63 } // namespace sysui 63 } // namespace sysui
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ 66 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/pointer_watcher_delegate_mus.cc ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698