diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 22:25:22 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-19 22:25:22 +0000 |
commit | 12e14fcf977c5a4be6dd8e2778ac13382e2bf08a (patch) | |
tree | cba94d23134369e2db9174b152a635272450e0eb /chrome/browser/dom_ui/dom_ui.h | |
parent | 0603139039825ae34f1c9f659827eb78dada2728 (diff) | |
download | chromium_src-12e14fcf977c5a4be6dd8e2778ac13382e2bf08a.zip chromium_src-12e14fcf977c5a4be6dd8e2778ac13382e2bf08a.tar.gz chromium_src-12e14fcf977c5a4be6dd8e2778ac13382e2bf08a.tar.bz2 |
Initial checkin of the HTML downloads UI. It's not yet complete (lacking interface polish). But is enough for us to begin removing the native UI.ojan, please review downloads.htmlpaul, please review everything else
Review URL: http://codereview.chromium.org/20110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui.h')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h index 8b0286b..ff0f96f 100644 --- a/chrome/browser/dom_ui/dom_ui.h +++ b/chrome/browser/dom_ui/dom_ui.h @@ -35,6 +35,7 @@ class DOMUI { // 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 @@ class DOMMessageHandler { std::wstring title, const GURL& gurl); + // Extract an integer value from a Value. + bool ExtractIntegerValue(const Value* value, int* out_int); + + // Extract a string value from a Value. + std::wstring ExtractStringValue(const Value* value); + DOMUI* const dom_ui_; private: |