| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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/views/importer_lock_view.h" | 5 #include "chrome/browser/ui/views/importer_lock_view.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/importer/importer.h" | 10 #include "chrome/browser/importer/importer.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 "views/controls/label.h" | 14 #include "views/controls/label.h" |
| 15 #include "views/standard_layout.h" | 15 #include "views/standard_layout.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 bool ImporterLockView::Cancel() { | 71 bool ImporterLockView::Cancel() { |
| 72 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( | 72 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( |
| 73 importer_host_, &ImporterHost::OnLockViewEnd, false)); | 73 importer_host_, &ImporterHost::OnLockViewEnd, false)); |
| 74 return true; | 74 return true; |
| 75 } | 75 } |
| 76 | 76 |
| 77 views::View* ImporterLockView::GetContentsView() { | 77 views::View* ImporterLockView::GetContentsView() { |
| 78 return this; | 78 return this; |
| 79 } | 79 } |
| OLD | NEW |