Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Side by Side Diff: chrome/browser/ui/panels/panel.cc

Issue 10332185: Update behavior of one-click infobar to remove modal dialog, add "undo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor comment fixes Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698