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

Unified Diff: ash/frame/header_view.h

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test 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
« no previous file with comments | « ash/frame/custom_frame_view_ash_unittest.cc ('k') | ash/frame/header_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/frame/header_view.h
diff --git a/ash/frame/header_view.h b/ash/frame/header_view.h
index 4d59fedcf2bedd81d285c218ae60b1056b38884b..584ef7c15af8ea3fb78abf3ebe5b8982a192fed6 100644
--- a/ash/frame/header_view.h
+++ b/ash/frame/header_view.h
@@ -15,6 +15,10 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/views/view.h"
+namespace gfx {
+class ImageSkia;
+}
+
namespace views {
class ImageView;
class Widget;
@@ -58,7 +62,8 @@ class ASH_EXPORT HeaderView : public views::View,
// Returns the view's minimum width.
int GetMinimumWidth() const;
- void UpdateAvatarIcon();
+ // Sets the avatar icon to be displayed on the frame header.
+ void SetAvatarIcon(const gfx::ImageSkia& avatar);
void SizeConstraintsChanged();
« no previous file with comments | « ash/frame/custom_frame_view_ash_unittest.cc ('k') | ash/frame/header_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698