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

Side by Side Diff: ash/shell/shell_delegate_impl.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 (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_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; 46 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
47 SessionStateDelegate* CreateSessionStateDelegate() override; 47 SessionStateDelegate* CreateSessionStateDelegate() override;
48 AccessibilityDelegate* CreateAccessibilityDelegate() override; 48 AccessibilityDelegate* CreateAccessibilityDelegate() override;
49 MediaDelegate* CreateMediaDelegate() override; 49 MediaDelegate* CreateMediaDelegate() override;
50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
52 const ShelfItem* item) override; 52 const 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 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override;
57 void SetTouchscreenEnabledInPrefs() override;
Daniel Erat 2016/12/03 00:08:44 this won't compile, will it? it looks like you're
Qiang(Joe) Xu 2016/12/03 01:02:44 oops, I missed here. Compiler for chromeos and lin
58 void UpdateTouchscreenStatusFromPrefs() override;
56 59
57 private: 60 private:
58 ShelfDelegate* shelf_delegate_; 61 ShelfDelegate* shelf_delegate_;
59 std::unique_ptr<app_list::AppListPresenterDelegateFactory> 62 std::unique_ptr<app_list::AppListPresenterDelegateFactory>
60 app_list_presenter_delegate_factory_; 63 app_list_presenter_delegate_factory_;
61 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; 64 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_;
62 65
63 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 66 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
64 }; 67 };
65 68
66 } // namespace shell 69 } // namespace shell
67 } // namespace ash 70 } // namespace ash
68 71
69 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 72 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698