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

Unified Diff: chrome/browser/extensions/extension_permissions_prompt.h

Issue 12943010: Add native permissions dialog for apps_devtools app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/extension_permissions_prompt.h
diff --git a/chrome/browser/extensions/extension_permissions_prompt.h b/chrome/browser/extensions/extension_permissions_prompt.h
new file mode 100644
index 0000000000000000000000000000000000000000..b3b8dd8480c481386b8c0fb9c91ddc5c0144e285
--- /dev/null
+++ b/chrome/browser/extensions/extension_permissions_prompt.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_
+
+#include "chrome/browser/extensions/extension_install_prompt.h"
+
+class ExtensionPermissionsPrompt : public ExtensionInstallPrompt {
+
+ public:
+
+ explicit ExtensionPermissionsPrompt(content::WebContents* contents);
+
+ // This *WILL* call Abort() on |delegate|.
asargent_no_longer_on_chrome 2013/03/20 21:46:30 do you mean it will *always* call InstallUIAbort,
Gaurav 2013/03/27 19:06:44 yes
+ virtual void PermissionsDialog(Delegate* delegate,
asargent_no_longer_on_chrome 2013/03/20 21:46:30 Is this delegate a ExtensionInstallPrompt::Delegat
Gaurav 2013/03/27 19:06:44 Done.
+ const extensions::Extension* extension);
+
+};
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_

Powered by Google App Engine
This is Rietveld 408576698