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

Side by Side Diff: chrome/browser/ui/browser_window.h

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: Adress feedback Created 5 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/chrome_signin_helper.h" 10 #include "chrome/browser/signin/chrome_signin_helper.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, 387 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
388 const signin::ManageAccountsParams& manage_accounts_params) = 0; 388 const signin::ManageAccountsParams& manage_accounts_params) = 0;
389 389
390 // Shows the signin flow for |mode| in a tab-modal dialog. 390 // Shows the signin flow for |mode| in a tab-modal dialog.
391 virtual void ShowModalSigninWindow(AvatarBubbleMode mode) = 0; 391 virtual void ShowModalSigninWindow(AvatarBubbleMode mode) = 0;
392 392
393 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's 393 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's
394 // open. Does nothing otherwise. 394 // open. Does nothing otherwise.
395 virtual void CloseModalSigninWindow() = 0; 395 virtual void CloseModalSigninWindow() = 0;
396 396
397 virtual void ShowModalSyncConfirmationWindow() = 0;
Robert Sesek 2015/12/04 17:29:58 This should have a comment (all other methods in t
anthonyvd 2015/12/04 22:42:06 Done.
398
397 // Returns the height inset for RenderView when detached bookmark bar is 399 // Returns the height inset for RenderView when detached bookmark bar is
398 // shown. Invoked when a new RenderHostView is created for a non-NTP 400 // shown. Invoked when a new RenderHostView is created for a non-NTP
399 // navigation entry and the bookmark bar is detached. 401 // navigation entry and the bookmark bar is detached.
400 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0; 402 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0;
401 403
402 // Executes |command| registered by |extension|. 404 // Executes |command| registered by |extension|.
403 virtual void ExecuteExtensionCommand(const extensions::Extension* extension, 405 virtual void ExecuteExtensionCommand(const extensions::Extension* extension,
404 const extensions::Command& command) = 0; 406 const extensions::Command& command) = 0;
405 407
406 // Returns object implementing ExclusiveAccessContext interface. 408 // Returns object implementing ExclusiveAccessContext interface.
407 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 409 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
408 410
409 protected: 411 protected:
410 friend class BrowserCloseManager; 412 friend class BrowserCloseManager;
411 friend class BrowserView; 413 friend class BrowserView;
412 virtual void DestroyBrowser() = 0; 414 virtual void DestroyBrowser() = 0;
413 }; 415 };
414 416
415 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 417 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698