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

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

Issue 307333002: Add search results to experimental app list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
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_VIEWS_CONTENTS_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_CONTENTS_VIEW_H_
6 #define UI_APP_LIST_VIEWS_CONTENTS_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_CONTENTS_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual ~ContentsView(); 51 virtual ~ContentsView();
52 52
53 // The app list gets closed and drag and drop operations need to be cancelled. 53 // The app list gets closed and drag and drop operations need to be cancelled.
54 void CancelDrag(); 54 void CancelDrag();
55 55
56 // If |drag_and_drop| is not NULL it will be called upon drag and drop 56 // If |drag_and_drop| is not NULL it will be called upon drag and drop
57 // operations outside the application list. 57 // operations outside the application list.
58 void SetDragAndDropHostOfCurrentAppList( 58 void SetDragAndDropHostOfCurrentAppList(
59 ApplicationDragAndDropHost* drag_and_drop_host); 59 ApplicationDragAndDropHost* drag_and_drop_host);
60 60
61 void ShowSearchResults(bool show);
62 void ShowFolderContent(AppListFolderItem* folder); 61 void ShowFolderContent(AppListFolderItem* folder);
63 62
64 // Sets show state and animates the subviews to match the show state. 63 // Sets show state and animates the subviews to match the show state.
65 void SetShowState(ShowState show_state); 64 void SetShowState(ShowState show_state);
66 65
67 void Prerender(); 66 void Prerender();
68 67
69 AppsContainerView* apps_container_view() { return apps_container_view_; } 68 AppsContainerView* apps_container_view() { return apps_container_view_; }
70 StartPageView* start_page_view() { return start_page_view_; } 69 StartPageView* start_page_view() { return start_page_view_; }
71 70
(...skipping 26 matching lines...) Expand all
98 97
99 scoped_ptr<views::ViewModel> view_model_; 98 scoped_ptr<views::ViewModel> view_model_;
100 scoped_ptr<views::BoundsAnimator> bounds_animator_; 99 scoped_ptr<views::BoundsAnimator> bounds_animator_;
101 100
102 DISALLOW_COPY_AND_ASSIGN(ContentsView); 101 DISALLOW_COPY_AND_ASSIGN(ContentsView);
103 }; 102 };
104 103
105 } // namespace app_list 104 } // namespace app_list
106 105
107 #endif // UI_APP_LIST_VIEWS_CONTENTS_VIEW_H_ 106 #endif // UI_APP_LIST_VIEWS_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698