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

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: Created 4 years, 8 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 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 PointerWatcherDelegate* CreatePointerWatcherDelegate() override;
51 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, 50 ui::MenuModel* CreateContextMenu(ash::Shelf* shelf,
52 const ash::ShelfItem* item) override; 51 const ash::ShelfItem* item) override;
53 GPUSupport* CreateGPUSupport() override; 52 GPUSupport* CreateGPUSupport() override;
54 base::string16 GetProductName() const override; 53 base::string16 GetProductName() const override;
55 gfx::Image GetDeprecatedAcceleratorImage() const override; 54 gfx::Image GetDeprecatedAcceleratorImage() const override;
56 55
57 private: 56 private:
58 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; 57 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
59 58
60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 59 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
61 }; 60 };
62 61
63 } // namespace sysui 62 } // namespace sysui
64 } // namespace ash 63 } // namespace ash
65 64
66 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ 65 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698