Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Side by Side Diff: chrome/browser/ui/gtk/web_dialog_gtk.h

Issue 10796049: Move WebDialogWebContentsDelegate to ui/web_dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_WEB_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_WEB_DIALOG_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_WEB_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_WEB_DIALOG_GTK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h"
14 #include "ui/base/gtk/gtk_signal.h" 13 #include "ui/base/gtk/gtk_signal.h"
15 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
16 #include "ui/gfx/size.h" 15 #include "ui/gfx/size.h"
17 #include "ui/web_dialogs/web_dialog_delegate.h" 16 #include "ui/web_dialogs/web_dialog_delegate.h"
17 #include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
18 18
19 typedef struct _GtkWidget GtkWidget; 19 typedef struct _GtkWidget GtkWidget;
20 20
21 class TabContentsContainerGtk; 21 class TabContentsContainerGtk;
22 class TabContents; 22 class TabContents;
23 23
24 namespace content { 24 namespace content {
25 class BrowserContext; 25 class BrowserContext;
26 } 26 }
27 27
28 class WebDialogGtk : public WebDialogWebContentsDelegate, 28 class WebDialogGtk : public ui::WebDialogWebContentsDelegate,
29 public ui::WebDialogDelegate { 29 public ui::WebDialogDelegate {
30 public: 30 public:
31 WebDialogGtk(content::BrowserContext* context, 31 WebDialogGtk(content::BrowserContext* context,
32 ui::WebDialogDelegate* delegate, 32 ui::WebDialogDelegate* delegate,
33 gfx::NativeWindow parent_window); 33 gfx::NativeWindow parent_window);
34 virtual ~WebDialogGtk(); 34 virtual ~WebDialogGtk();
35 35
36 // Initializes the contents of the dialog (the DOMView and the callbacks). 36 // Initializes the contents of the dialog (the DOMView and the callbacks).
37 gfx::NativeWindow InitDialog(); 37 gfx::NativeWindow InitDialog();
38 38
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 GtkWidget* dialog_; 78 GtkWidget* dialog_;
79 79
80 scoped_ptr<TabContents> tab_; 80 scoped_ptr<TabContents> tab_;
81 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; 81 scoped_ptr<TabContentsContainerGtk> tab_contents_container_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(WebDialogGtk); 83 DISALLOW_COPY_AND_ASSIGN(WebDialogGtk);
84 }; 84 };
85 85
86 #endif // CHROME_BROWSER_UI_GTK_WEB_DIALOG_GTK_H_ 86 #endif // CHROME_BROWSER_UI_GTK_WEB_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc ('k') | chrome/browser/ui/gtk/web_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698