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

Unified Diff: ui/app_list/search_box_view.h

Issue 10534051: app_list: Add transition for apps grid and search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/contents_view.cc ('k') | ui/app_list/search_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_box_view.h
diff --git a/ui/app_list/search_box_view.h b/ui/app_list/search_box_view.h
index e74e91841ed52a5d8c8221952124e07e97841cf7..39a53c93ff11a42b6139f959c026ba730857dba4 100644
--- a/ui/app_list/search_box_view.h
+++ b/ui/app_list/search_box_view.h
@@ -36,8 +36,10 @@ class SearchBoxView : public views::View,
void SetModel(SearchBoxModel* model);
views::Textfield* search_box() { return search_box_; }
- void set_grid_view(View* grid_view) { grid_view_ = grid_view; }
- void set_results_view(View* results_view) { results_view_ = results_view; }
+
+ void set_contents_view(View* contents_view) {
+ contents_view_ = contents_view;
+ }
// Overridden from views::View:
virtual gfx::Size GetPreferredSize() OVERRIDE;
@@ -67,8 +69,7 @@ class SearchBoxView : public views::View,
views::ImageView* icon_view_; // Owned by views hierarchy
views::Textfield* search_box_; // Owned by views hierarchy
- views::View* grid_view_; // Owned by views hierarchy
- views::View* results_view_; // Owned by views hierarchy
+ views::View* contents_view_; // Owned by views hierarchy
DISALLOW_COPY_AND_ASSIGN(SearchBoxView);
};
« no previous file with comments | « ui/app_list/contents_view.cc ('k') | ui/app_list/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698