diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 00:29:31 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-08 00:29:31 +0000 |
commit | 4baf07d22b9104c1d4fdb3ef8dfe01d6f43b5a30 (patch) | |
tree | 530e8b348bf1e1b0e9a170348b48e76466fb9904 /chrome/browser/cocoa/chrome_browser_window.h | |
parent | 32ea48ecd3fb3e57413795523f0c67752f5e73f1 (diff) | |
download | chromium_src-4baf07d22b9104c1d4fdb3ef8dfe01d6f43b5a30.zip chromium_src-4baf07d22b9104c1d4fdb3ef8dfe01d6f43b5a30.tar.gz chromium_src-4baf07d22b9104c1d4fdb3ef8dfe01d6f43b5a30.tar.bz2 |
Revert "[Mac] Window titles for Expose."
Revert r28350 aka http://codereview.chromium.org/259023
Passed the trybots because of DCHECK which wasn't there for build
bots.
TBR=zork
Review URL: http://codereview.chromium.org/271015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/chrome_browser_window.h')
-rw-r--r-- | chrome/browser/cocoa/chrome_browser_window.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/chrome/browser/cocoa/chrome_browser_window.h b/chrome/browser/cocoa/chrome_browser_window.h deleted file mode 100644 index fb14b28..0000000 --- a/chrome/browser/cocoa/chrome_browser_window.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_COCOA_CHROME_BROWSER_WINDOW_H_ -#define CHROME_BROWSER_COCOA_CHROME_BROWSER_WINDOW_H_ - -#import <Cocoa/Cocoa.h> - -// Cocoa class representing a Chrome browser window. -// We need to override NSWindow with our own class since we need access to all -// unhandled keyboard events and subclassing NSWindow is the only method to do -// this. -@interface ChromeBrowserWindow : NSWindow { - BOOL shouldHideTitle_; -} - -// Override, so we can handle global keyboard events. -- (BOOL)performKeyEquivalent:(NSEvent*)theEvent; - -// Tells the window to suppress title drawing. -- (void)setShouldHideTitle:(BOOL)flag; - -@end - -@interface ChromeBrowserWindow (UndocumentedAPI) - -// Undocumented Cocoa API to suppress drawing of the window's title. -// -setTitle: still works, but the title set only applies to the -// miniwindow and menus (and, importantly, Expose). Overridden to -// return |shouldHideTitle_|. --(BOOL)_isTitleHidden; - -@end - -#endif // CHROME_BROWSER_COCOA_CHROME_BROWSER_WINDOW_H_ |