| 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 "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Starts setting up drag in root level apps grid view for re-parenting a | 78 // Starts setting up drag in root level apps grid view for re-parenting a |
| 79 // folder item. | 79 // folder item. |
| 80 // |drag_point_in_root_grid| is in the cooridnates of root level AppsGridView. | 80 // |drag_point_in_root_grid| is in the cooridnates of root level AppsGridView. |
| 81 void StartSetupDragInRootLevelAppsGridView( | 81 void StartSetupDragInRootLevelAppsGridView( |
| 82 AppListItemView* original_drag_view, | 82 AppListItemView* original_drag_view, |
| 83 const gfx::Point& drag_point_in_root_grid, | 83 const gfx::Point& drag_point_in_root_grid, |
| 84 bool has_native_drag); | 84 bool has_native_drag); |
| 85 | 85 |
| 86 // Overridden from views::View: | 86 // Overridden from views::View: |
| 87 void GetAccessibleState(ui::AXViewState* state) override; | 87 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 88 | 88 |
| 89 // Overridden from FolderHeaderViewDelegate: | 89 // Overridden from FolderHeaderViewDelegate: |
| 90 void NavigateBack(AppListFolderItem* item, | 90 void NavigateBack(AppListFolderItem* item, |
| 91 const ui::Event& event_flags) override; | 91 const ui::Event& event_flags) override; |
| 92 void GiveBackFocusToSearchBox() override; | 92 void GiveBackFocusToSearchBox() override; |
| 93 void SetItemName(AppListFolderItem* item, const std::string& name) override; | 93 void SetItemName(AppListFolderItem* item, const std::string& name) override; |
| 94 | 94 |
| 95 // Overridden from AppsGridViewFolderDelegate: | 95 // Overridden from AppsGridViewFolderDelegate: |
| 96 void UpdateFolderViewBackground(bool show_bubble) override; | 96 void UpdateFolderViewBackground(bool show_bubble) override; |
| 97 void ReparentItem(AppListItemView* original_drag_view, | 97 void ReparentItem(AppListItemView* original_drag_view, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 119 bool hide_for_reparent_; | 119 bool hide_for_reparent_; |
| 120 | 120 |
| 121 base::string16 accessible_name_; | 121 base::string16 accessible_name_; |
| 122 | 122 |
| 123 DISALLOW_COPY_AND_ASSIGN(AppListFolderView); | 123 DISALLOW_COPY_AND_ASSIGN(AppListFolderView); |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace app_list | 126 } // namespace app_list |
| 127 | 127 |
| 128 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ | 128 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ |
| OLD | NEW |