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