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

Unified Diff: chrome/browser/ui/gtk/web_dialog_gtk.h

Issue 10448066: Move the web dialogs code to src/ui/web_dialogs from src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/web_dialog_gtk.h
diff --git a/chrome/browser/ui/gtk/web_dialog_gtk.h b/chrome/browser/ui/gtk/web_dialog_gtk.h
index 18c4c12ec3b884c2aa025d38fdce731dda69f114..3546a1683245f4e7b71e10c704fe67e8747381de 100644
--- a/chrome/browser/ui/gtk/web_dialog_gtk.h
+++ b/chrome/browser/ui/gtk/web_dialog_gtk.h
@@ -11,11 +11,11 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/webui/web_dialog_delegate.h"
#include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h"
#include "ui/base/gtk/gtk_signal.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/size.h"
+#include "ui/web_dialogs/web_dialog_delegate.h"
typedef struct _GtkWidget GtkWidget;
@@ -26,18 +26,18 @@ class TabContentsWrapper;
class WebDialogController;
class WebDialogGtk : public WebDialogWebContentsDelegate,
- public WebDialogDelegate {
+ public ui::WebDialogDelegate {
public:
WebDialogGtk(Profile* profile,
Browser* browser,
- WebDialogDelegate* delegate,
+ ui::WebDialogDelegate* delegate,
gfx::NativeWindow parent_window);
virtual ~WebDialogGtk();
// Initializes the contents of the dialog (the DOMView and the callbacks).
gfx::NativeWindow InitDialog();
- // Overridden from WebDialogDelegate:
+ // Overridden from ui::WebDialogDelegate:
virtual ui::ModalType GetDialogModalType() const OVERRIDE;
virtual string16 GetDialogTitle() const OVERRIDE;
virtual GURL GetDialogContentURL() const OVERRIDE;
@@ -72,7 +72,7 @@ class WebDialogGtk : public WebDialogWebContentsDelegate,
// about when the dialog is closing. For all other actions (besides dialog
// closing) we delegate to the creator of this view, which we keep track of
// using this variable.
- WebDialogDelegate* delegate_;
+ ui::WebDialogDelegate* delegate_;
gfx::NativeWindow parent_window_;
« 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