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

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: Don't call ok in tests of advanced link 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698