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

Unified Diff: ui/app_list/views/folder_header_view_delegate.h

Issue 645853013: Remove some platform specific stuff from views. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/app_list/views/folder_header_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/folder_header_view_delegate.h
diff --git a/ui/app_list/views/folder_header_view_delegate.h b/ui/app_list/views/folder_header_view_delegate.h
deleted file mode 100644
index 843c071d17bee5a3dae2ef7a3ae3a333f3eb813f..0000000000000000000000000000000000000000
--- a/ui/app_list/views/folder_header_view_delegate.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
-#define UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
-
-#include <string>
-
-namespace ui {
-class Event;
-}
-
-namespace app_list {
-
-class AppListFolderItem;
-
-class FolderHeaderViewDelegate {
- public:
- // Invoked when the back button on the folder header view is clicked.
- // |item| is the folder item which FolderHeaderview represents.
- // |event_flags| contains the flags of the keyboard/mouse event that triggers
- // the request.
- virtual void NavigateBack(AppListFolderItem* item,
- const ui::Event& event_flags) = 0;
-
- // Gives back the focus to the search box.
- virtual void GiveBackFocusToSearchBox() = 0;
-
- // Tells the model to set the name of |item|.
- virtual void SetItemName(AppListFolderItem* item,
- const std::string& name) = 0;
-
- virtual ~FolderHeaderViewDelegate() {}
-};
-
-} // namespace app_list
-
-#endif // UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/app_list/views/folder_header_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698