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

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

Issue 185623002: Add Hide and Show to the app list SearchBoxView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ares_contents_switcher
Patch Set: add OVERRIDE Created 6 years, 9 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/app_list_background.cc ('k') | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Loads icon image for the apps in the selected page of |pagination_model_|. 68 // Loads icon image for the apps in the selected page of |pagination_model_|.
69 // |parent| is used to determine the image scale factor to use. 69 // |parent| is used to determine the image scale factor to use.
70 void PreloadIcons(gfx::NativeView parent); 70 void PreloadIcons(gfx::NativeView parent);
71 71
72 // Invoked when |icon_loading_wait_timer_| fires. 72 // Invoked when |icon_loading_wait_timer_| fires.
73 void OnIconLoadingWaitTimer(); 73 void OnIconLoadingWaitTimer();
74 74
75 // Invoked from an IconLoader when icon loading is finished. 75 // Invoked from an IconLoader when icon loading is finished.
76 void OnItemIconLoaded(IconLoader* loader); 76 void OnItemIconLoaded(IconLoader* loader);
77 77
78 // Overridden from views::View:
79 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE;
80
78 // Overridden from AppsGridViewDelegate: 81 // Overridden from AppsGridViewDelegate:
79 virtual void ActivateApp(AppListItem* item, int event_flags) OVERRIDE; 82 virtual void ActivateApp(AppListItem* item, int event_flags) OVERRIDE;
80 virtual void GetShortcutPathForApp( 83 virtual void GetShortcutPathForApp(
81 const std::string& app_id, 84 const std::string& app_id,
82 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; 85 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE;
83 86
84 // Overridden from SearchBoxViewDelegate: 87 // Overridden from SearchBoxViewDelegate:
85 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE; 88 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE;
86 89
87 // Overridden from SearchResultListViewDelegate: 90 // Overridden from SearchResultListViewDelegate:
(...skipping 20 matching lines...) Expand all
108 ScopedVector<IconLoader> pending_icon_loaders_; 111 ScopedVector<IconLoader> pending_icon_loaders_;
109 112
110 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; 113 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_;
111 114
112 DISALLOW_COPY_AND_ASSIGN(AppListMainView); 115 DISALLOW_COPY_AND_ASSIGN(AppListMainView);
113 }; 116 };
114 117
115 } // namespace app_list 118 } // namespace app_list
116 119
117 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 120 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_background.cc ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698