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 CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h" | 14 #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h" |
15 #include "chrome/browser/ui/webui/html_dialog_ui.h" | 15 #include "chrome/browser/ui/webui/html_dialog_ui.h" |
16 #include "ui/base/gtk/gtk_signal.h" | 16 #include "ui/base/gtk/gtk_signal.h" |
17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/size.h" |
19 | 19 |
20 typedef struct _GtkWidget GtkWidget; | 20 typedef struct _GtkWidget GtkWidget; |
21 | 21 |
22 class Browser; | 22 class Browser; |
23 class HtmlDialogController; | 23 class HtmlDialogController; |
24 class Profile; | 24 class Profile; |
25 class TabContents; | |
26 class TabContentsContainerGtk; | 25 class TabContentsContainerGtk; |
27 class TabContentsWrapper; | 26 class TabContentsWrapper; |
28 | 27 |
29 class HtmlDialogGtk : public HtmlDialogTabContentsDelegate, | 28 class HtmlDialogGtk : public HtmlDialogTabContentsDelegate, |
30 public HtmlDialogUIDelegate { | 29 public HtmlDialogUIDelegate { |
31 public: | 30 public: |
32 HtmlDialogGtk(Profile* profile, | 31 HtmlDialogGtk(Profile* profile, |
33 Browser* browser, | 32 Browser* browser, |
34 HtmlDialogUIDelegate* delegate, | 33 HtmlDialogUIDelegate* delegate, |
35 gfx::NativeWindow parent_window); | 34 gfx::NativeWindow parent_window); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 GtkWidget* dialog_; | 78 GtkWidget* dialog_; |
80 | 79 |
81 scoped_ptr<HtmlDialogController> dialog_controller_; | 80 scoped_ptr<HtmlDialogController> dialog_controller_; |
82 scoped_ptr<TabContentsWrapper> tab_; | 81 scoped_ptr<TabContentsWrapper> tab_; |
83 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; | 82 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; |
84 | 83 |
85 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk); | 84 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk); |
86 }; | 85 }; |
87 | 86 |
88 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ | 87 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ |
OLD | NEW |