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

Unified Diff: chrome/browser/signin/screenlock_bridge.h

Issue 289013002: cros: Clean up screenlockPrivate plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
Index: chrome/browser/signin/screenlock_bridge.h
diff --git a/chrome/browser/signin/screenlock_bridge.h b/chrome/browser/signin/screenlock_bridge.h
index cce1b7c2958e53ef2c6102439489da1e0c655b06..6e82317f305ad435430c7e8367e52c666483c0cb 100644
--- a/chrome/browser/signin/screenlock_bridge.h
+++ b/chrome/browser/signin/screenlock_bridge.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_SIGNIN_SCREENLOCK_BRIDGE_H_
#define CHROME_BROWSER_SIGNIN_SCREENLOCK_BRIDGE_H_
-#include "base/callback_forward.h"
+#include <string>
+
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/observer_list.h"
@@ -45,14 +46,12 @@ class ScreenlockBridge {
// Displays |message| in a banner on the lock screen.
virtual void ShowBannerMessage(const std::string& message) = 0;
- // Shows a button inside the user pod on the lock screen with an icon.
- // |callback| is invoked when the icon is clicked. This is deprecated now.
- virtual void ShowUserPodButton(const std::string& user_email,
- const gfx::Image& icon,
- const base::Closure& callback) = 0;
+ // Shows a custom icon in the user pod on the lock screen.
+ virtual void ShowUserPodCustomIcon(const std::string& user_email,
+ const gfx::Image& icon) = 0;
- // Hides the user pod button for a user.
- virtual void HideUserPodButton(const std::string& user_email) = 0;
+ // Hides the custom icon in user pod for a user.
+ virtual void HideUserPodCustomIcon(const std::string& user_email) = 0;
// (Re)enable lock screen UI.
virtual void EnableInput() = 0;

Powered by Google App Engine
This is Rietveld 408576698