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

Side by Side Diff: chrome/browser/ui/views/importer/import_progress_dialog_view.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 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 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/ui/views/importer/import_progress_dialog_view.h" 5 #include "chrome/browser/ui/views/importer/import_progress_dialog_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/importer/importer_host.h" 8 #include "chrome/browser/importer/importer_host.h"
9 #include "chrome/browser/importer/importer_observer.h" 9 #include "chrome/browser/importer/importer_observer.h"
10 #include "chrome/browser/importer/importer_progress_dialog.h" 10 #include "chrome/browser/importer/importer_progress_dialog.h"
11 #include "grit/chromium_strings.h" 11 #include "grit/chromium_strings.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/locale_settings.h" 13 #include "grit/locale_settings.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/views/layout/grid_layout.h" 15 #include "ui/views/layout/grid_layout.h"
16 #include "ui/views/layout/layout_constants.h" 16 #include "ui/views/layout/layout_constants.h"
17 #include "ui/views/widget/widget.h"
17 #include "views/controls/label.h" 18 #include "views/controls/label.h"
18 #include "views/controls/throbber.h" 19 #include "views/controls/throbber.h"
19 #include "views/widget/widget.h"
20 20
21 ImportProgressDialogView::ImportProgressDialogView( 21 ImportProgressDialogView::ImportProgressDialogView(
22 HWND parent_window, 22 HWND parent_window,
23 uint16 items, 23 uint16 items,
24 ImporterHost* importer_host, 24 ImporterHost* importer_host,
25 ImporterObserver* importer_observer, 25 ImporterObserver* importer_observer,
26 const string16& importer_name, 26 const string16& importer_name,
27 bool bookmarks_import) 27 bool bookmarks_import)
28 : state_bookmarks_(new views::CheckmarkThrobber), 28 : state_bookmarks_(new views::CheckmarkThrobber),
29 state_searches_(new views::CheckmarkThrobber), 29 state_searches_(new views::CheckmarkThrobber),
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 if (!importer_host->is_headless() && !first_run) 303 if (!importer_host->is_headless() && !first_run)
304 window->Show(); 304 window->Show();
305 305
306 importer_host->StartImportSettings( 306 importer_host->StartImportSettings(
307 source_profile, target_profile, items, new ProfileWriter(target_profile), 307 source_profile, target_profile, items, new ProfileWriter(target_profile),
308 first_run); 308 first_run);
309 } 309 }
310 310
311 } // namespace importer 311 } // namespace importer
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/importer/import_lock_dialog_view.cc ('k') | chrome/browser/ui/views/infobars/extension_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698