OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_ |
| 7 |
| 8 #include "ui/gfx/native_widget_types.h" |
| 9 |
| 10 class Profile; |
| 11 |
| 12 // A container for an AppListView that can be positioned and knows when it has |
| 13 // lost focus. Has platform-specific implementations. |
| 14 class AppList { |
| 15 public: |
| 16 virtual ~AppList() {} |
| 17 virtual void Show() = 0; |
| 18 virtual void Hide() = 0; |
| 19 virtual void MoveNearCursor() = 0; |
| 20 virtual bool IsVisible() = 0; |
| 21 virtual void Prerender() = 0; |
| 22 virtual gfx::NativeWindow GetWindow() = 0; |
| 23 virtual void SetProfile(Profile* profile) = 0; |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_ |
OLD | NEW |