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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: nits 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ash::SessionStateDelegate* CreateSessionStateDelegate() override; 49 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
50 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; 50 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
51 ash::MediaDelegate* CreateMediaDelegate() override; 51 ash::MediaDelegate* CreateMediaDelegate() override;
52 std::unique_ptr<ash::PaletteDelegate> CreatePaletteDelegate() override; 52 std::unique_ptr<ash::PaletteDelegate> CreatePaletteDelegate() override;
53 ui::MenuModel* CreateContextMenu(ash::WmShelf* wm_shelf, 53 ui::MenuModel* CreateContextMenu(ash::WmShelf* wm_shelf,
54 const ash::ShelfItem* item) override; 54 const ash::ShelfItem* item) override;
55 ash::GPUSupport* CreateGPUSupport() override; 55 ash::GPUSupport* CreateGPUSupport() override;
56 base::string16 GetProductName() const override; 56 base::string16 GetProductName() const override;
57 void OpenKeyboardShortcutHelpPage() const override; 57 void OpenKeyboardShortcutHelpPage() const override;
58 gfx::Image GetDeprecatedAcceleratorImage() const override; 58 gfx::Image GetDeprecatedAcceleratorImage() const override;
59 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override;
60 void SetTouchscreenEnabledInPrefs(bool enabled,
61 bool use_local_state) override;
62 void UpdateTouchscreenStatusFromPrefs() override;
59 void ToggleTouchpad() override; 63 void ToggleTouchpad() override;
60 void ToggleTouchscreen() override;
61 64
62 // content::NotificationObserver override: 65 // content::NotificationObserver override:
63 void Observe(int type, 66 void Observe(int type,
64 const content::NotificationSource& source, 67 const content::NotificationSource& source,
65 const content::NotificationDetails& details) override; 68 const content::NotificationDetails& details) override;
66 69
67 private: 70 private:
68 void PlatformInit(); 71 void PlatformInit();
69 72
70 content::NotificationRegistrar registrar_; 73 content::NotificationRegistrar registrar_;
71 74
72 ChromeLauncherControllerImpl* shelf_delegate_; 75 ChromeLauncherControllerImpl* shelf_delegate_;
73 76
74 std::unique_ptr<chromeos::DisplayConfigurationObserver> 77 std::unique_ptr<chromeos::DisplayConfigurationObserver>
75 display_configuration_observer_; 78 display_configuration_observer_;
76 79
77 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 80 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
78 }; 81 };
79 82
80 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 83 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698