| Index: chrome/browser/ui/panels/panel_cocoa.mm
|
| diff --git a/chrome/browser/ui/panels/panel_cocoa.mm b/chrome/browser/ui/panels/panel_cocoa.mm
|
| index 4fbdb0224fd220e47ca7df64716a8d12f2b9ce6f..2ba9033db47c593fc97cb6ae80eda9ecfe0330d9 100644
|
| --- a/chrome/browser/ui/panels/panel_cocoa.mm
|
| +++ b/chrome/browser/ui/panels/panel_cocoa.mm
|
| @@ -156,11 +156,6 @@ void PanelCocoa::UpdatePanelLoadingAnimations(bool should_animate) {
|
| [controller_ updateThrobber:should_animate];
|
| }
|
|
|
| -FindBar* PanelCocoa::CreatePanelFindBar() {
|
| - NOTREACHED(); // legacy API from browser window. N/A for refactored panels.
|
| - return NULL;
|
| -}
|
| -
|
| void PanelCocoa::NotifyPanelOnUserChangedTheme() {
|
| NOTIMPLEMENTED();
|
| }
|
| @@ -203,12 +198,6 @@ bool PanelCocoa::IsDrawingAttention() const {
|
| return [titlebar isDrawingAttention];
|
| }
|
|
|
| -bool PanelCocoa::PreHandlePanelKeyboardEvent(
|
| - const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
|
| - // No need to prehandle as no keys are reserved.
|
| - return false;
|
| -}
|
| -
|
| void PanelCocoa::HandlePanelKeyboardEvent(
|
| const NativeWebKeyboardEvent& event) {
|
| if (event.skip_in_browser || event.type == NativeWebKeyboardEvent::Char)
|
| @@ -225,15 +214,6 @@ void PanelCocoa::FullScreenModeChanged(
|
| [controller_ fullScreenModeChanged:is_full_screen];
|
| }
|
|
|
| -Browser* PanelCocoa::GetPanelBrowser() const {
|
| - NOTREACHED(); // legacy API from BrowserWindow. N/A for refactored panels.
|
| - return NULL;
|
| -}
|
| -
|
| -void PanelCocoa::EnsurePanelFullyVisible() {
|
| - [controller_ ensureFullyVisible];
|
| -}
|
| -
|
| void PanelCocoa::SetPanelAlwaysOnTop(bool on_top) {
|
| [controller_ updateWindowLevel];
|
| }
|
|
|