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

Side by Side Diff: chrome/browser/cocoa/browser_window_controller.h

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 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_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 // A class acting as the Objective-C controller for the Browser 9 // A class acting as the Objective-C controller for the Browser
10 // object. Handles interactions between Cocoa and the cross-platform 10 // object. Handles interactions between Cocoa and the cross-platform
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // Retains the given FindBarCocoaController and adds its view to this 210 // Retains the given FindBarCocoaController and adds its view to this
211 // browser window. Must only be called once per 211 // browser window. Must only be called once per
212 // BrowserWindowController. 212 // BrowserWindowController.
213 - (void)addFindBar:(FindBarCocoaController*)findBarCocoaController; 213 - (void)addFindBar:(FindBarCocoaController*)findBarCocoaController;
214 214
215 // The user changed the theme. 215 // The user changed the theme.
216 - (void)userChangedTheme; 216 - (void)userChangedTheme;
217 217
218 // Executes the command in the context of the current browser. 218 // Executes the command in the context of the current browser.
219 // |command| is an integer value containing one of the constants defined in the 219 // |command| is an integer value containing one of the constants defined in the
220 // "chrome/app/chrome_dll_resource.h" file. 220 // "chrome/app/chrome_command_ids.h" file.
221 - (void)executeCommand:(int)command; 221 - (void)executeCommand:(int)command;
222 222
223 // Delegate method for the status bubble to query its base frame. 223 // Delegate method for the status bubble to query its base frame.
224 - (NSRect)statusBubbleBaseFrame; 224 - (NSRect)statusBubbleBaseFrame;
225 225
226 // Show the bookmark bubble (e.g. user just clicked on the STAR) 226 // Show the bookmark bubble (e.g. user just clicked on the STAR)
227 - (void)showBookmarkBubbleForURL:(const GURL&)url 227 - (void)showBookmarkBubbleForURL:(const GURL&)url
228 alreadyBookmarked:(BOOL)alreadyBookmarked; 228 alreadyBookmarked:(BOOL)alreadyBookmarked;
229 229
230 // Returns the (lazily created) window sheet controller of this window. Used 230 // Returns the (lazily created) window sheet controller of this window. Used
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 - (void)resetWindowGrowthState; 388 - (void)resetWindowGrowthState;
389 389
390 // Computes by how far in each direction, horizontal and vertical, the 390 // Computes by how far in each direction, horizontal and vertical, the
391 // |source| rect doesn't fit into |target|. 391 // |source| rect doesn't fit into |target|.
392 - (NSSize)overflowFrom:(NSRect)source 392 - (NSSize)overflowFrom:(NSRect)source
393 to:(NSRect)target; 393 to:(NSRect)target;
394 @end // @interface BrowserWindowController(TestingAPI) 394 @end // @interface BrowserWindowController(TestingAPI)
395 395
396 396
397 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 397 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698