| Index: chrome/browser/dom_ui/dom_ui.h
|
| ===================================================================
|
| --- chrome/browser/dom_ui/dom_ui.h (revision 9684)
|
| +++ chrome/browser/dom_ui/dom_ui.h (working copy)
|
| @@ -35,6 +35,7 @@
|
| // of the call, and should be thought of more like sending a message to
|
| // the page.
|
| // There are two function variants for one-arg and two-arg calls.
|
| + void CallJavascriptFunction(const std::wstring& function_name);
|
| void CallJavascriptFunction(const std::wstring& function_name,
|
| const Value& arg);
|
| void CallJavascriptFunction(const std::wstring& function_name,
|
| @@ -77,6 +78,12 @@
|
| std::wstring title,
|
| const GURL& gurl);
|
|
|
| + // Extract an integer value from a Value.
|
| + int ExtractIntegerValue(const Value* value);
|
| +
|
| + // Extract a string value from a Value.
|
| + std::wstring ExtractStringValue(const Value* value);
|
| +
|
| DOMUI* const dom_ui_;
|
|
|
| private:
|
|
|