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

Unified Diff: ash/public/cpp/window_properties.h

Issue 2878133002: mash: Serialize ShelfIDs for property conversion and transport. (Closed)
Patch Set: Remove |user_windows_with_items_| entries in workaround; disable a test in mash. Created 3 years, 7 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
Index: ash/public/cpp/window_properties.h
diff --git a/ash/public/cpp/window_properties.h b/ash/public/cpp/window_properties.h
index 1e45b472b63c8a92e22a799c998fe73b98de0cfb..018703d7e78e7447e4ccd06f14de84e77cc80ea8 100644
--- a/ash/public/cpp/window_properties.h
+++ b/ash/public/cpp/window_properties.h
@@ -6,9 +6,9 @@
#define ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_
#include <stdint.h>
+#include <string>
#include "ash/public/cpp/ash_public_export.h"
-#include "ash/public/cpp/shelf_types.h"
#include "ui/base/class_property.h"
namespace aura {
@@ -31,7 +31,7 @@ ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const
kPanelAttachedKey;
// A property key to store the id for a window's shelf item.
-ASH_PUBLIC_EXPORT extern const aura::WindowProperty<ShelfID*>* const
+ASH_PUBLIC_EXPORT extern const aura::WindowProperty<std::string*>* const
kShelfIDKey;
// A property key to store the type of a window's shelf item.
@@ -43,8 +43,8 @@ ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const
// will try to fullscreen the window and pin it on the top of the screen. If the
// window manager failed to do it, the property will be restored to NONE. When
// setting this property to NONE, the window manager will restore the window.
-ASH_PUBLIC_EXPORT extern const aura::WindowProperty<
- ash::mojom::WindowPinType>* const kWindowPinTypeKey;
+ASH_PUBLIC_EXPORT extern const aura::WindowProperty<mojom::WindowPinType>* const
+ kWindowPinTypeKey;
// Alphabetical sort.

Powered by Google App Engine
This is Rietveld 408576698