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

Unified Diff: chrome/common/extensions/api/screenlock_private.idl

Issue 562393002: Remove unused chrome.screenlockPrivate methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/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);
};
« no previous file with comments | « chrome/browser/signin/screenlock_bridge.cc ('k') | chrome/test/data/extensions/api_test/screenlock_private/auth_type/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698