Views Omnibox: tolerate minor click-to-select-all dragging.
[chromium-blink-merge.git] / ui / app_list / views / folder_header_view_delegate.h
blobe8591b611ed548b2815f94a950866acf77f33f7f
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 UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
8 namespace app_list {
10 class AppListFolderItem;
12 class FolderHeaderViewDelegate {
13 public:
14 // Invoked when the back button on the folder header view is clicked.
15 // |item| is the folder item which FolderHeaderview represents.
16 // |event_flags| contains the flags of the keyboard/mouse event that triggers
17 // the request.
18 virtual void NavigateBack(AppListFolderItem* item,
19 const ui::Event& event_flags) = 0;
21 protected:
22 virtual ~FolderHeaderViewDelegate() {}
25 } // namespace app_list
27 #endif // UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_