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

Unified Diff: components/app_modal/javascript_dialog_manager.cc

Issue 2846363004: Make extension callbacks with auto-dismissing dialogs (Closed)
Patch Set: reupload; no code change Created 3 years, 8 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
« no previous file with comments | « components/app_modal/javascript_dialog_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/app_modal/javascript_dialog_manager.cc
diff --git a/components/app_modal/javascript_dialog_manager.cc b/components/app_modal/javascript_dialog_manager.cc
index c5a368384b597f56c031f3c1ad1c6b89f659e268..560b1144af62e1aeca83d2ccc2d4ebdc9b2bf70d 100644
--- a/components/app_modal/javascript_dialog_manager.cc
+++ b/components/app_modal/javascript_dialog_manager.cc
@@ -85,6 +85,11 @@ void JavaScriptDialogManager::SetExtensionsClient(
extensions_client_ = std::move(extensions_client);
}
+JavaScriptDialogExtensionsClient*
+JavaScriptDialogManager::GetExtensionsClient() {
+ return extensions_client_.get();
+}
+
JavaScriptDialogManager::JavaScriptDialogManager()
: extensions_client_(new DefaultExtensionsClient) {
}
« no previous file with comments | « components/app_modal/javascript_dialog_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698