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

Unified Diff: chrome/browser/platform_util_mac.mm

Issue 3828009: Move scoped_nsdisable_screen_update from base to app/mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/platform_util_mac.mm
===================================================================
--- chrome/browser/platform_util_mac.mm (revision 62899)
+++ chrome/browser/platform_util_mac.mm (working copy)
@@ -12,7 +12,7 @@
#include "base/file_path.h"
#include "base/logging.h"
#include "base/mac_util.h"
-#include "base/scoped_aedesc.h"
+#include "base/mac/scoped_aedesc.h"
#include "base/sys_string_conversions.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
@@ -43,7 +43,7 @@
OSErr status;
// Create the target of this AppleEvent, the Finder.
- scoped_aedesc<AEAddressDesc> address;
+ base::mac::ScopedAEDesc<AEAddressDesc> address;
const OSType finderCreatorCode = 'MACS';
status = AECreateDesc(typeApplSignature, // type
&finderCreatorCode, // data
@@ -55,7 +55,7 @@
}
// Build the AppleEvent data structure that instructs Finder to open files.
- scoped_aedesc<AppleEvent> theEvent;
+ base::mac::ScopedAEDesc<AppleEvent> theEvent;
status = AECreateAppleEvent(kCoreEventClass, // theAEEventClass
kAEOpenDocuments, // theAEEventID
address, // target
@@ -68,7 +68,7 @@
}
// Create the list of files (only ever one) to open.
- scoped_aedesc<AEDescList> fileList;
+ base::mac::ScopedAEDesc<AEDescList> fileList;
status = AECreateList(NULL, // factoringPtr
0, // factoredSize
false, // isRecord
@@ -107,7 +107,7 @@
}
// Send the actual event. Do not care about the reply.
- scoped_aedesc<AppleEvent> reply;
+ base::mac::ScopedAEDesc<AppleEvent> reply;
status = AESend(theEvent, // theAppleEvent
reply.OutPointer(), // reply
kAENoReply + kAEAlwaysInteract, // sendMode

Powered by Google App Engine
This is Rietveld 408576698