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

Side by Side Diff: ash/shell_delegate.h

Issue 18163006: Add persisted preference for projection touch HUD (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 // Creates a menu model of the context for the |root_window|. 252 // Creates a menu model of the context for the |root_window|.
253 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; 253 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0;
254 254
255 // Creates a root window host factory. Shell takes ownership of the returned 255 // Creates a root window host factory. Shell takes ownership of the returned
256 // value. 256 // value.
257 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 257 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
258 258
259 // Get the product name. 259 // Get the product name.
260 virtual base::string16 GetProductName() const = 0; 260 virtual base::string16 GetProductName() const = 0;
261
262 // Returns if the projection touch HUD is enabled or not.
263 virtual bool IsTouchHudProjectionEnabled() const = 0;
264
265 // Invoked to toggle the projection touch HUD.
266 virtual void ToggleTouchHudProjection() = 0;
261 }; 267 };
262 268
263 } // namespace ash 269 } // namespace ash
264 270
265 #endif // ASH_SHELL_DELEGATE_H_ 271 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698