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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_chromeos.h

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
7
8 #include "ash/session/session_state_delegate.h"
9 #include "base/macros.h"
10
11 class SessionStateDelegateChromeos : public ash::SessionStateDelegate {
12 public:
13 SessionStateDelegateChromeos();
14 ~SessionStateDelegateChromeos() override;
15
16 // ash::SessionStateDelegate:
17 bool ShouldShowAvatar(ash::WmWindow* window) const override;
18 gfx::ImageSkia GetAvatarImageForWindow(ash::WmWindow* window) const override;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateChromeos);
22 };
23
24 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698