mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Introduce CefString and cef_string_t implementations that support string type conversions and customization of the API string type (issue #146).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@145 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -251,13 +251,13 @@ class BrowserWebViewDelegate : public WebKit::WebViewClient,
|
||||
|
||||
// Default handling of JavaScript messages.
|
||||
void ShowJavaScriptAlert(WebKit::WebFrame* webframe,
|
||||
const std::wstring& message);
|
||||
const CefString& message);
|
||||
bool ShowJavaScriptConfirm(WebKit::WebFrame* webframe,
|
||||
const std::wstring& message);
|
||||
const CefString& message);
|
||||
bool ShowJavaScriptPrompt(WebKit::WebFrame* webframe,
|
||||
const std::wstring& message,
|
||||
const std::wstring& default_value,
|
||||
std::wstring* result);
|
||||
const CefString& message,
|
||||
const CefString& default_value,
|
||||
CefString* result);
|
||||
|
||||
// Called to show the file chooser dialog.
|
||||
bool ShowFileChooser(std::vector<FilePath>& file_names,
|
||||
|
Reference in New Issue
Block a user