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