| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ | 5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ |
| 6 #define UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ | 6 #define UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "ui/base/ui_base_types.h" | 12 #include "ui/base/ui_base_types.h" |
| 13 #include "ui/base/window_open_disposition.h" |
| 13 #include "ui/web_dialogs/web_dialogs_export.h" | 14 #include "ui/web_dialogs/web_dialogs_export.h" |
| 14 #include "webkit/glue/window_open_disposition.h" | |
| 15 | 15 |
| 16 class GURL; | 16 class GURL; |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 class RenderViewHost; | 19 class RenderViewHost; |
| 20 class WebContents; | 20 class WebContents; |
| 21 class WebUI; | 21 class WebUI; |
| 22 class WebUIMessageHandler; | 22 class WebUIMessageHandler; |
| 23 struct ContextMenuParams; | 23 struct ContextMenuParams; |
| 24 struct OpenURLParams; | 24 struct OpenURLParams; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 // Stores the dialog bounds. | 117 // Stores the dialog bounds. |
| 118 virtual void StoreDialogSize(const gfx::Size& dialog_size) {} | 118 virtual void StoreDialogSize(const gfx::Size& dialog_size) {} |
| 119 | 119 |
| 120 virtual ~WebDialogDelegate() {} | 120 virtual ~WebDialogDelegate() {} |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace ui | 123 } // namespace ui |
| 124 | 124 |
| 125 #endif // UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ | 125 #endif // UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_ |
| OLD | NEW |