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

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

Issue 265723003: Fix app list drag view being hidden on reparent when synchronous drag is setting up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_list_win_stuck_icons_real
Patch Set: rebase 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
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | ui/app_list/views/apps_grid_view_unittest.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ 5 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_
6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 #include "ui/app_list/views/apps_grid_view.h" 9 #include "ui/app_list/views/apps_grid_view.h"
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // to the drag_drop_host, eg. dropped on shelf. 46 // to the drag_drop_host, eg. dropped on shelf.
47 virtual void DispatchEndDragEventForReparent( 47 virtual void DispatchEndDragEventForReparent(
48 bool events_forwarded_to_drag_drop_host) = 0; 48 bool events_forwarded_to_drag_drop_host) = 0;
49 49
50 // Returns true if |point| falls outside of the folder container ink bubble. 50 // Returns true if |point| falls outside of the folder container ink bubble.
51 virtual bool IsPointOutsideOfFolderBoundary(const gfx::Point& point) = 0; 51 virtual bool IsPointOutsideOfFolderBoundary(const gfx::Point& point) = 0;
52 52
53 // Returns true if the associated folder item is an OEM folder. 53 // Returns true if the associated folder item is an OEM folder.
54 virtual bool IsOEMFolder() const = 0; 54 virtual bool IsOEMFolder() const = 0;
55 55
56 // Hides or show the root level's grid view. This is needed so that the
57 // synchronous drag has an icon for reparenting while it loads.
58 virtual void SetRootLevelDragViewVisible(bool visible) = 0;
59
56 protected: 60 protected:
57 virtual ~AppsGridViewFolderDelegate() {} 61 virtual ~AppsGridViewFolderDelegate() {}
58 }; 62 };
59 63
60 } // namespace app_list 64 } // namespace app_list
61 65
62 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_ 66 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_FOLDER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | ui/app_list/views/apps_grid_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698