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

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

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: based on comments from derat@ Created 4 years 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 9
10 #include "ash/common/shell_delegate.h" 10 #include "ash/common/shell_delegate.h"
(...skipping 29 matching lines...) Expand all
40 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; 40 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
41 SessionStateDelegate* CreateSessionStateDelegate() override; 41 SessionStateDelegate* CreateSessionStateDelegate() override;
42 AccessibilityDelegate* CreateAccessibilityDelegate() override; 42 AccessibilityDelegate* CreateAccessibilityDelegate() override;
43 MediaDelegate* CreateMediaDelegate() override; 43 MediaDelegate* CreateMediaDelegate() override;
44 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 44 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
45 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 45 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
46 const ShelfItem* item) override; 46 const ShelfItem* item) override;
47 GPUSupport* CreateGPUSupport() override; 47 GPUSupport* CreateGPUSupport() override;
48 base::string16 GetProductName() const override; 48 base::string16 GetProductName() const override;
49 gfx::Image GetDeprecatedAcceleratorImage() const override; 49 gfx::Image GetDeprecatedAcceleratorImage() const override;
50 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override;
51 void SetTouchscreenEnabledInPrefs(bool enabled,
52 bool use_local_state) override;
53 void UpdateTouchscreenStatusFromPrefs() override;
50 54
51 private: 55 private:
52 service_manager::Connector* connector_; 56 service_manager::Connector* connector_;
53 AppListPresenterMus app_list_presenter_; 57 AppListPresenterMus app_list_presenter_;
54 58
55 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 59 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
56 }; 60 };
57 61
58 } // namespace ash 62 } // namespace ash
59 63
60 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ 64 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698