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

Side by Side Diff: chrome/common/platform_util_mac.mm

Issue 99200: Remove an include that's no longer necessary (constant moved headers). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 7 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/platform_util.h" 5 #include "chrome/common/platform_util.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
12 #include "chrome/browser/cocoa/tab_window_controller.h" 12 #include "chrome/browser/cocoa/tab_window_controller.h"
13 #include "chrome/common/l10n_util.h" 13 #include "chrome/common/l10n_util.h"
14 #include "grit/chromium_strings.h"
15 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
16 15
17 namespace platform_util { 16 namespace platform_util {
18 17
19 void ShowItemInFolder(const FilePath& full_path) { 18 void ShowItemInFolder(const FilePath& full_path) {
20 NSString* path_string = base::SysUTF8ToNSString(full_path.value()); 19 NSString* path_string = base::SysUTF8ToNSString(full_path.value());
21 [[NSWorkspace sharedWorkspace] selectFile:path_string 20 [[NSWorkspace sharedWorkspace] selectFile:path_string
22 inFileViewerRootedAtPath:nil]; 21 inFileViewerRootedAtPath:nil];
23 } 22 }
24 23
(...skipping 14 matching lines...) Expand all
39 38
40 return base::SysNSStringToUTF16(title); 39 return base::SysNSStringToUTF16(title);
41 } 40 }
42 41
43 bool IsWindowActive(gfx::NativeWindow window) { 42 bool IsWindowActive(gfx::NativeWindow window) {
44 NOTIMPLEMENTED(); 43 NOTIMPLEMENTED();
45 return false; 44 return false;
46 } 45 }
47 46
48 } // namespace platform_util 47 } // namespace platform_util
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698