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

Unified Diff: chrome/browser/ui/apps/chrome_app_delegate.cc

Issue 1998933002: Update shelf spacing in Chrome OS according to the MD specs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/browser/ui/apps/chrome_app_delegate.cc
diff --git a/chrome/browser/ui/apps/chrome_app_delegate.cc b/chrome/browser/ui/apps/chrome_app_delegate.cc
index 46cd38bc3c521e0f936940036db74110a180378f..2897a07677b7ec12453448016273a244b36d6dfe 100644
--- a/chrome/browser/ui/apps/chrome_app_delegate.cc
+++ b/chrome/browser/ui/apps/chrome_app_delegate.cc
@@ -7,6 +7,7 @@
#include <memory>
#include <utility>
+#include "ash/shelf/shelf_constants.h"
#include "base/macros.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/app_mode/app_mode_utils.h"
@@ -282,7 +283,7 @@ bool ChromeAppDelegate::CheckMediaAccessPermission(
int ChromeAppDelegate::PreferredIconSize() {
#if defined(USE_ASH)
- return ash::kShelfSize;
+ return ash::GetShelfLayoutConstant(ash::SHELF_SIZE);
#else
return extension_misc::EXTENSION_ICON_SMALL;
#endif

Powered by Google App Engine
This is Rietveld 408576698