Mailbox support for texture layers.
[chromium-blink-merge.git] / ui / app_list / apps_grid_view_delegate.h
blob90a892b9b767803a9ec1e3ab65f46af5e4ce4b5a
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
3 // found in the LICENSE file.
5 #ifndef UI_APP_LIST_APPS_GRID_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_APPS_GRID_VIEW_DELEGATE_H_
8 #include "ui/app_list/app_list_export.h"
10 namespace app_list {
12 class AppListItemModel;
14 class APP_LIST_EXPORT AppsGridViewDelegate {
15 public:
16 // Invoked when an item is activated on the grid view. |event_flags| contains
17 // the flags of the keyboard/mouse event that triggers the activation request.
18 virtual void ActivateApp(AppListItemModel* item, int event_flags) = 0;
20 protected:
21 virtual ~AppsGridViewDelegate() {}
24 } // namespace app_list
26 #endif // UI_APP_LIST_APPS_GRID_VIEW_DELEGATE_H_