Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / app_list / app_list.h
blobce4eeb0db03a353ac3ec230ff588eb1f0484e87f
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.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_
8 #include "ui/gfx/native_widget_types.h"
10 class Profile;
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 void ReactivateOnNextFocusLoss() = 0;
23 virtual gfx::NativeWindow GetWindow() = 0;
24 virtual void SetProfile(Profile* profile) = 0;
27 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_H_