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

Side by Side Diff: chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc

Issue 11044020: Make Web Intents picker in Views conform to latest mocks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add a .cc file for constants to be able to compile in debug mode Created 8 years, 2 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
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 #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 "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/tab_contents/tab_contents.h" 9 #include "chrome/browser/ui/tab_contents/tab_contents.h"
10 #include "chrome/browser/ui/views/constrained_window_views.h" 10 #include "chrome/browser/ui/views/constrained_window_views.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ConstrainedWebDialogDelegate* ui::CreateConstrainedWebDialog( 177 ConstrainedWebDialogDelegate* ui::CreateConstrainedWebDialog(
178 Profile* profile, 178 Profile* profile,
179 WebDialogDelegate* delegate, 179 WebDialogDelegate* delegate,
180 WebDialogWebContentsDelegate* tab_delegate, 180 WebDialogWebContentsDelegate* tab_delegate,
181 TabContents* container) { 181 TabContents* container) {
182 ConstrainedWebDialogDelegateViewViews* constrained_delegate = 182 ConstrainedWebDialogDelegateViewViews* constrained_delegate =
183 new ConstrainedWebDialogDelegateViewViews(profile, delegate, tab_delegate) ; 183 new ConstrainedWebDialogDelegateViewViews(profile, delegate, tab_delegate) ;
184 ConstrainedWindow* constrained_window = 184 ConstrainedWindow* constrained_window =
185 new ConstrainedWindowViews(container->web_contents(), 185 new ConstrainedWindowViews(container->web_contents(),
186 constrained_delegate, 186 constrained_delegate,
187 false); 187 false,
188 ConstrainedWindowViews::DEFAULT_INSETS);
188 constrained_delegate->set_window(constrained_window); 189 constrained_delegate->set_window(constrained_window);
189 return constrained_delegate; 190 return constrained_delegate;
190 } 191 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.cc ('k') | chrome/browser/ui/views/constrained_window_frame_simple.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698