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

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

Issue 9863032: [Sync] [Mac] Implement one-click signin bubble for OS X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sky's comments Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698