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

Unified Diff: mash/wm/frame/header_painter_util.h

Issue 1459653002: Gets mustash frames looking like that of ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test Created 5 years, 1 month 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 | « mash/wm/frame/header_painter.h ('k') | mash/wm/frame/header_painter_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/header_painter_util.h
diff --git a/ash/frame/header_painter_util.h b/mash/wm/frame/header_painter_util.h
similarity index 83%
copy from ash/frame/header_painter_util.h
copy to mash/wm/frame/header_painter_util.h
index de14990eed871f26bd2a426a6b30e74bb54ef37c..230c83287f2f72e16d6bff66277d9eeddebdf153 100644
--- a/ash/frame/header_painter_util.h
+++ b/mash/wm/frame/header_painter_util.h
@@ -1,11 +1,10 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 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_FRAME_HEADER_PAINTER_UTIL_H_
-#define ASH_FRAME_HEADER_PAINTER_UTIL_H_
+#ifndef MASH_WM_FRAME_HEADER_PAINTER_UTIL_H_
+#define MASH_WM_FRAME_HEADER_PAINTER_UTIL_H_
-#include "ash/ash_export.h"
#include "base/macros.h"
namespace gfx {
@@ -17,11 +16,12 @@ class View;
class Widget;
}
-namespace ash {
+namespace mash {
+namespace wm {
// Static-only helper class for functionality used accross multiple
// implementations of HeaderPainter.
-class ASH_EXPORT HeaderPainterUtil {
+class HeaderPainterUtil {
public:
// Returns the radius of the header's corners when the window is restored.
static int GetTopCornerRadiusWhenRestored();
@@ -50,6 +50,7 @@ class ASH_EXPORT HeaderPainterUtil {
DISALLOW_IMPLICIT_CONSTRUCTORS(HeaderPainterUtil);
};
-} // namespace ash
+} // namespace wm
+} // namespace mash
-#endif // ASH_FRAME_HEADER_PAINTER_UTIL_H_
+#endif // MASH_WM_FRAME_HEADER_PAINTER_UTIL_H_
« no previous file with comments | « mash/wm/frame/header_painter.h ('k') | mash/wm/frame/header_painter_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698