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

Side by Side Diff: ash/ash_layout_constants.h

Issue 1505223004: Do not use assets for Ash window control button backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash layout constants file added Created 5 years 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_ASH_LAYOUT_CONSTANTS_H_
6 #define ASH_ASH_LAYOUT_CONSTANTS_H_
7
8 #include "ui/gfx/geometry/size.h"
9
10 enum AshLayoutSize {
11 // Size of a header button in a maximized browser window.
Peter Kasting 2015/12/18 18:59:15 At least on Windows, these are called "caption but
tdanderson 2016/01/04 23:11:14 Done.
12 BROWSER_MAXIMIZED_HEADER_BUTTON,
13
14 // Size of a header button in a restored browser window.
15 BROWSER_RESTORED_HEADER_BUTTON,
16
17 // Size of a header button in a non-browser window.
18 DEFAULT_HEADER_BUTTON,
Peter Kasting 2015/12/18 18:59:15 Nit: I might name this "NON_BROWSER_" instead of "
tdanderson 2016/01/04 23:11:14 Done.
19 };
20
21 gfx::Size GetAshLayoutSize(AshLayoutSize size);
22
23 #endif // ASH_ASH_LAYOUT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698