Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: ui/app_list/views/app_list_main_view.h

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: happy mac Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/search_result_observer.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MAIN_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
7 7
8 #include <string>
9
8 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
9 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
10 #include "ui/app_list/apps_grid_view_delegate.h" 12 #include "ui/app_list/apps_grid_view_delegate.h"
11 #include "ui/app_list/search_box_view_delegate.h" 13 #include "ui/app_list/search_box_view_delegate.h"
12 #include "ui/app_list/search_result_list_view_delegate.h" 14 #include "ui/app_list/search_result_list_view_delegate.h"
13 #include "ui/views/view.h" 15 #include "ui/views/view.h"
14 16
15 namespace views { 17 namespace views {
16 class Widget; 18 class Widget;
17 } 19 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 77
76 // Overridden from SearchBoxViewDelegate: 78 // Overridden from SearchBoxViewDelegate:
77 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE; 79 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE;
78 80
79 // Overridden from SearchResultListViewDelegate: 81 // Overridden from SearchResultListViewDelegate:
80 virtual void OpenResult(SearchResult* result, 82 virtual void OpenResult(SearchResult* result,
81 int event_flags) OVERRIDE; 83 int event_flags) OVERRIDE;
82 virtual void InvokeResultAction(SearchResult* result, 84 virtual void InvokeResultAction(SearchResult* result,
83 int action_index, 85 int action_index,
84 int event_flags) OVERRIDE; 86 int event_flags) OVERRIDE;
87 virtual void OnResultInstalled(SearchResult* result) OVERRIDE;
85 88
86 AppListViewDelegate* delegate_; 89 AppListViewDelegate* delegate_;
87 AppListModel* model_; 90 AppListModel* model_;
88 91
89 SearchBoxView* search_box_view_; // Owned by views hierarchy. 92 SearchBoxView* search_box_view_; // Owned by views hierarchy.
90 ContentsView* contents_view_; // Owned by views hierarchy. 93 ContentsView* contents_view_; // Owned by views hierarchy.
91 94
92 // A timer that fires when maximum allowed time to wait for icon loading has 95 // A timer that fires when maximum allowed time to wait for icon loading has
93 // passed. 96 // passed.
94 base::OneShotTimer<AppListMainView> icon_loading_wait_timer_; 97 base::OneShotTimer<AppListMainView> icon_loading_wait_timer_;
95 98
96 ScopedVector<IconLoader> pending_icon_loaders_; 99 ScopedVector<IconLoader> pending_icon_loaders_;
97 100
98 DISALLOW_COPY_AND_ASSIGN(AppListMainView); 101 DISALLOW_COPY_AND_ASSIGN(AppListMainView);
99 }; 102 };
100 103
101 } // namespace app_list 104 } // namespace app_list
102 105
103 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 106 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/search_result_observer.h ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698