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

Unified Diff: ui/app_list/app_list_folder_item.h

Issue 645603003: app_list_folder_item.h: Fix typedefs and includes (ahead of refactor). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « chrome/browser/ui/app_list/app_list_controller_delegate.cc ('k') | ui/app_list/app_list_folder_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_folder_item.h
diff --git a/ui/app_list/app_list_folder_item.h b/ui/app_list/app_list_folder_item.h
index bfcb86ec30f02aab922112190515ab1947b0515c..be9cc334c2e3cd5641084c538ad89160309fed41 100644
--- a/ui/app_list/app_list_folder_item.h
+++ b/ui/app_list/app_list_folder_item.h
@@ -12,14 +12,15 @@
#include "ui/app_list/app_list_item.h"
#include "ui/app_list/app_list_item_list_observer.h"
#include "ui/app_list/app_list_item_observer.h"
-#include "ui/gfx/geometry/rect.h"
+
+namespace gfx {
+class Rect;
+}
namespace app_list {
class AppListItemList;
-typedef std::vector<gfx::Rect> Rects;
-
// AppListFolderItem implements the model/controller for folders.
class APP_LIST_EXPORT AppListFolderItem : public AppListItem,
public AppListItemListObserver,
@@ -70,7 +71,8 @@ class APP_LIST_EXPORT AppListFolderItem : public AppListItem,
// Calculates the top item icons' bounds inside |folder_icon_bounds|.
// Returns the bounds of top item icons in sequence of top left, top right,
// bottom left, bottom right.
- static Rects GetTopIconsBounds(const gfx::Rect& folder_icon_bounds);
+ static std::vector<gfx::Rect> GetTopIconsBounds(
+ const gfx::Rect& folder_icon_bounds);
// Returns an id for a new folder.
static std::string GenerateId();
« no previous file with comments | « chrome/browser/ui/app_list/app_list_controller_delegate.cc ('k') | ui/app_list/app_list_folder_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698