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

Side by Side Diff: chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc

Issue 6538053: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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) 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 #include "chrome/browser/dom_ui/constrained_html_ui.h" 5 #include "chrome/browser/webui/constrained_html_ui.h"
6 6
7 #include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h"
8 #include "chrome/browser/dom_ui/html_dialog_ui.h"
9 #include "chrome/browser/renderer_host/render_view_host.h" 7 #include "chrome/browser/renderer_host/render_view_host.h"
10 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
11 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" 9 #include "chrome/browser/ui/gtk/constrained_window_gtk.h"
12 #include "chrome/browser/ui/gtk/gtk_util.h" 10 #include "chrome/browser/ui/gtk/gtk_util.h"
13 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h" 11 #include "chrome/browser/ui/gtk/tab_contents_container_gtk.h"
12 #include "chrome/browser/webui/html_dialog_tab_contents_delegate.h"
13 #include "chrome/browser/webui/html_dialog_ui.h"
14 #include "chrome/common/notification_source.h" 14 #include "chrome/common/notification_source.h"
15 #include "ipc/ipc_message.h" 15 #include "ipc/ipc_message.h"
16 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
17 17
18 class ConstrainedHtmlDelegateGtk : public ConstrainedWindowGtkDelegate, 18 class ConstrainedHtmlDelegateGtk : public ConstrainedWindowGtkDelegate,
19 public HtmlDialogTabContentsDelegate, 19 public HtmlDialogTabContentsDelegate,
20 public ConstrainedHtmlUIDelegate { 20 public ConstrainedHtmlUIDelegate {
21 public: 21 public:
22 ConstrainedHtmlDelegateGtk(Profile* profile, 22 ConstrainedHtmlDelegateGtk(Profile* profile,
23 HtmlDialogUIDelegate* delegate); 23 HtmlDialogUIDelegate* delegate);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void ConstrainedHtmlUI::CreateConstrainedHtmlDialog( 107 void ConstrainedHtmlUI::CreateConstrainedHtmlDialog(
108 Profile* profile, 108 Profile* profile,
109 HtmlDialogUIDelegate* delegate, 109 HtmlDialogUIDelegate* delegate,
110 TabContents* overshadowed) { 110 TabContents* overshadowed) {
111 ConstrainedHtmlDelegateGtk* constrained_delegate = 111 ConstrainedHtmlDelegateGtk* constrained_delegate =
112 new ConstrainedHtmlDelegateGtk(profile, delegate); 112 new ConstrainedHtmlDelegateGtk(profile, delegate);
113 ConstrainedWindow* constrained_window = 113 ConstrainedWindow* constrained_window =
114 overshadowed->CreateConstrainedDialog(constrained_delegate); 114 overshadowed->CreateConstrainedDialog(constrained_delegate);
115 constrained_delegate->set_window(constrained_window); 115 constrained_delegate->set_window(constrained_window);
116 } 116 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/html_dialog_window_controller_unittest.mm ('k') | chrome/browser/ui/gtk/html_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698