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

Unified Diff: ash/common/shelf/shelf.h

Issue 2268823002: mash: Move more shelf files to ash/common/shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase. Created 4 years, 4 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/common/shelf/DEPS ('k') | ash/common/shelf/shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/common/shelf/shelf.h
similarity index 95%
rename from ash/shelf/shelf.h
rename to ash/common/shelf/shelf.h
index 3975d8eca2817d86b7388a7b118ee012408f5d55..f1b080834590b281b5ce7eb493d249abf46d8dda 100644
--- a/ash/shelf/shelf.h
+++ b/ash/common/shelf/shelf.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SHELF_SHELF_H_
-#define ASH_SHELF_SHELF_H_
+#ifndef ASH_COMMON_SHELF_SHELF_H_
+#define ASH_COMMON_SHELF_SHELF_H_
#include <stdint.h>
@@ -13,7 +13,7 @@
#include "ash/common/shelf/shelf_constants.h"
#include "ash/common/shelf/shelf_locking_manager.h"
#include "ash/common/shelf/shelf_types.h"
-#include "ash/shelf/shelf_widget.h"
+#include "ash/common/shelf/shelf_widget.h"
#include "base/macros.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/widget/widget_observer.h"
@@ -57,7 +57,7 @@ class ASH_EXPORT Shelf {
// Return the shelf for the display that |window| is currently on, or a shelf
// on primary display if the shelf per display feature is disabled. NULL if no
// user is logged in yet.
- static Shelf* ForWindow(const WmWindow* window);
+ static Shelf* ForWindow(WmWindow* window);
// DEPRECATED. Use WmShelf::GetAlignment() and SetAlignment().
void SetAlignment(ShelfAlignment alignment);
@@ -135,4 +135,4 @@ class ASH_EXPORT Shelf {
} // namespace ash
-#endif // ASH_SHELF_SHELF_H_
+#endif // ASH_COMMON_SHELF_SHELF_H_
« no previous file with comments | « ash/common/shelf/DEPS ('k') | ash/common/shelf/shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698