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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 } | 309 } |
310 | 310 |
311 tabbed_browser->window()->Show(); // Ensure download shelf is visible. | 311 tabbed_browser->window()->Show(); // Ensure download shelf is visible. |
312 return tabbed_browser->window()->GetDownloadShelf(); | 312 return tabbed_browser->window()->GetDownloadShelf(); |
313 } | 313 } |
314 | 314 |
315 void Panel::ShowRepostFormWarningDialog(TabContents* tab_contents) { | 315 void Panel::ShowRepostFormWarningDialog(TabContents* tab_contents) { |
316 NOTIMPLEMENTED(); | 316 NOTIMPLEMENTED(); |
317 } | 317 } |
318 | 318 |
319 void Panel::ShowCollectedCookiesDialog(TabContents* tab_contents) { | 319 void Panel::ShowCollectedCookiesDialog(TabContentsWrapper* wrapper) { |
320 NOTIMPLEMENTED(); | 320 NOTIMPLEMENTED(); |
321 } | 321 } |
322 | 322 |
323 void Panel::ShowThemeInstallBubble() { | 323 void Panel::ShowThemeInstallBubble() { |
324 NOTIMPLEMENTED(); | 324 NOTIMPLEMENTED(); |
325 } | 325 } |
326 | 326 |
327 void Panel::ConfirmBrowserCloseWithPendingDownloads() { | 327 void Panel::ConfirmBrowserCloseWithPendingDownloads() { |
328 NOTIMPLEMENTED(); | 328 NOTIMPLEMENTED(); |
329 } | 329 } |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 445 } |
446 #endif | 446 #endif |
447 | 447 |
448 Browser* Panel::browser() const { | 448 Browser* Panel::browser() const { |
449 return native_panel_->GetPanelBrowser(); | 449 return native_panel_->GetPanelBrowser(); |
450 } | 450 } |
451 | 451 |
452 void Panel::DestroyBrowser() { | 452 void Panel::DestroyBrowser() { |
453 native_panel_->DestroyPanelBrowser(); | 453 native_panel_->DestroyPanelBrowser(); |
454 } | 454 } |
OLD | NEW |