OLD | NEW |
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/shell_dialogs.h" | 5 #include "chrome/browser/ui/shell_dialogs.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <commdlg.h> | 8 #include <commdlg.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <set> | 12 #include <set> |
13 | 13 |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 void SelectFontDialogImpl::FontNotSelected(void* params, RunState run_state) { | 1121 void SelectFontDialogImpl::FontNotSelected(void* params, RunState run_state) { |
1122 if (listener_) | 1122 if (listener_) |
1123 listener_->FontSelectionCanceled(params); | 1123 listener_->FontSelectionCanceled(params); |
1124 EndRun(run_state); | 1124 EndRun(run_state); |
1125 } | 1125 } |
1126 | 1126 |
1127 // static | 1127 // static |
1128 SelectFontDialog* SelectFontDialog::Create(Listener* listener) { | 1128 SelectFontDialog* SelectFontDialog::Create(Listener* listener) { |
1129 return new SelectFontDialogImpl(listener); | 1129 return new SelectFontDialogImpl(listener); |
1130 } | 1130 } |
OLD | NEW |