OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CONTAINER_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APPS_CONTAINER_VIEW_H_ |
6 #define UI_APP_LIST_VIEWS_APPS_CONTAINER_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APPS_CONTAINER_VIEW_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ui/app_list/app_list_folder_item.h" | 10 #include "ui/app_list/app_list_folder_item.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 ApplicationDragAndDropHost* drag_and_drop_host); | 57 ApplicationDragAndDropHost* drag_and_drop_host); |
58 | 58 |
59 // Transits the UI from folder view to root lelve apps grid view when | 59 // Transits the UI from folder view to root lelve apps grid view when |
60 // re-parenting a child item of |folder_item|. | 60 // re-parenting a child item of |folder_item|. |
61 void ReparentFolderItemTransit(AppListFolderItem* folder_item); | 61 void ReparentFolderItemTransit(AppListFolderItem* folder_item); |
62 | 62 |
63 // Returns true if it is currently showing an active folder page. | 63 // Returns true if it is currently showing an active folder page. |
64 bool IsInFolderView() const; | 64 bool IsInFolderView() const; |
65 | 65 |
66 // views::View overrides: | 66 // views::View overrides: |
67 virtual gfx::Size GetPreferredSize() OVERRIDE; | 67 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
68 virtual void Layout() OVERRIDE; | 68 virtual void Layout() OVERRIDE; |
69 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; | 69 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; |
70 | 70 |
71 // TopIconAnimationObserver overrides: | 71 // TopIconAnimationObserver overrides: |
72 virtual void OnTopIconAnimationsComplete() OVERRIDE; | 72 virtual void OnTopIconAnimationsComplete() OVERRIDE; |
73 | 73 |
74 AppsGridView* apps_grid_view() { return apps_grid_view_; } | 74 AppsGridView* apps_grid_view() { return apps_grid_view_; } |
75 FolderBackgroundView* folder_background_view() { | 75 FolderBackgroundView* folder_background_view() { |
76 return folder_background_view_; | 76 return folder_background_view_; |
77 } | 77 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 size_t top_icon_animation_pending_count_; | 113 size_t top_icon_animation_pending_count_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(AppsContainerView); | 115 DISALLOW_COPY_AND_ASSIGN(AppsContainerView); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace app_list | 118 } // namespace app_list |
119 | 119 |
120 | 120 |
121 #endif // UI_APP_LIST_VIEWS_APPS_CONTAINER_VIEW_H_ | 121 #endif // UI_APP_LIST_VIEWS_APPS_CONTAINER_VIEW_H_ |
OLD | NEW |