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/shell_dialogs.h" | 5 #include "chrome/browser/ui/shell_dialogs.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 #include <CoreServices/CoreServices.h> | 8 #include <CoreServices/CoreServices.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 paths, | 408 paths, |
409 index); | 409 index); |
410 [panel release]; | 410 [panel release]; |
411 } | 411 } |
412 | 412 |
413 - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename { | 413 - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename { |
414 return selectFileDialogImpl_->ShouldEnableFilename(sender, filename); | 414 return selectFileDialogImpl_->ShouldEnableFilename(sender, filename); |
415 } | 415 } |
416 | 416 |
417 @end | 417 @end |
OLD | NEW |