OLD | NEW |
1 // Copyright (c) 2009 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 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/scoped_nsobject.h" | 12 #include "base/scoped_nsobject.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 | 14 |
15 @class AboutWindowController; | 15 @class AboutWindowController; |
16 class BookmarkMenuBridge; | 16 class BookmarkMenuBridge; |
17 class CommandUpdater; | 17 class CommandUpdater; |
18 @class CrApplication; | |
19 class GURL; | 18 class GURL; |
20 class HistoryMenuBridge; | 19 class HistoryMenuBridge; |
21 @class PreferencesWindowController; | 20 @class PreferencesWindowController; |
22 class Profile; | 21 class Profile; |
23 | 22 |
24 // The application controller object, created by loading the MainMenu nib. | 23 // The application controller object, created by loading the MainMenu nib. |
25 // This handles things like responding to menus when there are no windows | 24 // This handles things like responding to menus when there are no windows |
26 // open, etc and acts as the NSApplication delegate. | 25 // open, etc and acts as the NSApplication delegate. |
27 @interface AppController : NSObject<NSUserInterfaceValidations> { | 26 @interface AppController : NSObject<NSUserInterfaceValidations> { |
28 @private | 27 @private |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 // Get the URLs that Launch Services expects the browser to open at startup. | 86 // Get the URLs that Launch Services expects the browser to open at startup. |
88 - (const std::vector<GURL>&)startupUrls; | 87 - (const std::vector<GURL>&)startupUrls; |
89 | 88 |
90 // Clear the list of startup URLs. | 89 // Clear the list of startup URLs. |
91 - (void)clearStartupUrls; | 90 - (void)clearStartupUrls; |
92 | 91 |
93 @end | 92 @end |
94 | 93 |
95 #endif | 94 #endif |
OLD | NEW |