| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_APP_LIST_VIEW_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_VIEW_H_ |
| 6 #define UI_APP_LIST_APP_LIST_VIEW_H_ | 6 #define UI_APP_LIST_APP_LIST_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/app_list/app_list_export.h" | 9 #include "ui/app_list/app_list_export.h" |
| 10 #include "ui/app_list/search_box_view_delegate.h" | 10 #include "ui/app_list/search_box_view_delegate.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // Overridden from views::BubbleDelegate: | 64 // Overridden from views::BubbleDelegate: |
| 65 virtual gfx::Rect GetBubbleBounds() OVERRIDE; | 65 virtual gfx::Rect GetBubbleBounds() OVERRIDE; |
| 66 | 66 |
| 67 // Overridden from SearchBoxViewDelegate: | 67 // Overridden from SearchBoxViewDelegate: |
| 68 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE; | 68 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE; |
| 69 | 69 |
| 70 // Overridden from SearchResultListViewDelegate: | 70 // Overridden from SearchResultListViewDelegate: |
| 71 virtual void OpenResult(const SearchResult& result, | 71 virtual void OpenResult(const SearchResult& result, |
| 72 int event_flags) OVERRIDE; | 72 int event_flags) OVERRIDE; |
| 73 virtual void InvokeResultAction(const SearchResult& result, |
| 74 int action_index, |
| 75 int event_flags) OVERRIDE; |
| 73 | 76 |
| 74 scoped_ptr<AppListModel> model_; | 77 scoped_ptr<AppListModel> model_; |
| 75 scoped_ptr<AppListViewDelegate> delegate_; | 78 scoped_ptr<AppListViewDelegate> delegate_; |
| 76 | 79 |
| 77 AppListBubbleBorder* bubble_border_; // Owned by views hierarchy. | 80 AppListBubbleBorder* bubble_border_; // Owned by views hierarchy. |
| 78 SearchBoxView* search_box_view_; // Owned by views hierarchy. | 81 SearchBoxView* search_box_view_; // Owned by views hierarchy. |
| 79 ContentsView* contents_view_; // Owned by views hierarchy. | 82 ContentsView* contents_view_; // Owned by views hierarchy. |
| 80 | 83 |
| 81 DISALLOW_COPY_AND_ASSIGN(AppListView); | 84 DISALLOW_COPY_AND_ASSIGN(AppListView); |
| 82 }; | 85 }; |
| 83 | 86 |
| 84 } // namespace app_list | 87 } // namespace app_list |
| 85 | 88 |
| 86 #endif // UI_APP_LIST_APP_LIST_VIEW_H_ | 89 #endif // UI_APP_LIST_APP_LIST_VIEW_H_ |
| OLD | NEW |