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