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

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 comment, add service dependency 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
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/start_page_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 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 // Overridden from views::View: 40 // Overridden from views::View:
40 void Layout() override; 41 void Layout() override;
41 bool OnKeyPressed(const ui::KeyEvent& event) override; 42 bool OnKeyPressed(const ui::KeyEvent& event) override;
42 43
(...skipping 21 matching lines...) Expand all
64 views::View* search_box_spacer_view_; // Owned by views hierarchy. 65 views::View* search_box_spacer_view_; // Owned by views hierarchy.
65 views::View* instant_container_; // Owned by views hierarchy. 66 views::View* instant_container_; // Owned by views hierarchy.
66 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. 67 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy.
67 68
68 DISALLOW_COPY_AND_ASSIGN(StartPageView); 69 DISALLOW_COPY_AND_ASSIGN(StartPageView);
69 }; 70 };
70 71
71 } // namespace app_list 72 } // namespace app_list
72 73
73 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 74 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698