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

Unified Diff: athena/content/web_activity.cc

Issue 692563002: JS dialogs for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix deps Created 6 years, 1 month 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 | « athena/content/DEPS ('k') | athena/extensions/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/web_activity.cc
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc
index d6801b84a6139ea7f50501dd054c239645074a60..a6bdb82b51a516046566685066eb1c40b0b0422f 100644
--- a/athena/content/web_activity.cc
+++ b/athena/content/web_activity.cc
@@ -16,6 +16,7 @@
#include "base/bind.h"
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
+#include "components/app_modal_dialogs/javascript_dialog_manager.h"
#include "components/favicon_base/select_favicon_frames.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/browser/navigation_controller.h"
@@ -365,8 +366,7 @@ class AthenaWebView : public views::WebView {
}
content::JavaScriptDialogManager* GetJavaScriptDialogManager() override {
- NOTIMPLEMENTED();
- return nullptr;
+ return GetJavaScriptDialogManagerInstance();
}
content::ColorChooser* OpenColorChooser(
« no previous file with comments | « athena/content/DEPS ('k') | athena/extensions/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698