| 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 #include "chrome/browser/ui/panels/panel.h" | 10 #include "chrome/browser/ui/panels/panel.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 Browser* PanelBrowserWindowCocoa::GetPanelBrowser() const { | 161 Browser* PanelBrowserWindowCocoa::GetPanelBrowser() const { |
| 162 return browser(); | 162 return browser(); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { | 165 void PanelBrowserWindowCocoa::DestroyPanelBrowser() { |
| 166 [controller_ close]; | 166 [controller_ close]; |
| 167 controller_ = NULL; | 167 controller_ = NULL; |
| 168 } | 168 } |
| 169 | 169 |
| 170 NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() { | 170 // NativePanelTesting implementation. |
| 171 return this; | 171 NativePanelTesting* NativePanelTesting::Create(NativePanel* native_panel) { |
| 172 NOTIMPLEMENTED(); |
| 173 return NULL; |
| 172 } | 174 } |
| OLD | NEW |