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

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

Issue 1412623006: Developer Feature: Add Debug Accelerators to Toggle Touchscreen/Touchpad On or Off (CrOS) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sadrul's comment Created 5 years, 1 month 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 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 <string> 8 #include <string>
9 9
10 #include "ash/shelf/shelf_item_types.h" 10 #include "ash/shelf/shelf_item_types.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; 72 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
73 ash::NewWindowDelegate* CreateNewWindowDelegate() override; 73 ash::NewWindowDelegate* CreateNewWindowDelegate() override;
74 ash::MediaDelegate* CreateMediaDelegate() override; 74 ash::MediaDelegate* CreateMediaDelegate() override;
75 ui::MenuModel* CreateContextMenu(aura::Window* root, 75 ui::MenuModel* CreateContextMenu(aura::Window* root,
76 ash::ShelfItemDelegate* item_delegate, 76 ash::ShelfItemDelegate* item_delegate,
77 ash::ShelfItem* item) override; 77 ash::ShelfItem* item) override;
78 ash::GPUSupport* CreateGPUSupport() override; 78 ash::GPUSupport* CreateGPUSupport() override;
79 base::string16 GetProductName() const override; 79 base::string16 GetProductName() const override;
80 void OpenKeyboardShortcutHelpPage() const override; 80 void OpenKeyboardShortcutHelpPage() const override;
81 gfx::Image GetDeprecatedAcceleratorImage() const override; 81 gfx::Image GetDeprecatedAcceleratorImage() const override;
82 void ToggleTouchpad() override;
83 void ToggleTouchscreen() override;
82 84
83 // content::NotificationObserver override: 85 // content::NotificationObserver override:
84 void Observe(int type, 86 void Observe(int type,
85 const content::NotificationSource& source, 87 const content::NotificationSource& source,
86 const content::NotificationDetails& details) override; 88 const content::NotificationDetails& details) override;
87 89
88 private: 90 private:
89 void PlatformInit(); 91 void PlatformInit();
90 92
91 static ChromeShellDelegate* instance_; 93 static ChromeShellDelegate* instance_;
(...skipping 10 matching lines...) Expand all
102 104
103 #if defined(OS_CHROMEOS) 105 #if defined(OS_CHROMEOS)
104 scoped_ptr<chromeos::DisplayConfigurationObserver> 106 scoped_ptr<chromeos::DisplayConfigurationObserver>
105 display_configuration_observer_; 107 display_configuration_observer_;
106 #endif 108 #endif
107 109
108 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 110 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
109 }; 111 };
110 112
111 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 113 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698