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

Side by Side Diff: ash/ash_layout_constants.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ash/ash_layout_constants.h ('k') | ash/ash_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ash/common/ash_layout_constants.h" 5 #include "ash/ash_layout_constants.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/material_design/material_design_controller.h" 8 #include "ui/base/material_design/material_design_controller.h"
9 9
10 gfx::Size GetAshLayoutSize(AshLayoutSize size) { 10 gfx::Size GetAshLayoutSize(AshLayoutSize size) {
11 const int kBrowserMaximizedCaptionButtonHeight[] = {29, 33}; 11 const int kBrowserMaximizedCaptionButtonHeight[] = {29, 33};
12 const int kBrowserMaximizedCaptionButtonWidth[] = {32, 32}; 12 const int kBrowserMaximizedCaptionButtonWidth[] = {32, 32};
13 const int kBrowserRestoredCaptionButtonHeight[] = {36, 40}; 13 const int kBrowserRestoredCaptionButtonHeight[] = {36, 40};
14 const int kBrowserRestoredCaptionButtonWidth[] = {32, 32}; 14 const int kBrowserRestoredCaptionButtonWidth[] = {32, 32};
15 const int kNonBrowserCaptionButtonHeight[] = {33, 33}; 15 const int kNonBrowserCaptionButtonHeight[] = {33, 33};
(...skipping 11 matching lines...) Expand all
27 } 27 }
28 case AshLayoutSize::NON_BROWSER_CAPTION_BUTTON: { 28 case AshLayoutSize::NON_BROWSER_CAPTION_BUTTON: {
29 return gfx::Size(kNonBrowserCaptionButtonWidth[mode], 29 return gfx::Size(kNonBrowserCaptionButtonWidth[mode],
30 kNonBrowserCaptionButtonHeight[mode]); 30 kNonBrowserCaptionButtonHeight[mode]);
31 } 31 }
32 } 32 }
33 33
34 NOTREACHED(); 34 NOTREACHED();
35 return gfx::Size(); 35 return gfx::Size();
36 } 36 }
OLDNEW
« no previous file with comments | « ash/ash_layout_constants.h ('k') | ash/ash_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698