OLD | NEW |
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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/prefs/pref_change_registrar.h" | |
18 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "components/prefs/pref_change_registrar.h" |
19 #include "ui/base/work_area_watcher_observer.h" | 19 #include "ui/base/work_area_watcher_observer.h" |
20 | 20 |
21 class AppControllerProfileObserver; | 21 class AppControllerProfileObserver; |
22 @class AppShimMenuController; | 22 @class AppShimMenuController; |
23 class BookmarkMenuBridge; | 23 class BookmarkMenuBridge; |
24 class CommandUpdater; | 24 class CommandUpdater; |
25 class GURL; | 25 class GURL; |
26 class HandoffActiveURLObserverBridge; | 26 class HandoffActiveURLObserverBridge; |
27 @class HandoffManager; | 27 @class HandoffManager; |
28 class HistoryMenuBridge; | 28 class HistoryMenuBridge; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 namespace app_controller_mac { | 179 namespace app_controller_mac { |
180 | 180 |
181 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in | 181 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in |
182 // SessionService::Observe() to get around windows/linux and mac having | 182 // SessionService::Observe() to get around windows/linux and mac having |
183 // different models of application lifetime. | 183 // different models of application lifetime. |
184 bool IsOpeningNewWindow(); | 184 bool IsOpeningNewWindow(); |
185 | 185 |
186 } // namespace app_controller_mac | 186 } // namespace app_controller_mac |
187 | 187 |
188 #endif | 188 #endif |
OLD | NEW |