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

Side by Side Diff: chrome/browser/views/extensions/extension_install_prompt.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h" 5 #include "app/l10n_util.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
9 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/extensions/extension_install_ui.h" 11 #include "chrome/browser/extensions/extension_install_ui.h"
11 #include "chrome/common/extensions/extension.h" 12 #include "chrome/common/extensions/extension.h"
12 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
13 #include "views/controls/button/checkbox.h" 14 #include "views/controls/button/checkbox.h"
14 #include "views/controls/image_view.h" 15 #include "views/controls/image_view.h"
15 #include "views/controls/label.h" 16 #include "views/controls/label.h"
16 #include "views/controls/link.h" 17 #include "views/controls/link.h"
17 #include "views/standard_layout.h" 18 #include "views/standard_layout.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (!window) { 208 if (!window) {
208 delegate->InstallUIAbort(); 209 delegate->InstallUIAbort();
209 return; 210 return;
210 } 211 }
211 212
212 views::Window::CreateChromeWindow(window->GetNativeHandle(), gfx::Rect(), 213 views::Window::CreateChromeWindow(window->GetNativeHandle(), gfx::Rect(),
213 new InstallDialogContent(delegate, extension, icon, 214 new InstallDialogContent(delegate, extension, icon,
214 UTF16ToWideHack(warning_text), 215 UTF16ToWideHack(warning_text),
215 type))->Show(); 216 type))->Show();
216 } 217 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698