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

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

Issue 907833002: Hide experimental app list Google logo and custom launcher page when search engine is not Google. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_app_list_bg_color
Patch Set: address comments, disable animation to hidden views Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_START_PAGE_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
23 class APP_LIST_EXPORT StartPageView : public views::View { 23 class APP_LIST_EXPORT StartPageView : public views::View {
24 public: 24 public:
25 StartPageView(AppListMainView* app_list_main_view, 25 StartPageView(AppListMainView* app_list_main_view,
26 AppListViewDelegate* view_delegate); 26 AppListViewDelegate* view_delegate);
27 ~StartPageView() override; 27 ~StartPageView() override;
28 28
29 void Reset(); 29 void Reset();
30 30
31 void UpdateForTesting(); 31 void UpdateForTesting();
32 32
33 views::View* instant_container() const { return instant_container_; }
33 const std::vector<SearchResultTileItemView*>& tile_views() const; 34 const std::vector<SearchResultTileItemView*>& tile_views() const;
34 TileItemView* all_apps_button() const; 35 TileItemView* all_apps_button() const;
35 36
36 // Called when the start page view is displayed. 37 // Called when the start page view is displayed.
37 void OnShow(); 38 void OnShow();
38 39
39 // Called when the start page view is hidden (while the app list is still 40 // Called when the start page view is hidden (while the app list is still
40 // open). 41 // open).
41 void OnHide(); 42 void OnHide();
42 43
(...skipping 22 matching lines...) Expand all
65 views::View* search_box_spacer_view_; // Owned by views hierarchy. 66 views::View* search_box_spacer_view_; // Owned by views hierarchy.
66 views::View* instant_container_; // Owned by views hierarchy. 67 views::View* instant_container_; // Owned by views hierarchy.
67 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. 68 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy.
68 69
69 DISALLOW_COPY_AND_ASSIGN(StartPageView); 70 DISALLOW_COPY_AND_ASSIGN(StartPageView);
70 }; 71 };
71 72
72 } // namespace app_list 73 } // namespace app_list
73 74
74 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 75 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698