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 "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { | 510 void Panel::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { |
511 NOTIMPLEMENTED(); | 511 NOTIMPLEMENTED(); |
512 } | 512 } |
513 | 513 |
514 void Panel::ShowChromeToMobileBubble() { | 514 void Panel::ShowChromeToMobileBubble() { |
515 NOTIMPLEMENTED(); | 515 NOTIMPLEMENTED(); |
516 } | 516 } |
517 | 517 |
518 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 518 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
519 void Panel::ShowOneClickSigninBubble( | 519 void Panel::ShowOneClickSigninBubble( |
520 const base::Closure& learn_more_callback, | 520 const base::Callback<void(bool)>& start_sync_callback) { |
521 const base::Closure& advanced_callback) { | |
522 NOTIMPLEMENTED(); | 521 NOTIMPLEMENTED(); |
523 } | 522 } |
524 #endif | 523 #endif |
525 | 524 |
526 bool Panel::IsDownloadShelfVisible() const { | 525 bool Panel::IsDownloadShelfVisible() const { |
527 return false; | 526 return false; |
528 } | 527 } |
529 | 528 |
530 DownloadShelf* Panel::GetDownloadShelf() { | 529 DownloadShelf* Panel::GetDownloadShelf() { |
531 Browser* panel_browser = native_panel_->GetPanelBrowser(); | 530 Browser* panel_browser = native_panel_->GetPanelBrowser(); |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 max_size_policy_ = CUSTOM_MAX_SIZE; | 785 max_size_policy_ = CUSTOM_MAX_SIZE; |
787 } | 786 } |
788 | 787 |
789 void Panel::OnPanelEndUserResizing() { | 788 void Panel::OnPanelEndUserResizing() { |
790 SetPreviewMode(false); | 789 SetPreviewMode(false); |
791 } | 790 } |
792 | 791 |
793 void Panel::DestroyBrowser() { | 792 void Panel::DestroyBrowser() { |
794 native_panel_->DestroyPanelBrowser(); | 793 native_panel_->DestroyPanelBrowser(); |
795 } | 794 } |
OLD | NEW |