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

Unified Diff: components/arc/set_wallpaper_delegate.h

Issue 2061183002: arc: IPC method to set custom wallpaper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review ready. Created 4 years, 6 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/arc/set_wallpaper_delegate.h
diff --git a/components/arc/set_wallpaper_delegate.h b/components/arc/set_wallpaper_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..3824d863104461033d20ffab66844d30681dd9e4
--- /dev/null
+++ b/components/arc/set_wallpaper_delegate.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_
+#define COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_
+
+namespace gfx {
+class ImageSkia;
+} // namespace gfx
+
+namespace arc {
+
+// Delegate to allow setting the wallpaper.
+class SetWallpaperDelegate {
+ public:
+ virtual ~SetWallpaperDelegate() {}
+
+ // Sets the specified image to the wallpaper.
+ virtual void SetWallpaper(const gfx::ImageSkia& image) = 0;
+};
+
+} // namespace arc
+
+#endif // COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698