mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 91.0.4472.0 (#870763)
This commit is contained in:
@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/callback.h"
|
||||
#include "base/strings/string16.h"
|
||||
#include "content/public/common/javascript_dialog_type.h"
|
||||
|
||||
class AlloyBrowserHostImpl;
|
||||
@ -16,15 +15,15 @@ class AlloyBrowserHostImpl;
|
||||
class CefJavaScriptDialogRunner {
|
||||
public:
|
||||
typedef base::OnceCallback<void(bool /* success */,
|
||||
const base::string16& /* user_input */)>
|
||||
const std::u16string& /* user_input */)>
|
||||
DialogClosedCallback;
|
||||
|
||||
// Run the dialog. Execute |callback| on completion.
|
||||
virtual void Run(AlloyBrowserHostImpl* browser,
|
||||
content::JavaScriptDialogType message_type,
|
||||
const base::string16& display_url,
|
||||
const base::string16& message_text,
|
||||
const base::string16& default_prompt_text,
|
||||
const std::u16string& display_url,
|
||||
const std::u16string& message_text,
|
||||
const std::u16string& default_prompt_text,
|
||||
DialogClosedCallback callback) = 0;
|
||||
|
||||
// Cancel a dialog mid-flight.
|
||||
|
Reference in New Issue
Block a user