OLD | NEW |
1 // Copyright (c) 2011 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_UI_VIEWS_HTML_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
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/browser/dom_ui/html_dialog_tab_contents_delegate.h" | 12 #include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h" |
13 #include "chrome/browser/ui/views/dom_view.h" | 13 #include "chrome/browser/ui/views/dom_view.h" |
14 #include "gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 #include "views/window/window_delegate.h" | 15 #include "views/window/window_delegate.h" |
16 | 16 |
17 class Browser; | 17 class Browser; |
18 namespace views { | 18 namespace views { |
19 class Window; | 19 class Window; |
20 } | 20 } |
21 | 21 |
22 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
23 // | 23 // |
24 // HtmlDialogView is a view used to display an HTML dialog to the user. The | 24 // HtmlDialogView is a view used to display an HTML dialog to the user. The |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // This view is a delegate to the HTML content since it needs to get notified | 80 // This view is a delegate to the HTML content since it needs to get notified |
81 // about when the dialog is closing. For all other actions (besides dialog | 81 // about when the dialog is closing. For all other actions (besides dialog |
82 // closing) we delegate to the creator of this view, which we keep track of | 82 // closing) we delegate to the creator of this view, which we keep track of |
83 // using this variable. | 83 // using this variable. |
84 HtmlDialogUIDelegate* delegate_; | 84 HtmlDialogUIDelegate* delegate_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView); | 86 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView); |
87 }; | 87 }; |
88 | 88 |
89 #endif // CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ | 89 #endif // CHROME_BROWSER_UI_VIEWS_HTML_DIALOG_VIEW_H_ |
OLD | NEW |