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

Unified 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: for landing Created 4 years, 11 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_layout_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_layout_constants.h
diff --git a/ash/ash_layout_constants.h b/ash/ash_layout_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..5e0c088ba2f14a9e1fa30155d87a7d897146c420
--- /dev/null
+++ b/ash/ash_layout_constants.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_ASH_LAYOUT_CONSTANTS_H_
+#define ASH_ASH_LAYOUT_CONSTANTS_H_
+
+#include "ash/ash_export.h"
+#include "ui/gfx/geometry/size.h"
+
+enum class AshLayoutSize {
+ // Size of a caption button in a maximized browser window.
+ BROWSER_MAXIMIZED_CAPTION_BUTTON,
+
+ // Size of a caption button in a restored browser window.
+ BROWSER_RESTORED_CAPTION_BUTTON,
+
+ // Size of a caption button in a non-browser window.
+ NON_BROWSER_CAPTION_BUTTON,
+};
+
+ASH_EXPORT gfx::Size GetAshLayoutSize(AshLayoutSize size);
+
+#endif // ASH_ASH_LAYOUT_CONSTANTS_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_layout_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698