| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 | 518 |
| 519 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { | 519 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { |
| 520 NOTIMPLEMENTED(); | 520 NOTIMPLEMENTED(); |
| 521 } | 521 } |
| 522 | 522 |
| 523 void Panel::ShowChromeToMobileBubble() { | 523 void Panel::ShowChromeToMobileBubble() { |
| 524 NOTIMPLEMENTED(); | 524 NOTIMPLEMENTED(); |
| 525 } | 525 } |
| 526 | 526 |
| 527 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 527 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 528 void Panel::ShowOneClickSigninBubble() { | 528 void Panel::ShowOneClickSigninBubble( |
| 529 const base::Closure& learn_more_callback, |
| 530 const base::Closure& advanced_callback) { |
| 529 NOTIMPLEMENTED(); | 531 NOTIMPLEMENTED(); |
| 530 } | 532 } |
| 531 #endif | 533 #endif |
| 532 | 534 |
| 533 bool Panel::IsDownloadShelfVisible() const { | 535 bool Panel::IsDownloadShelfVisible() const { |
| 534 return false; | 536 return false; |
| 535 } | 537 } |
| 536 | 538 |
| 537 DownloadShelf* Panel::GetDownloadShelf() { | 539 DownloadShelf* Panel::GetDownloadShelf() { |
| 538 Browser* panel_browser = native_panel_->GetPanelBrowser(); | 540 Browser* panel_browser = native_panel_->GetPanelBrowser(); |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 } | 750 } |
| 749 | 751 |
| 750 void Panel::OnTitlebarClicked(panel::ClickModifier modifier) { | 752 void Panel::OnTitlebarClicked(panel::ClickModifier modifier) { |
| 751 if (panel_strip_) | 753 if (panel_strip_) |
| 752 panel_strip_->OnPanelTitlebarClicked(this, modifier); | 754 panel_strip_->OnPanelTitlebarClicked(this, modifier); |
| 753 } | 755 } |
| 754 | 756 |
| 755 void Panel::DestroyBrowser() { | 757 void Panel::DestroyBrowser() { |
| 756 native_panel_->DestroyPanelBrowser(); | 758 native_panel_->DestroyPanelBrowser(); |
| 757 } | 759 } |
| OLD | NEW |