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

Unified Diff: ui/app_list/views/app_list_view.cc

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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | ui/app_list/views/search_box_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view.cc
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc
index 21163f47c0ae3c4a733a85ea5c3fd1d821d7055b..6f2c41add67141aa21ab6d79490094d8500c2c7b 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -190,6 +190,10 @@ void AppListView::UpdateBounds() {
SizeToContents();
}
+void AppListView::RepaintBackground() {
tapted 2014/03/04 05:27:01 calls to `SchedulePaint()` propagate up through to
+ GetBubbleFrameView()->SchedulePaint();
+}
+
gfx::Size AppListView::GetPreferredSize() {
return app_list_main_view_->GetPreferredSize();
}
@@ -261,7 +265,8 @@ void AppListView::InitAsBubbleInternal(gfx::NativeView parent,
views::BubbleBorder::Arrow arrow,
bool border_accepts_events,
const gfx::Vector2d& anchor_offset) {
- app_list_main_view_ = new AppListMainView(delegate_.get(),
+ app_list_main_view_ = new AppListMainView(this,
+ delegate_.get(),
pagination_model,
parent);
AddChildView(app_list_main_view_);
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | ui/app_list/views/search_box_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698