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

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

Issue 253983002: Use centered app list position whenever virtual keyboard is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only change shape when keyboard enabled (not when it *might* be enabled). Created 6 years, 8 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
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 fc699a85455a1ab654bbf5691af7d980e409af50..7596df160690c2276fe5bb4e1994a1677bb83b64 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -216,6 +216,10 @@ void AppListView::UpdateBounds() {
SizeToContents();
}
+bool AppListView::UseExperimentalAppListPosition() const {
+ return delegate_->UseExperimentalAppListPosition();
+}
+
gfx::Size AppListView::GetPreferredSize() {
return app_list_main_view_->GetPreferredSize();
}

Powered by Google App Engine
This is Rietveld 408576698