| 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/memory/scoped_nsobject.h" | 13 #include "base/memory/scoped_nsobject.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/prefs/public/pref_change_registrar.h" | 16 #include "base/prefs/pref_change_registrar.h" |
| 17 #include "ui/base/work_area_watcher_observer.h" | 17 #include "ui/base/work_area_watcher_observer.h" |
| 18 | 18 |
| 19 class BookmarkMenuBridge; | 19 class BookmarkMenuBridge; |
| 20 class CommandUpdater; | 20 class CommandUpdater; |
| 21 class GURL; | 21 class GURL; |
| 22 class HistoryMenuBridge; | 22 class HistoryMenuBridge; |
| 23 class Profile; | 23 class Profile; |
| 24 @class ProfileMenuController; | 24 @class ProfileMenuController; |
| 25 namespace ui { | 25 namespace ui { |
| 26 class WorkAreaWatcherObserver; | 26 class WorkAreaWatcherObserver; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 namespace app_controller_mac { | 131 namespace app_controller_mac { |
| 132 | 132 |
| 133 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in | 133 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in |
| 134 // SessionService::Observe() to get around windows/linux and mac having | 134 // SessionService::Observe() to get around windows/linux and mac having |
| 135 // different models of application lifetime. | 135 // different models of application lifetime. |
| 136 bool IsOpeningNewWindow(); | 136 bool IsOpeningNewWindow(); |
| 137 | 137 |
| 138 } // namespace app_controller_mac | 138 } // namespace app_controller_mac |
| 139 | 139 |
| 140 #endif | 140 #endif |
| OLD | NEW |