| 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.h" | 5 #include "chrome/browser/ui/panels/panel.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/extensions/extension_prefs.h" | 8 #include "chrome/browser/extensions/extension_prefs.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 gfx::Rect Panel::GetBounds() const { | 157 gfx::Rect Panel::GetBounds() const { |
| 158 return native_panel_->GetPanelBounds(); | 158 return native_panel_->GetPanelBounds(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 bool Panel::IsMaximized() const { | 161 bool Panel::IsMaximized() const { |
| 162 NOTIMPLEMENTED(); | 162 NOTIMPLEMENTED(); |
| 163 return false; | 163 return false; |
| 164 } | 164 } |
| 165 | 165 |
| 166 bool Panel::IsMinimized() const { |
| 167 NOTIMPLEMENTED(); |
| 168 return false; |
| 169 } |
| 170 |
| 166 void Panel::SetFullscreen(bool fullscreen) { | 171 void Panel::SetFullscreen(bool fullscreen) { |
| 167 NOTIMPLEMENTED(); | 172 NOTIMPLEMENTED(); |
| 168 } | 173 } |
| 169 | 174 |
| 170 bool Panel::IsFullscreen() const { | 175 bool Panel::IsFullscreen() const { |
| 171 return false; | 176 return false; |
| 172 } | 177 } |
| 173 | 178 |
| 174 bool Panel::IsFullscreenBubbleVisible() const { | 179 bool Panel::IsFullscreenBubbleVisible() const { |
| 175 NOTIMPLEMENTED(); | 180 NOTIMPLEMENTED(); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 } | 438 } |
| 434 #endif | 439 #endif |
| 435 | 440 |
| 436 Browser* Panel::browser() const { | 441 Browser* Panel::browser() const { |
| 437 return native_panel_->GetPanelBrowser(); | 442 return native_panel_->GetPanelBrowser(); |
| 438 } | 443 } |
| 439 | 444 |
| 440 void Panel::DestroyBrowser() { | 445 void Panel::DestroyBrowser() { |
| 441 native_panel_->DestroyPanelBrowser(); | 446 native_panel_->DestroyPanelBrowser(); |
| 442 } | 447 } |
| OLD | NEW |