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

Unified Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.mm

Issue 9969025: Fix compile warnings in Panel.xib (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/panels/panel_window_controller_cocoa.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_window_controller_cocoa.mm
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.mm b/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
index b002118636ae668f75dbbac0909a5d14a6b581d2..8538f2abacea322e5ef83cd1c0899a2d49aa7087 100644
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
@@ -75,20 +75,6 @@ enum {
- (int)numPanels;
@end
-@interface PanelWindowCocoaImpl : ChromeBrowserWindow {
- // Panel windows use a higher priority NSWindowLevel to ensure they are always
- // visible, causing the OS to prefer panel windows when selecting a window
- // to make the key window. To counter this preference, we override
- // -[NSWindow:canBecomeKeyWindow] to restrict when the panel can become the
- // key window to a limited set of scenarios, such as when cycling through
- // windows, when panels are the only remaining windows, when an event
- // triggers window activation, etc. The panel may also be prevented from
- // becoming the key window, regardless of the above scenarios, such as when
- // a panel is minimized.
- BOOL canBecomeKey_; // Defaults to NO.
-}
-@end
-
@implementation PanelWindowCocoaImpl
// The panels cannot be reduced to 3-px windows on the edge of the screen
// active area (above Dock). Default constraining logic makes at least a height
« no previous file with comments | « chrome/browser/ui/panels/panel_window_controller_cocoa.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698