| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/importer_lock_view.h" | 5 #include "chrome/browser/views/importer_lock_view.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" |
| 7 #include "chrome/browser/importer/importer.h" | 8 #include "chrome/browser/importer/importer.h" |
| 8 #include "chrome/browser/views/standard_layout.h" | 9 #include "chrome/browser/views/standard_layout.h" |
| 9 #include "chrome/common/l10n_util.h" | |
| 10 #include "chrome/views/controls/label.h" | 10 #include "chrome/views/controls/label.h" |
| 11 #include "chrome/views/window/window.h" | 11 #include "chrome/views/window/window.h" |
| 12 #include "grit/chromium_strings.h" | 12 #include "grit/chromium_strings.h" |
| 13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 14 #include "grit/locale_settings.h" | 14 #include "grit/locale_settings.h" |
| 15 | 15 |
| 16 using views::ColumnSet; | 16 using views::ColumnSet; |
| 17 using views::GridLayout; | 17 using views::GridLayout; |
| 18 | 18 |
| 19 // Default size of the dialog window. | 19 // Default size of the dialog window. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 bool ImporterLockView::Cancel() { | 72 bool ImporterLockView::Cancel() { |
| 73 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( | 73 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( |
| 74 importer_host_, &ImporterHost::OnLockViewEnd, false)); | 74 importer_host_, &ImporterHost::OnLockViewEnd, false)); |
| 75 return true; | 75 return true; |
| 76 } | 76 } |
| 77 | 77 |
| 78 views::View* ImporterLockView::GetContentsView() { | 78 views::View* ImporterLockView::GetContentsView() { |
| 79 return this; | 79 return this; |
| 80 } | 80 } |
| OLD | NEW |