#include "ui/app_list/views/top_icon_animation_view.h"
#include "ui/views/view.h"
+namespace gfx {
+class Rect;
+}
+
namespace app_list {
class AppsGridView;
public:
AppsContainerView(AppListMainView* app_list_main_view,
AppListModel* model);
- virtual ~AppsContainerView();
+ ~AppsContainerView() override;
// Shows the active folder content specified by |folder_item|.
void ShowActiveFolder(AppListFolderItem* folder_item);
bool IsInFolderView() const;
// views::View overrides:
- virtual gfx::Size GetPreferredSize() const OVERRIDE;
- virtual void Layout() OVERRIDE;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
+ gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
// TopIconAnimationObserver overrides:
- virtual void OnTopIconAnimationsComplete() OVERRIDE;
+ void OnTopIconAnimationsComplete() override;
AppsGridView* apps_grid_view() { return apps_grid_view_; }
FolderBackgroundView* folder_background_view() {
// is relative to AppsContainerView.
// Returns the bounds of top items' icon in sequence of top left, top right,
// bottom left, bottom right.
- Rects GetTopItemIconBoundsInActiveFolder();
+ std::vector<gfx::Rect> GetTopItemIconBoundsInActiveFolder();
// Creates the transitional views for animating the top items in the folder
// when opening or closing a folder.