diff options
author | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 01:54:28 +0000 |
---|---|---|
committer | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 01:54:28 +0000 |
commit | 1c704b71a123770b6091a01d9a54ac57a99ae290 (patch) | |
tree | 05c4bf67cbd39da2d2cb7891596a64cb6b5e7b9f /base/mac_util.h | |
parent | 3dc423f963527b2788226359b34ab367f0788e44 (diff) | |
download | chromium_src-1c704b71a123770b6091a01d9a54ac57a99ae290.zip chromium_src-1c704b71a123770b6091a01d9a54ac57a99ae290.tar.gz chromium_src-1c704b71a123770b6091a01d9a54ac57a99ae290.tar.bz2 |
Revert 57614 - Re-land. Fixed previous build error.
It looks like it broke browser_tests. Will revert and investigate.
Implement OSX version for "Start on Login" for background-enabled extensions.
Review URL: http://codereview.chromium.org/3163029
TBR=dimich@chromium.org
Review URL: http://codereview.chromium.org/3226002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac_util.h')
-rw-r--r-- | base/mac_util.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/base/mac_util.h b/base/mac_util.h index 4b8d636..d50e9e3 100644 --- a/base/mac_util.h +++ b/base/mac_util.h @@ -149,26 +149,6 @@ void SetProcessName(CFStringRef process_name); // releasing the return value. CGImageRef CopyNSImageToCGImage(NSImage* image); -// Checks if the current application is set as a Login Item, so it will launch -// on Login. If a non-NULL pointer to is_hidden is passed, the Login Item also -// is queried for the 'hide on launch' flag. -bool CheckLoginItemStatus(bool* is_hidden); - -// Adds current application to the set of Login Items with specified "hide" -// flag. This has the same effect as adding/removing the application in -// SystemPreferences->Accounts->LoginItems or marking Application in the Dock -// as "Options->Open on Login". -// Does nothing if the application is already set up as Login Item with -// specified hide flag. -void AddToLoginItems(bool hide_on_startup); - -// Removes the current application from the list Of Login Items. -void RemoveFromLoginItems(); - -// Returns true if the current process was automatically launched as a -// 'Login Item' with 'hide on startup' flag. Used to suppress opening windows. -bool WasLaunchedAsHiddenLoginItem(); - } // namespace mac_util #endif // BASE_MAC_UTIL_H_ |