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 gfx::Size PanelBrowserWindowCocoa::GetNonClientAreaExtent() const { |
| 171 NOTIMPLEMENTED(); |
| 172 return gfx::Size(); |
| 173 } |
| 174 |
| 175 int PanelBrowserWindowCocoa::GetRestoredHeight() const { |
| 176 NOTIMPLEMENTED(); |
| 177 return 0; |
| 178 } |
| 179 |
| 180 void PanelBrowserWindowCocoa::SetRestoredHeight(int height) { |
| 181 NOTIMPLEMENTED(); |
| 182 } |
| 183 |
170 NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() { | 184 NativePanelTesting* PanelBrowserWindowCocoa::GetNativePanelTesting() { |
171 return this; | 185 return this; |
172 } | 186 } |
OLD | NEW |