From 73852b8f9c03c6b7a27436f828ed888f71232257 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Fri, 14 May 2010 00:38:12 +0000 Subject: [Large; Chromium OS] Work to host the cloud print dialog when built for Chromium OS. Currently disabled by default behind a command line switch, and containing a non-real URL for now, this code is at prototype level. It works (when enabled and pointed at a functioning cloud print service URL), has the beginnings of some unit tests, and has the beginnings of deeper communication with the dialog contents, and it shuts off the DOM UI access from the dialog contents. Patch contributed by Scott Byer Review URL: http://codereview.chromium.org/1769006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47228 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chrome_plugin_host.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/chrome_plugin_host.cc') diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc index c9b0428..30e1fa4 100644 --- a/chrome/browser/chrome_plugin_host.cc +++ b/chrome/browser/chrome_plugin_host.cc @@ -326,6 +326,7 @@ class ModelessHtmlDialogDelegate : public HtmlDialogUIDelegate { io_message_loop_->PostTask(FROM_HERE, NewRunnableMethod( this, &ModelessHtmlDialogDelegate::ReportResults, json_retval)); } + virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) { } private: // Actually shows the dialog on the UI thread. -- cgit v1.1