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

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

Issue 317723005: Refactor app list ContentsView to use page indices, not show states. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed again, and rewrote comments for AddLauncherPage. Created 6 years, 6 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 | « no previous file | 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> 8 #include <string>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void ShowAppListWhenReady(); 46 void ShowAppListWhenReady();
47 47
48 void ResetForShow(); 48 void ResetForShow();
49 49
50 void Close(); 50 void Close();
51 51
52 void Prerender(); 52 void Prerender();
53 53
54 void ModelChanged(); 54 void ModelChanged();
55 55
56 void OnContentsViewShowStateChanged(); 56 void OnContentsViewActivePageChanged();
57 57
58 void OnStartPageSearchButtonPressed(); 58 void OnStartPageSearchButtonPressed();
59 59
60 SearchBoxView* search_box_view() const { return search_box_view_; } 60 SearchBoxView* search_box_view() const { return search_box_view_; }
61 61
62 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop 62 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
63 // operations outside the application list. 63 // operations outside the application list.
64 void SetDragAndDropHostOfCurrentAppList( 64 void SetDragAndDropHostOfCurrentAppList(
65 ApplicationDragAndDropHost* drag_and_drop_host); 65 ApplicationDragAndDropHost* drag_and_drop_host);
66 66
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 ScopedVector<IconLoader> pending_icon_loaders_; 116 ScopedVector<IconLoader> pending_icon_loaders_;
117 117
118 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; 118 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(AppListMainView); 120 DISALLOW_COPY_AND_ASSIGN(AppListMainView);
121 }; 121 };
122 122
123 } // namespace app_list 123 } // namespace app_list
124 124
125 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 125 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698