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

Unified Diff: chrome/browser/dom_ui/dom_ui.h

Issue 20110: Initial checkin of the HTML downloads UI. It's not yet complete (lacking... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
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:

Powered by Google App Engine
This is Rietveld 408576698