| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // Show the app's most recent window, or launch it if it is not running. | 63 // Show the app's most recent window, or launch it if it is not running. |
| 64 virtual void ActivateApp(Profile* profile, | 64 virtual void ActivateApp(Profile* profile, |
| 65 const extensions::Extension* extension, | 65 const extensions::Extension* extension, |
| 66 int event_flags) = 0; | 66 int event_flags) = 0; |
| 67 | 67 |
| 68 // Launch the app. | 68 // Launch the app. |
| 69 virtual void LaunchApp(Profile* profile, | 69 virtual void LaunchApp(Profile* profile, |
| 70 const extensions::Extension* extension, | 70 const extensions::Extension* extension, |
| 71 int event_flags) = 0; | 71 int event_flags) = 0; |
| 72 | 72 |
| 73 // Show the app list for the profile specified by |index|. |
| 74 virtual void ShowForProfileAtIndex(size_t index) = 0; |
| 75 |
| 73 // Whether or not the icon indicating which user is logged in should be | 76 // Whether or not the icon indicating which user is logged in should be |
| 74 // visible. | 77 // visible. |
| 75 virtual bool ShouldShowUserIcon(); | 78 virtual bool ShouldShowUserIcon(); |
| 76 }; | 79 }; |
| 77 | 80 |
| 78 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ | 81 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ |
| OLD | NEW |