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

Unified Diff: chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h

Issue 11358027: Move constrained web dialog code back to chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros fix2 Created 8 years, 1 month 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/webui/tab_modal_confirm_dialog_webui.h
diff --git a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
index 5cbecd9843b5cc216d330621d0ff74be193eadcf..2f4a5126811d5e50eedbee72bf447804b706d049 100644
--- a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
+++ b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.h
@@ -15,9 +15,7 @@
#include "chrome/browser/ui/tab_modal_confirm_dialog.h"
#include "ui/web_dialogs/web_dialog_delegate.h"
-namespace ui {
class ConstrainedWebDialogDelegate;
-}
// Displays a tab-modal dialog, i.e. a dialog that will block the current page
// but still allow the user to switch to a different page.
@@ -44,7 +42,7 @@ class TabModalConfirmDialogWebUI : public TabModalConfirmDialog,
bool* out_close_dialog) OVERRIDE;
virtual bool ShouldShowDialogTitle() const OVERRIDE;
- ui::ConstrainedWebDialogDelegate* constrained_web_dialog_delegate() {
+ ConstrainedWebDialogDelegate* constrained_web_dialog_delegate() {
return constrained_web_dialog_delegate_;
}
@@ -58,7 +56,7 @@ class TabModalConfirmDialogWebUI : public TabModalConfirmDialog,
scoped_ptr<TabModalConfirmDialogDelegate> delegate_;
// Deletes itself.
- ui::ConstrainedWebDialogDelegate* constrained_web_dialog_delegate_;
+ ConstrainedWebDialogDelegate* constrained_web_dialog_delegate_;
DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogWebUI);
};
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698