| OLD | NEW |
| 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 #include "chrome/browser/ui/panels/panel_browser_window_cocoa.h" | 5 #include "chrome/browser/ui/panels/panel_browser_window_cocoa.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" | 9 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
| 10 #import "chrome/browser/ui/cocoa/browser_window_utils.h" | 10 #import "chrome/browser/ui/cocoa/browser_window_utils.h" |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 | 188 |
| 189 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { | 189 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { |
| 190 [controller_ close]; | 190 [controller_ close]; |
| 191 } | 191 } |
| 192 | 192 |
| 193 void PanelBrowserWindowCocoa::didCloseNativeWindow() { | 193 void PanelBrowserWindowCocoa::didCloseNativeWindow() { |
| 194 DCHECK(!isClosed()); | 194 DCHECK(!isClosed()); |
| 195 panel_->manager()->Remove(panel_.get()); | 195 panel_->manager()->Remove(panel_.get()); |
| 196 controller_ = NULL; | 196 controller_ = NULL; |
| 197 } | 197 } |
| 198 gfx::Size PanelBrowserWindowCocoa::GetNonClientAreaExtent() const { |
| 199 NOTIMPLEMENTED(); |
| 200 return gfx::Size(); |
| 201 } |
| 202 |
| 203 int PanelBrowserWindowCocoa::GetRestoredHeight() const { |
| 204 NOTIMPLEMENTED(); |
| 205 return 0; |
| 206 } |
| 207 |
| 208 void PanelBrowserWindowCocoa::SetRestoredHeight(int height) { |
| 209 NOTIMPLEMENTED(); |
| 210 } |
| 211 |
| 198 // NativePanelTesting implementation. | 212 // NativePanelTesting implementation. |
| 199 | 213 |
| 200 // static | 214 // static |
| 201 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) { | 215 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) { |
| 202 NOTIMPLEMENTED(); | 216 NOTIMPLEMENTED(); |
| 203 return NULL; | 217 return NULL; |
| 204 } | 218 } |
| OLD | NEW |