| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/shell_delegate.h" | 9 #include "ash/shell_delegate.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 | 11 |
| 12 namespace ash { | 12 namespace ash { |
| 13 namespace shell { | 13 namespace shell { |
| 14 | 14 |
| 15 class LauncherDelegateImpl; | 15 class LauncherDelegateImpl; |
| 16 class WindowWatcher; | 16 class WindowWatcher; |
| 17 | 17 |
| 18 class ShellDelegateImpl : public ash::ShellDelegate { | 18 class ShellDelegateImpl : public ash::ShellDelegate { |
| 19 public: | 19 public: |
| 20 ShellDelegateImpl(); | 20 ShellDelegateImpl(); |
| 21 virtual ~ShellDelegateImpl(); | 21 virtual ~ShellDelegateImpl(); |
| 22 | 22 |
| 23 void SetWatcher(WindowWatcher* watcher); | 23 void SetWatcher(WindowWatcher* watcher); |
| 24 | 24 |
| 25 virtual views::Widget* CreateStatusArea() OVERRIDE; | |
| 26 virtual bool IsUserLoggedIn() OVERRIDE; | 25 virtual bool IsUserLoggedIn() OVERRIDE; |
| 27 virtual void LockScreen() OVERRIDE; | 26 virtual void LockScreen() OVERRIDE; |
| 28 virtual void UnlockScreen() OVERRIDE; | 27 virtual void UnlockScreen() OVERRIDE; |
| 29 virtual bool IsScreenLocked() const OVERRIDE; | 28 virtual bool IsScreenLocked() const OVERRIDE; |
| 30 virtual void Exit() OVERRIDE; | 29 virtual void Exit() OVERRIDE; |
| 31 virtual void NewWindow(bool incognito) OVERRIDE; | 30 virtual void NewWindow(bool incognito) OVERRIDE; |
| 32 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 31 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 33 virtual void StartPartialScreenshot( | 32 virtual void StartPartialScreenshot( |
| 34 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 33 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
| 35 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 34 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
| (...skipping 10 matching lines...) Expand all Loading... |
| 46 | 45 |
| 47 bool locked_; | 46 bool locked_; |
| 48 | 47 |
| 49 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 48 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
| 50 }; | 49 }; |
| 51 | 50 |
| 52 } // namespace shell | 51 } // namespace shell |
| 53 } // namespace ash | 52 } // namespace ash |
| 54 | 53 |
| 55 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 54 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| OLD | NEW |