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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 320223002: Add device policy: Kiosk Virtual Keyboard Layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt # 2 Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 459
460 // Sets the shelf auto-hide behavior from prefs. 460 // Sets the shelf auto-hide behavior from prefs.
461 void SetShelfAutoHideBehaviorFromPrefs(); 461 void SetShelfAutoHideBehaviorFromPrefs();
462 462
463 // Sets the shelf alignment from prefs. 463 // Sets the shelf alignment from prefs.
464 void SetShelfAlignmentFromPrefs(); 464 void SetShelfAlignmentFromPrefs();
465 465
466 // Sets both of auto-hide behavior and alignment from prefs. 466 // Sets both of auto-hide behavior and alignment from prefs.
467 void SetShelfBehaviorsFromPrefs(); 467 void SetShelfBehaviorsFromPrefs();
468 468
469 // Sets whether the virtual keyboard is enabled from prefs.
470 void SetVirtualKeyboardBehaviorFromPrefs();
471
469 // Returns the shelf item status for the given |app_id|, which can be either 472 // Returns the shelf item status for the given |app_id|, which can be either
470 // STATUS_ACTIVE (if the app is active), STATUS_RUNNING (if there is such an 473 // STATUS_ACTIVE (if the app is active), STATUS_RUNNING (if there is such an
471 // app) or STATUS_CLOSED. 474 // app) or STATUS_CLOSED.
472 ash::ShelfItemStatus GetAppState(const::std::string& app_id); 475 ash::ShelfItemStatus GetAppState(const::std::string& app_id);
473 476
474 // Creates an app launcher to insert at |index|. Note that |index| may be 477 // Creates an app launcher to insert at |index|. Note that |index| may be
475 // adjusted by the model to meet ordering constraints. 478 // adjusted by the model to meet ordering constraints.
476 // The |shelf_item_type| will be set into the ShelfModel. 479 // The |shelf_item_type| will be set into the ShelfModel.
477 ash::ShelfID InsertAppLauncherItem(LauncherItemController* controller, 480 ash::ShelfID InsertAppLauncherItem(LauncherItemController* controller,
478 const std::string& app_id, 481 const std::string& app_id,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 // The list of running & un-pinned applications for different users on hidden 593 // The list of running & un-pinned applications for different users on hidden
591 // desktops. 594 // desktops.
592 typedef std::vector<std::string> RunningAppListIds; 595 typedef std::vector<std::string> RunningAppListIds;
593 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; 596 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap;
594 RunningAppListIdMap last_used_running_application_order_; 597 RunningAppListIdMap last_used_running_application_order_;
595 598
596 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); 599 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController);
597 }; 600 };
598 601
599 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ 602 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698