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

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

Issue 55683002: Instantiate AppShimMenuController when app launcher is enabled. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment Created 7 years, 1 month 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 | Annotate | Revision Log
« 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Clear the list of startup URLs. 130 // Clear the list of startup URLs.
131 - (void)clearStartupUrls; 131 - (void)clearStartupUrls;
132 132
133 - (BookmarkMenuBridge*)bookmarkMenuBridge; 133 - (BookmarkMenuBridge*)bookmarkMenuBridge;
134 134
135 // Subscribes/unsubscribes from the work area change notification. 135 // Subscribes/unsubscribes from the work area change notification.
136 - (void)addObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer; 136 - (void)addObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer;
137 - (void)removeObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer; 137 - (void)removeObserverForWorkAreaChange:(ui::WorkAreaWatcherObserver*)observer;
138 138
139 // Initializes the AppShimMenuController. This enables changing the menu bar for
140 // apps.
141 - (void)initAppShimMenuController;
142
139 @end 143 @end
140 144
141 #endif // __OBJC__ 145 #endif // __OBJC__
142 146
143 // Functions that may be accessed from non-Objective-C C/C++ code. 147 // Functions that may be accessed from non-Objective-C C/C++ code.
144 148
145 namespace app_controller_mac { 149 namespace app_controller_mac {
146 150
147 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in 151 // True if we are currently handling an IDC_NEW_{TAB,WINDOW} command. Used in
148 // SessionService::Observe() to get around windows/linux and mac having 152 // SessionService::Observe() to get around windows/linux and mac having
149 // different models of application lifetime. 153 // different models of application lifetime.
150 bool IsOpeningNewWindow(); 154 bool IsOpeningNewWindow();
151 155
152 } // namespace app_controller_mac 156 } // namespace app_controller_mac
153 157
154 #endif 158 #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