| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // Returns WebUI associated with screen locker implementation or NULL if | 65 // Returns WebUI associated with screen locker implementation or NULL if |
| 66 // there isn't one. | 66 // there isn't one. |
| 67 virtual content::WebUI* GetAssociatedWebUI(); | 67 virtual content::WebUI* GetAssociatedWebUI(); |
| 68 | 68 |
| 69 // Called when webui lock screen is ready. | 69 // Called when webui lock screen is ready. |
| 70 virtual void OnLockWebUIReady() = 0; | 70 virtual void OnLockWebUIReady() = 0; |
| 71 | 71 |
| 72 // Called when webui lock screen wallpaper is loaded and displayed. | 72 // Called when webui lock screen wallpaper is loaded and displayed. |
| 73 virtual void OnLockBackgroundDisplayed() = 0; | 73 virtual void OnLockBackgroundDisplayed() = 0; |
| 74 | 74 |
| 75 // Called when the webui header bar becomes visible. |
| 76 virtual void OnHeaderBarVisible() = 0; |
| 77 |
| 75 // Returns screen locker associated with delegate. | 78 // Returns screen locker associated with delegate. |
| 76 ScreenLocker* screen_locker() { return screen_locker_; } | 79 ScreenLocker* screen_locker() { return screen_locker_; } |
| 77 | 80 |
| 78 protected: | 81 protected: |
| 79 // ScreenLocker that owns this delegate. | 82 // ScreenLocker that owns this delegate. |
| 80 ScreenLocker* screen_locker_; | 83 ScreenLocker* screen_locker_; |
| 81 | 84 |
| 82 DISALLOW_COPY_AND_ASSIGN(ScreenLockerDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(ScreenLockerDelegate); |
| 83 }; | 86 }; |
| 84 | 87 |
| 85 } // namespace chromeos | 88 } // namespace chromeos |
| 86 | 89 |
| 87 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ | 90 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_DELEGATE_H_ |
| OLD | NEW |