Index: ash/common/ash_layout_constants.cc |
diff --git a/ash/common/ash_layout_constants.cc b/ash/common/ash_layout_constants.cc |
index 0e1e2c2d2d5879011d5a418da75197a9411c9437..e3a98ee14d22eba2664e364f334c5f953914ce1e 100644 |
--- a/ash/common/ash_layout_constants.cc |
+++ b/ash/common/ash_layout_constants.cc |
@@ -8,12 +8,12 @@ |
#include "ui/base/material_design/material_design_controller.h" |
gfx::Size GetAshLayoutSize(AshLayoutSize size) { |
- const int kBrowserMaximizedCaptionButtonHeight[] = {27, 29, 33}; |
- const int kBrowserMaximizedCaptionButtonWidth[] = {35, 32, 32}; |
- const int kBrowserRestoredCaptionButtonHeight[] = {35, 36, 40}; |
- const int kBrowserRestoredCaptionButtonWidth[] = {35, 32, 32}; |
- const int kNonBrowserCaptionButtonHeight[] = {33, 33, 33}; |
- const int kNonBrowserCaptionButtonWidth[] = {32, 32, 32}; |
+ const int kBrowserMaximizedCaptionButtonHeight[] = {29, 33}; |
+ const int kBrowserMaximizedCaptionButtonWidth[] = {32, 32}; |
+ const int kBrowserRestoredCaptionButtonHeight[] = {36, 40}; |
+ const int kBrowserRestoredCaptionButtonWidth[] = {32, 32}; |
+ const int kNonBrowserCaptionButtonHeight[] = {33, 33}; |
+ const int kNonBrowserCaptionButtonWidth[] = {32, 32}; |
const int mode = ui::MaterialDesignController::GetMode(); |
Daniel Erat
2016/11/03 18:37:20
maybe DCHECK_LT(mode, arraysize(kBrowserMaximizedC
Evan Stade
2016/11/03 19:29:00
it wouldn't have helped in this case, as the enum
|
switch (size) { |