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

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

Issue 1894903003: Mac: Fix SDK 10.11 Compile errors after clang roll in r387792 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mock BaseBubbleController Created 4 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 // Indicate that the system is powering off or logging out. 134 // Indicate that the system is powering off or logging out.
135 - (void)willPowerOff:(NSNotification*)inNotification; 135 - (void)willPowerOff:(NSNotification*)inNotification;
136 136
137 // Returns true if there is a modal window (either window- or application- 137 // Returns true if there is a modal window (either window- or application-
138 // modal) blocking the active browser. Note that tab modal dialogs (HTTP auth 138 // modal) blocking the active browser. Note that tab modal dialogs (HTTP auth
139 // sheets) will not count as blocking the browser. But things like open/save 139 // sheets) will not count as blocking the browser. But things like open/save
140 // dialogs that are window modal will block the browser. 140 // dialogs that are window modal will block the browser.
141 - (BOOL)keyWindowIsModal; 141 - (BOOL)keyWindowIsModal;
142 142
143 // Called when the user picks a menu item when there are no key windows, or when
144 // there is no foreground browser window. Calls through to the browser object to
145 // execute the command. This assumes that the command is supported and doesn't
146 // check, otherwise it should have been disabled in the UI in
147 // |-validateUserInterfaceItem:|.
148 - (void)commandDispatch:(id)sender;
149
143 // Show the preferences window, or bring it to the front if it's already 150 // Show the preferences window, or bring it to the front if it's already
144 // visible. 151 // visible.
145 - (IBAction)showPreferences:(id)sender; 152 - (IBAction)showPreferences:(id)sender;
146 153
147 // Redirect in the menu item from the expected target of "File's 154 // Redirect in the menu item from the expected target of "File's
148 // Owner" (NSApplication) for a Branded About Box 155 // Owner" (NSApplication) for a Branded About Box
149 - (IBAction)orderFrontStandardAboutPanel:(id)sender; 156 - (IBAction)orderFrontStandardAboutPanel:(id)sender;
150 157
151 // Toggles the "Confirm to Quit" preference. 158 // Toggles the "Confirm to Quit" preference.
152 - (IBAction)toggleConfirmToQuit:(id)sender; 159 - (IBAction)toggleConfirmToQuit:(id)sender;
(...skipping 30 matching lines...) Expand all
183 namespace app_controller_mac { 190 namespace app_controller_mac {
184 191
185 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in 192 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in
186 // SessionService::Observe() to get around windows/linux and mac having 193 // SessionService::Observe() to get around windows/linux and mac having
187 // different models of application lifetime. 194 // different models of application lifetime.
188 bool IsOpeningNewWindow(); 195 bool IsOpeningNewWindow();
189 196
190 } // namespace app_controller_mac 197 } // namespace app_controller_mac
191 198
192 #endif 199 #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