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

Side by Side Diff: chrome/browser/app_controller_mac.h

Issue 1072193012: Revert of [Mac] AppControllerMac updates the window when a Profile is deleted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | chrome/browser/app_controller_mac.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_APP_CONTROLLER_MAC_H_ 5 #ifndef CHROME_BROWSER_APP_CONTROLLER_MAC_H_
6 #define CHROME_BROWSER_APP_CONTROLLER_MAC_H_ 6 #define CHROME_BROWSER_APP_CONTROLLER_MAC_H_
7 7
8 #if defined(__OBJC__) 8 #if defined(__OBJC__)
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Toggles the "Hide Notifications Icon" preference. 150 // Toggles the "Hide Notifications Icon" preference.
151 - (IBAction)toggleDisplayMessageCenter:(id)sender; 151 - (IBAction)toggleDisplayMessageCenter:(id)sender;
152 152
153 // Delegate method to return the dock menu. 153 // Delegate method to return the dock menu.
154 - (NSMenu*)applicationDockMenu:(NSApplication*)sender; 154 - (NSMenu*)applicationDockMenu:(NSApplication*)sender;
155 155
156 // Get the URLs that Launch Services expects the browser to open at startup. 156 // Get the URLs that Launch Services expects the browser to open at startup.
157 - (const std::vector<GURL>&)startupUrls; 157 - (const std::vector<GURL>&)startupUrls;
158 158
159 - (BookmarkMenuBridge*)bookmarkMenuBridge; 159 - (BookmarkMenuBridge*)bookmarkMenuBridge;
160 - (HistoryMenuBridge*)historyMenuBridge;
161 160
162 // Subscribes/unsubscribes from the work area change notification. 161 // Subscribes/unsubscribes from the work area change notification.
163 - (void)addObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer; 162 - (void)addObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer;
164 - (void)removeObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer; 163 - (void)removeObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer;
165 164
166 // Initializes the AppShimMenuController. This enables changing the menu bar for 165 // Initializes the AppShimMenuController. This enables changing the menu bar for
167 // apps. 166 // apps.
168 - (void)initAppShimMenuController; 167 - (void)initAppShimMenuController;
169 168
170 // Called when the user has changed browser windows, meaning the backing profile 169 // Called when the user has changed browser windows, meaning the backing profile
(...skipping 11 matching lines...) Expand all
182 namespace app_controller_mac { 181 namespace app_controller_mac {
183 182
184 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in 183 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in
185 // SessionService::Observe() to get around windows/linux and mac having 184 // SessionService::Observe() to get around windows/linux and mac having
186 // different models of application lifetime. 185 // different models of application lifetime.
187 bool IsOpeningNewWindow(); 186 bool IsOpeningNewWindow();
188 187
189 } // namespace app_controller_mac 188 } // namespace app_controller_mac
190 189
191 #endif 190 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698