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