Chromium Code Reviews| Index: chrome/browser/ui/webui/html_dialog_ui.h |
| diff --git a/chrome/browser/ui/webui/html_dialog_ui.h b/chrome/browser/ui/webui/html_dialog_ui.h |
| index 390790d66639d41a662153d2dd2a0337be49a6d4..be251ae64bbde10594ec2a5d4b5a59dc2dc6d817 100644 |
| --- a/chrome/browser/ui/webui/html_dialog_ui.h |
| +++ b/chrome/browser/ui/webui/html_dialog_ui.h |
| @@ -12,6 +12,7 @@ |
| #include "base/string16.h" |
| #include "chrome/browser/ui/webui/chrome_web_ui.h" |
| #include "googleurl/src/gurl.h" |
| +#include "ui/gfx/rect.h" |
| struct ContextMenuParams; |
| @@ -69,6 +70,9 @@ class HtmlDialogUIDelegate { |
| // customized menu. |
| virtual bool HandleContextMenu(const ContextMenuParams& params); |
| + // Stores the dialog bounds. |
| + virtual void StoreDialogSize(gfx::Rect dialog_bounds) {} |
|
yoshiki
2011/12/01 14:28:30
Could you add "const" modifier to dialog_bounds ar
NaveenBobbili (Motorola)
2011/12/02 07:58:11
Done.
|
| + |
| protected: |
| virtual ~HtmlDialogUIDelegate() {} |
| }; |