Chromium Code Reviews| Index: ui/display/manager/display_layout.h |
| diff --git a/ash/display/display_layout.h b/ui/display/manager/display_layout.h |
| similarity index 88% |
| rename from ash/display/display_layout.h |
| rename to ui/display/manager/display_layout.h |
| index fd056130d76b067084ef440b4dca37a5ac1fdd88..7f5c99c82824fd81c1ebac879ca56a87a515d957 100644 |
| --- a/ash/display/display_layout.h |
| +++ b/ui/display/manager/display_layout.h |
| @@ -1,19 +1,19 @@ |
| -// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
oshima
2016/04/07 19:54:21
I think we don't update when just moving the file,
robliao
2016/04/07 20:10:21
The format was wrong, so I'll keep the change.
oshima
2016/04/07 20:59:28
That was the valid format back then. just fyi.
robliao
2016/04/07 21:13:49
Good to know. Thanks for the info!
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef ASH_DISPLAY_DISPLAY_LAYOUT_H_ |
| -#define ASH_DISPLAY_DISPLAY_LAYOUT_H_ |
| +#ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ |
| +#define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ |
| #include <stdint.h> |
| #include <string> |
| #include <vector> |
| -#include "ash/ash_export.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/strings/string_piece.h" |
| +#include "ui/display/display_export.h" |
| namespace base { |
| class Value; |
| @@ -24,7 +24,7 @@ namespace gfx { |
| class Display; |
| } |
| -namespace ash { |
| +namespace display { |
| // An identifier used to manage display layout in DisplayManager / |
| // DisplayLayoutStore. |
| @@ -45,7 +45,7 @@ using DisplayList = std::vector<gfx::Display>; |
| // | | |
| // +--------+ |
| // |
| -struct ASH_EXPORT DisplayPlacement { |
| +struct DISPLAY_EXPORT DisplayPlacement { |
| // The id of the display this placement will be applied to. |
| int64_t display_id; |
| @@ -73,7 +73,7 @@ struct ASH_EXPORT DisplayPlacement { |
| Position* position); |
| }; |
| -class ASH_EXPORT DisplayLayout final { |
| +class DISPLAY_EXPORT DisplayLayout final { |
| public: |
| DisplayLayout(); |
| ~DisplayLayout(); |
| @@ -109,6 +109,6 @@ class ASH_EXPORT DisplayLayout final { |
| DISALLOW_COPY_AND_ASSIGN(DisplayLayout); |
| }; |
| -} // namespace ash |
| +} // namespace display |
| -#endif |
| +#endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ |