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

Unified Diff: ash/mus/property_util.cc

Issue 2519583002: Add gfx::ImageSkia and icon support to aura::PropertyConverter. (Closed)
Patch Set: Fix ConvertPropertyForTransport; add unit test. Created 4 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 | « ash/mus/property_util.h ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/property_util.cc
diff --git a/ash/mus/property_util.cc b/ash/mus/property_util.cc
index 9aa2a9f302be21f12d58b2b0fedade91f8f00b4e..9b646dec64e67c647e9918475a280046ab3981fa 100644
--- a/ash/mus/property_util.cc
+++ b/ash/mus/property_util.cc
@@ -191,16 +191,6 @@ base::string16 GetWindowTitle(const ui::Window* window) {
ui::mojom::WindowManager::kWindowTitle_Property);
}
-mojo::Array<uint8_t> GetWindowAppIcon(const ui::Window* window) {
- if (window->HasSharedProperty(
- ui::mojom::WindowManager::kWindowAppIcon_Property)) {
- return mojo::Array<uint8_t>::From(
- window->GetSharedProperty<std::vector<uint8_t>>(
- ui::mojom::WindowManager::kWindowAppIcon_Property));
- }
- return mojo::Array<uint8_t>();
-}
-
void SetAppID(ui::Window* window, const base::string16& app_id) {
window->SetSharedProperty<base::string16>(
ui::mojom::WindowManager::kAppID_Property, app_id);
« no previous file with comments | « ash/mus/property_util.h ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698