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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h

Issue 843023002: [Smart Lock] Add a private API to show an error bubble anchored to the Smart Lock app window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/extensions/api/easy_unlock_private/easy_unlock_private_api.h
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
index b835bdeacdb9e1a998a9e08cd45c074882b4357c..8f366c677b28e325e11275b473b054b12734a255 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
@@ -353,6 +353,21 @@ class EasyUnlockPrivateGetConnectionInfoFunction
DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetConnectionInfoFunction);
};
+class EasyUnlockPrivateShowErrorBubbleFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.showErrorBubble",
+ EASYUNLOCKPRIVATE_SHOWERRORBUBBLE)
+ EasyUnlockPrivateShowErrorBubbleFunction();
+
+ private:
+ ~EasyUnlockPrivateShowErrorBubbleFunction() override;
+
+ // SyncExtensionFunction:
+ bool RunSync() override;
+
+ DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateShowErrorBubbleFunction);
+};
+
} // namespace api
} // namespace extensions
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698