| Index: chrome/browser/dom_ui/html_dialog_ui.h
|
| ===================================================================
|
| --- chrome/browser/dom_ui/html_dialog_ui.h (revision 19317)
|
| +++ chrome/browser/dom_ui/html_dialog_ui.h (working copy)
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_BROWSER_DOM_UI_HTML_DIALOG_UI_H_
|
| #define CHROME_BROWSER_DOM_UI_HTML_DIALOG_UI_H_
|
|
|
| +#include <vector>
|
| +
|
| #include "chrome/browser/dom_ui/dom_ui.h"
|
| #include "chrome/common/property_bag.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -25,6 +27,13 @@
|
| // Get the HTML file path for the content to load in the dialog.
|
| virtual GURL GetDialogContentURL() const = 0;
|
|
|
| + // Get DOMMessageHandler objects to handle messages from the HTML/JS page.
|
| + // The handlers are used to send and receive messages from the page while it
|
| + // is still open. Ownership of each handler is taken over by the DOMUI
|
| + // hosting the page.
|
| + virtual void GetDOMMessageHandlers(
|
| + std::vector<DOMMessageHandler*>* handlers) const = 0;
|
| +
|
| // Get the size of the dialog.
|
| virtual void GetDialogSize(gfx::Size* size) const = 0;
|
|
|
|
|