| 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_APP_LIST_FOLDER_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/app_list/app_list_item_list_observer.h" | 10 #include "ui/app_list/app_list_item_list_observer.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 void UpdateFolderNameVisibility(bool visible); | 56 void UpdateFolderNameVisibility(bool visible); |
| 57 | 57 |
| 58 // Hides the view immediately without animation. | 58 // Hides the view immediately without animation. |
| 59 void HideViewImmediately(); | 59 void HideViewImmediately(); |
| 60 | 60 |
| 61 // Closes the folder page and goes back the top level page. | 61 // Closes the folder page and goes back the top level page. |
| 62 void CloseFolderPage(); | 62 void CloseFolderPage(); |
| 63 | 63 |
| 64 // views::View | 64 // views::View |
| 65 virtual gfx::Size GetPreferredSize() OVERRIDE; | 65 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| 66 virtual void Layout() OVERRIDE; | 66 virtual void Layout() OVERRIDE; |
| 67 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; | 67 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; |
| 68 | 68 |
| 69 // AppListModelObserver | 69 // AppListModelObserver |
| 70 virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE; | 70 virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE; |
| 71 | 71 |
| 72 // ui::ImplicitAnimationObserver | 72 // ui::ImplicitAnimationObserver |
| 73 virtual void OnImplicitAnimationsCompleted() OVERRIDE; | 73 virtual void OnImplicitAnimationsCompleted() OVERRIDE; |
| 74 | 74 |
| 75 AppsGridView* items_grid_view() { return items_grid_view_; } | 75 AppsGridView* items_grid_view() { return items_grid_view_; } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 bool hide_for_reparent_; | 124 bool hide_for_reparent_; |
| 125 | 125 |
| 126 base::string16 accessible_name_; | 126 base::string16 accessible_name_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(AppListFolderView); | 128 DISALLOW_COPY_AND_ASSIGN(AppListFolderView); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace app_list | 131 } // namespace app_list |
| 132 | 132 |
| 133 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ | 133 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ |
| OLD | NEW |