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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 1487283005: Implement the new Sync Confirmation dialog on Linux and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac/ChromeOS builds and iOS tests. Created 4 years, 11 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
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/cocoa/browser_window_cocoa.h" 5 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/sdk_forward_declarations.h" 10 #import "base/mac/sdk_forward_declarations.h"
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 withMode:mode 855 withMode:mode
856 withServiceType:manage_accounts_params.service_type 856 withServiceType:manage_accounts_params.service_type
857 fromAccessPoint:access_point]; 857 fromAccessPoint:access_point];
858 } 858 }
859 859
860 void BrowserWindowCocoa::ShowModalSigninWindow( 860 void BrowserWindowCocoa::ShowModalSigninWindow(
861 AvatarBubbleMode mode, 861 AvatarBubbleMode mode,
862 signin_metrics::AccessPoint access_point) { 862 signin_metrics::AccessPoint access_point) {
863 NOTREACHED(); 863 NOTREACHED();
864 } 864 }
865
865 void BrowserWindowCocoa::CloseModalSigninWindow() { 866 void BrowserWindowCocoa::CloseModalSigninWindow() {
866 NOTREACHED(); 867 NOTREACHED();
867 } 868 }
868 869
870 void BrowserWindowCocoa::ShowModalSyncConfirmationWindow() {
871 NOTREACHED();
872 }
873
869 int 874 int
870 BrowserWindowCocoa::GetRenderViewHeightInsetWithDetachedBookmarkBar() { 875 BrowserWindowCocoa::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
871 if (browser_->bookmark_bar_state() != BookmarkBar::DETACHED) 876 if (browser_->bookmark_bar_state() != BookmarkBar::DETACHED)
872 return 0; 877 return 0;
873 return 40; 878 return 40;
874 } 879 }
875 880
876 void BrowserWindowCocoa::ExecuteExtensionCommand( 881 void BrowserWindowCocoa::ExecuteExtensionCommand(
877 const extensions::Extension* extension, 882 const extensions::Extension* extension,
878 const extensions::Command& command) { 883 const extensions::Command& command) {
(...skipping 15 matching lines...) Expand all
894 void BrowserWindowCocoa::UnhideDownloadShelf() { 899 void BrowserWindowCocoa::UnhideDownloadShelf() {
895 GetDownloadShelf()->Unhide(); 900 GetDownloadShelf()->Unhide();
896 } 901 }
897 902
898 void BrowserWindowCocoa::HideDownloadShelf() { 903 void BrowserWindowCocoa::HideDownloadShelf() {
899 GetDownloadShelf()->Hide(); 904 GetDownloadShelf()->Hide();
900 StatusBubble* statusBubble = GetStatusBubble(); 905 StatusBubble* statusBubble = GetStatusBubble();
901 if (statusBubble) 906 if (statusBubble)
902 statusBubble->Hide(); 907 statusBubble->Hide();
903 } 908 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698