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

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

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 5 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
Index: ui/app_list/views/apps_grid_view.h
diff --git a/ui/app_list/views/apps_grid_view.h b/ui/app_list/views/apps_grid_view.h
index 580290100526c5a643dbb717b536c8ab73b515c7..80c86ce556b2689ae2845d76947986898dc1bd60 100644
--- a/ui/app_list/views/apps_grid_view.h
+++ b/ui/app_list/views/apps_grid_view.h
@@ -30,11 +30,6 @@
#include "ui/views/view.h"
#include "ui/views/view_model.h"
-#if defined(OS_WIN)
-#include <wrl/client.h>
-#include "ui/base/dragdrop/drag_source_win.h"
-#endif
-
namespace views {
class ButtonListener;
class DragImageView;
@@ -42,10 +37,6 @@ class DragImageView;
namespace app_list {
-#if defined(OS_WIN)
-class SynchronousDrag;
-#endif
-
namespace test {
class AppsGridViewTestApi;
}
@@ -123,9 +114,6 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
void SetDragAndDropHostOfCurrentAppList(
ApplicationDragAndDropHost* drag_and_drop_host);
- // Prerenders the icons on and around the currently selected page.
- void Prerender();
-
// Return true if the |bounds_animator_| is animating |view|.
bool IsAnimatingView(AppListItemView* view);
@@ -462,14 +450,6 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
// Returns true if the grid view is under an OEM folder.
bool IsUnderOEMFolder();
- void StartSettingUpSynchronousDrag();
- bool RunSynchronousDrag();
- void CleanUpSynchronousDrag();
-#if defined(OS_WIN)
- void OnGotShortcutPath(Microsoft::WRL::ComPtr<SynchronousDrag> drag,
- const base::FilePath& path);
-#endif
-
AppListModel* model_; // Owned by AppListView.
AppListItemList* item_list_; // Not owned.
AppsGridViewDelegate* delegate_;
@@ -510,15 +490,6 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
// Page the drag started on.
int drag_start_page_;
-#if defined(OS_WIN)
- // Created when a drag is started (ie: drag exceeds the drag threshold), but
- // not Run() until supplied with a shortcut path.
- Microsoft::WRL::ComPtr<SynchronousDrag> synchronous_drag_;
-
- // Whether to use SynchronousDrag to support dropping to task bar etc.
- bool use_synchronous_drag_;
-#endif
-
Pointer drag_pointer_;
// The most recent reorder drop target.

Powered by Google App Engine
This is Rietveld 408576698