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

Unified Diff: components/mus/public/cpp/property_type_converters.h

Issue 1953183002: Support the ignored_by_shelf flag for Mus windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix deps and limit mus to MOJO_SHELL_CLIENT. Created 4 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: components/mus/public/cpp/property_type_converters.h
diff --git a/components/mus/public/cpp/property_type_converters.h b/components/mus/public/cpp/property_type_converters.h
index 20c0768a5f102ee5e766138971b7a2fdb612e053..5676253e8108fc3a53746a9f5f2127f92b002ef0 100644
--- a/components/mus/public/cpp/property_type_converters.h
+++ b/components/mus/public/cpp/property_type_converters.h
@@ -82,6 +82,15 @@ struct TypeConverter<SkBitmap, std::vector<uint8_t>> {
static SkBitmap Convert(const std::vector<uint8_t>& input);
};
+template <>
+struct TypeConverter<std::vector<uint8_t>, bool> {
+ static std::vector<uint8_t> Convert(bool input);
+};
+template <>
+struct TypeConverter<bool, std::vector<uint8_t>> {
+ static bool Convert(const std::vector<uint8_t>& input);
+};
+
} // namespace mojo
#endif // COMPONENTS_MUS_PUBLIC_CPP_PROPERTY_TYPE_CONVERTERS_H_
« no previous file with comments | « components/mus/public/cpp/lib/property_type_converters.cc ('k') | components/mus/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698