Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Side by Side Diff: ui/app_list/views/folder_header_view_delegate.h

Issue 268813004: app_list: Another pass of cpplint.py to make it clean. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/app_list/views/search_result_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_ 5 #ifndef UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
7 7
8 #include <string>
9
10 namespace ui {
11 class Event;
12 }
13
8 namespace app_list { 14 namespace app_list {
9 15
10 class AppListFolderItem; 16 class AppListFolderItem;
11 17
12 class FolderHeaderViewDelegate { 18 class FolderHeaderViewDelegate {
13 public: 19 public:
14 // Invoked when the back button on the folder header view is clicked. 20 // Invoked when the back button on the folder header view is clicked.
15 // |item| is the folder item which FolderHeaderview represents. 21 // |item| is the folder item which FolderHeaderview represents.
16 // |event_flags| contains the flags of the keyboard/mouse event that triggers 22 // |event_flags| contains the flags of the keyboard/mouse event that triggers
17 // the request. 23 // the request.
18 virtual void NavigateBack(AppListFolderItem* item, 24 virtual void NavigateBack(AppListFolderItem* item,
19 const ui::Event& event_flags) = 0; 25 const ui::Event& event_flags) = 0;
20 26
21 // Gives back the focus to the search box. 27 // Gives back the focus to the search box.
22 virtual void GiveBackFocusToSearchBox() = 0; 28 virtual void GiveBackFocusToSearchBox() = 0;
23 29
24 // Tells the model to set the name of |item|. 30 // Tells the model to set the name of |item|.
25 virtual void SetItemName(AppListFolderItem* item, 31 virtual void SetItemName(AppListFolderItem* item,
26 const std::string& name) = 0; 32 const std::string& name) = 0;
27 33
28 virtual ~FolderHeaderViewDelegate() {} 34 virtual ~FolderHeaderViewDelegate() {}
29 }; 35 };
30 36
31 } // namespace app_list 37 } // namespace app_list
32 38
33 #endif // UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_ 39 #endif // UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/app_list/views/search_result_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698