Index: chrome/common/extensions/api/screenlock_private.idl |
diff --git a/chrome/common/extensions/api/screenlock_private.idl b/chrome/common/extensions/api/screenlock_private.idl |
index d33bdd565b09fa932956c2f23dbde3868080d882..9af2160f813c4098b37c8fb38854ceeec3537cd0 100644 |
--- a/chrome/common/extensions/api/screenlock_private.idl |
+++ b/chrome/common/extensions/api/screenlock_private.idl |
@@ -16,16 +16,7 @@ namespace screenlockPrivate { |
// in the password field. |
enum AuthType {offlinePassword, numericPin, userClick}; |
- // Extension resource for a icon representation for a scale factor. |
- dictionary IconRepresentation { |
- // The scale factor the representation is for. |
- double scaleFactor; |
- // The image resource URL. |
- DOMString url; |
- }; |
- |
callback BooleanCallback = void(boolean locked); |
- callback AuthTypeCallback = void(AuthType authType); |
interface Functions { |
// Returns true if the screen is currently locked, false otherwise. |
@@ -35,27 +26,6 @@ namespace screenlockPrivate { |
// <code>locked=false</code> to unlock it. |
static void setLocked(boolean locked); |
- // Show a message to the user on the unlock UI if the screen is locked. |
- static void showMessage(DOMString message); |
- |
- // Show a custom icon beside the input field on the user pod. |
- // |icon|: Extension resoucres for the icon's multi-scale representations. |
- // Currently, only scales 1 and 2 are supported. The list must have a |
- // resource for at least scale 1. |
- static void showCustomIcon(IconRepresentation[] icon); |
- |
- // Hides the custom icon added by $(ref:showCustomIcon)(). |
- static void hideCustomIcon(); |
- |
- // Returns the current auth type used for the user pod. |
- static void getAuthType(AuthTypeCallback callback); |
- |
- // Set the type of the authentication for the user pod. The input field |
- // area of the user pod below the user's portrait will be changed. |
- // |authType|: The type of authentication to use. |
- // |initialValue|: The initial value to populate the input field. |
- static void setAuthType(AuthType authType, optional DOMString initialValue); |
- |
// Accepts or rejects the current auth attempt. |
static void acceptAuthAttempt(boolean accept); |
}; |