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

Side by Side Diff: ui/app_list/views/app_list_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: 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
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_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ApplicationDragAndDropHost* drag_and_drop_host); 69 ApplicationDragAndDropHost* drag_and_drop_host);
70 70
71 // Shows the UI when there are no pending icon loads. Otherwise, starts a 71 // Shows the UI when there are no pending icon loads. Otherwise, starts a
72 // timer to show the UI when a maximum allowed wait time has expired. 72 // timer to show the UI when a maximum allowed wait time has expired.
73 void ShowWhenReady(); 73 void ShowWhenReady();
74 74
75 void Close(); 75 void Close();
76 76
77 void UpdateBounds(); 77 void UpdateBounds();
78 78
79 void RepaintBackground();
80
79 // Overridden from views::View: 81 // Overridden from views::View:
80 virtual gfx::Size GetPreferredSize() OVERRIDE; 82 virtual gfx::Size GetPreferredSize() OVERRIDE;
81 virtual void Paint(gfx::Canvas* canvas) OVERRIDE; 83 virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
82 virtual void OnThemeChanged() OVERRIDE; 84 virtual void OnThemeChanged() OVERRIDE;
83 85
84 // WidgetDelegate overrides: 86 // WidgetDelegate overrides:
85 virtual bool ShouldHandleSystemCommands() const OVERRIDE; 87 virtual bool ShouldHandleSystemCommands() const OVERRIDE;
86 88
87 // Overridden from AppListViewDelegateObserver: 89 // Overridden from AppListViewDelegateObserver:
88 virtual void OnProfilesChanged() OVERRIDE; 90 virtual void OnProfilesChanged() OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 148
147 ObserverList<AppListViewObserver> observers_; 149 ObserverList<AppListViewObserver> observers_;
148 scoped_ptr<HideViewAnimationObserver> animation_observer_; 150 scoped_ptr<HideViewAnimationObserver> animation_observer_;
149 151
150 DISALLOW_COPY_AND_ASSIGN(AppListView); 152 DISALLOW_COPY_AND_ASSIGN(AppListView);
151 }; 153 };
152 154
153 } // namespace app_list 155 } // namespace app_list
154 156
155 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 157 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698