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

Side by Side Diff: base/mac_util.h

Issue 3560004: Refactor the code for loading icons into the PageInfoModel. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: cleanup 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/mac_util.mm » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef BASE_MAC_UTIL_H_ 5 #ifndef BASE_MAC_UTIL_H_
6 #define BASE_MAC_UTIL_H_ 6 #define BASE_MAC_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <Carbon/Carbon.h> 9 #include <Carbon/Carbon.h>
10 #include <string> 10 #include <string>
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // specified hide flag. 162 // specified hide flag.
163 void AddToLoginItems(bool hide_on_startup); 163 void AddToLoginItems(bool hide_on_startup);
164 164
165 // Removes the current application from the list Of Login Items. 165 // Removes the current application from the list Of Login Items.
166 void RemoveFromLoginItems(); 166 void RemoveFromLoginItems();
167 167
168 // Returns true if the current process was automatically launched as a 168 // Returns true if the current process was automatically launched as a
169 // 'Login Item' with 'hide on startup' flag. Used to suppress opening windows. 169 // 'Login Item' with 'hide on startup' flag. Used to suppress opening windows.
170 bool WasLaunchedAsHiddenLoginItem(); 170 bool WasLaunchedAsHiddenLoginItem();
171 171
172 // Retain/release calls for memory management in C++.
173 void NSObjectRetain(void* obj);
174 void NSObjectRelease(void* obj);
175
172 } // namespace mac_util 176 } // namespace mac_util
173 177
174 #endif // BASE_MAC_UTIL_H_ 178 #endif // BASE_MAC_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/mac_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698