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

Unified Diff: ui/app_list/views/apps_grid_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/apps_grid_view.cc ('k') | ui/app_list/views/apps_grid_view_folder_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/apps_grid_view_delegate.h
diff --git a/ui/app_list/views/apps_grid_view_delegate.h b/ui/app_list/views/apps_grid_view_delegate.h
deleted file mode 100644
index 3be3eeeef5882409dc7e7d034df9b73d9736c99b..0000000000000000000000000000000000000000
--- a/ui/app_list/views/apps_grid_view_delegate.h
+++ /dev/null
@@ -1,44 +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_APPS_GRID_VIEW_DELEGATE_H_
-#define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_DELEGATE_H_
-
-#include <string>
-
-#include "base/callback_forward.h"
-#include "ui/app_list/app_list_export.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace app_list {
-
-class AppListItem;
-
-class APP_LIST_EXPORT AppsGridViewDelegate {
- public:
- // Invoked when an item is activated on the grid view. |event_flags| contains
- // the flags of the keyboard/mouse event that triggers the activation request.
- virtual void ActivateApp(AppListItem* item, int event_flags) = 0;
-
- // Gets the path to a shortcut for the app represented by |item|. |callback|
- // may be run immediately.
- virtual void GetShortcutPathForApp(
- const std::string& app_id,
- const base::Callback<void(const base::FilePath&)>& callback) = 0;
-
- // Called by the root grid view to cancel a drag that started inside a folder.
- // This can occur when the root grid is visible for a reparent and its model
- // changes, necessitating a cancel of the drag operation.
- virtual void CancelDragInActiveFolder() = 0;
-
- protected:
- virtual ~AppsGridViewDelegate() {}
-};
-
-} // namespace app_list
-
-#endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_DELEGATE_H_
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | ui/app_list/views/apps_grid_view_folder_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698