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

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

Issue 11421079: Persist the Instant API to committed search result pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years 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 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 #include "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h" 5 #include "chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h"
6 6
7 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" 7 #include "chrome/browser/ui/gtk/constrained_window_gtk.h"
8 #include "chrome/browser/ui/tab_contents/tab_contents.h" 8 #include "chrome/browser/ui/tab_contents/tab_contents.h"
9 #include "content/public/browser/notification_source.h" 9 #include "content/public/browser/notification_source.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 WebDialogDelegate* delegate, 97 WebDialogDelegate* delegate,
98 WebDialogWebContentsDelegate* tab_delegate, 98 WebDialogWebContentsDelegate* tab_delegate,
99 content::WebContents* web_contents) { 99 content::WebContents* web_contents) {
100 ConstrainedWebDialogDelegateGtk* constrained_delegate = 100 ConstrainedWebDialogDelegateGtk* constrained_delegate =
101 new ConstrainedWebDialogDelegateGtk(profile, delegate, tab_delegate); 101 new ConstrainedWebDialogDelegateGtk(profile, delegate, tab_delegate);
102 ConstrainedWindow* constrained_window = 102 ConstrainedWindow* constrained_window =
103 new ConstrainedWindowGtk(web_contents, constrained_delegate); 103 new ConstrainedWindowGtk(web_contents, constrained_delegate);
104 constrained_delegate->set_window(constrained_window); 104 constrained_delegate->set_window(constrained_window);
105 return constrained_delegate; 105 return constrained_delegate;
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698