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

Unified Diff: ash/sysui/shelf_delegate_mus.h

Issue 2014013002: Add SkBitmap StructTraits for skia::mojo::Bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix empty image handling; avoid resetting info. 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: ash/sysui/shelf_delegate_mus.h
diff --git a/ash/sysui/shelf_delegate_mus.h b/ash/sysui/shelf_delegate_mus.h
index 478a2836eed9e7f716a4b851d104532dcd058a4e..d0e170e3456e0e361f94783cb6879bd710905c9e 100644
--- a/ash/sysui/shelf_delegate_mus.h
+++ b/ash/sysui/shelf_delegate_mus.h
@@ -54,8 +54,7 @@ class ShelfDelegateMus : public ShelfDelegate,
mash::shelf::mojom::ShelfItemPtr item,
mash::shelf::mojom::ShelfItemDelegateAssociatedPtrInfo delegate) override;
void UnpinItem(const mojo::String& app_id) override;
- void SetItemImage(const mojo::String& app_id,
- skia::mojom::BitmapPtr image) override;
+ void SetItemImage(const mojo::String& app_id, const SkBitmap& image) override;
// mash::wm::mojom::UserWindowObserver:
void OnUserWindowObserverAdded(

Powered by Google App Engine
This is Rietveld 408576698