| Index: chrome/browser/ui/panels/panel_window_controller_cocoa.h
|
| diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
|
| index eaca99eddfab285809959300017ace58d2481807..aff1f8c03b43481935b974293a7ca444d738d500 100644
|
| --- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h
|
| +++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
|
| @@ -27,16 +27,6 @@ class PanelBrowserWindowCocoa;
|
| @class PanelTitlebarViewCocoa;
|
|
|
| @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
|
|
|
| @@ -153,10 +143,6 @@ class PanelBrowserWindowCocoa;
|
| // Turns on user-resizable corners/sides indications and enables live resize.
|
| - (void)enableResizeByMouse:(BOOL)enable;
|
|
|
| -// In certain cases (when in a Docked strip for example) we want
|
| -// the standard behavior of activating the app when clicking on the titlebar
|
| -// to be disabled. This way, user can minimize the panel w/o activating it.
|
| -- (BOOL)isActivationByClickingTitlebarEnabled;
|
| @end // @interface PanelWindowController
|
|
|
| #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
|
|
|