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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_utils.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_COCOA_BROWSER_WINDOW_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "chrome/browser/ui/cocoa/themed_window.h" 10 #include "chrome/browser/ui/cocoa/themed_window.h"
11 11
12 class Browser;
13
14 namespace content { 12 namespace content {
15 struct NativeWebKeyboardEvent; 13 struct NativeWebKeyboardEvent;
16 } 14 }
17 15
18 @interface BrowserWindowUtils : NSObject 16 @interface BrowserWindowUtils : NSObject
19 17
20 // Returns YES if keyboard event should be handled. 18 // Returns YES if keyboard event should be handled.
21 + (BOOL)shouldHandleKeyboardEvent:(const content::NativeWebKeyboardEvent&)event; 19 + (BOOL)shouldHandleKeyboardEvent:(const content::NativeWebKeyboardEvent&)event;
22 20
23 // Returns YES if keyboard event is a text editing command such as Copy or Paste 21 // Returns YES if keyboard event is a text editing command such as Copy or Paste
(...skipping 29 matching lines...) Expand all
53 // of a theme image should be painted at. This method exists so that the 51 // of a theme image should be painted at. This method exists so that the
54 // position can be queried by the new tab button before the tab strip is layed 52 // position can be queried by the new tab button before the tab strip is layed
55 // out. 53 // out.
56 + (NSPoint)themeImagePositionInTabStripCoords:(NSView*)tabStripView 54 + (NSPoint)themeImagePositionInTabStripCoords:(NSView*)tabStripView
57 alignment:(ThemeImageAlignment)alignment; 55 alignment:(ThemeImageAlignment)alignment;
58 56
59 + (void)activateWindowForController:(NSWindowController*)controller; 57 + (void)activateWindowForController:(NSWindowController*)controller;
60 @end 58 @end
61 59
62 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_ 60 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/confirm_bubble_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698