| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ | 6 #define CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 11 #include "chrome/browser/dom_ui/html_dialog_ui.h" |
| 12 #include "chrome/common/notification_observer.h" |
| 12 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
| 13 | 14 |
| 14 namespace gfx { | 15 namespace gfx { |
| 15 class Size; | 16 class Size; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace IPC { | 19 namespace IPC { |
| 19 class Message; | 20 class Message; |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 HtmlDialogUI::HtmlDialogParams params_; | 58 HtmlDialogUI::HtmlDialogParams params_; |
| 58 | 59 |
| 59 // Once we get our reply in OnModalDialogResponse we'll need to respond to the | 60 // Once we get our reply in OnModalDialogResponse we'll need to respond to the |
| 60 // plugin using this |sync_result| pointer so we store it between calls. | 61 // plugin using this |sync_result| pointer so we store it between calls. |
| 61 IPC::Message* sync_response_; | 62 IPC::Message* sync_response_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate); | 64 DISALLOW_COPY_AND_ASSIGN(ModalHtmlDialogDelegate); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ | 67 #endif // CHROME_BROWSER_MODAL_HTML_DIALOG_DELEGATE_H_ |
| OLD | NEW |