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

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

Issue 2255413002: [Signin Error Dialog] (3/3) Added the triggering code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: anthonyvd's first pass Created 4 years, 4 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 #ifndef CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 413
414 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's 414 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's
415 // open. Does nothing otherwise. 415 // open. Does nothing otherwise.
416 void CloseModalSigninWindow(); 416 void CloseModalSigninWindow();
417 417
418 // Shows the tab modal sync confirmation dialog that informs the user about 418 // Shows the tab modal sync confirmation dialog that informs the user about
419 // sync and gives them a chance to abort signin under the tab modal signin 419 // sync and gives them a chance to abort signin under the tab modal signin
420 // flow. 420 // flow.
421 void ShowModalSyncConfirmationWindow(); 421 void ShowModalSyncConfirmationWindow();
422 422
423 // Shows the tab modal signin error dialog that informs the user about
424 // signin errors.
425 void ShowModalSigninErrorWindow();
426
423 // Used to register a KeepAlive to affect the Chrome lifetime. The KeepAlive 427 // Used to register a KeepAlive to affect the Chrome lifetime. The KeepAlive
424 // is registered when the browser is added to the browser list, and unregisted 428 // is registered when the browser is added to the browser list, and unregisted
425 // when it is removed from it. 429 // when it is removed from it.
426 void RegisterKeepAlive(); 430 void RegisterKeepAlive();
427 void UnregisterKeepAlive(); 431 void UnregisterKeepAlive();
428 432
429 // Interface implementations //////////////////////////////////////////////// 433 // Interface implementations ////////////////////////////////////////////////
430 434
431 // Overridden from content::PageNavigator: 435 // Overridden from content::PageNavigator:
432 content::WebContents* OpenURL(const content::OpenURLParams& params) override; 436 content::WebContents* OpenURL(const content::OpenURLParams& params) override;
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 // The following factory is used for chrome update coalescing. 1013 // The following factory is used for chrome update coalescing.
1010 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1014 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1011 1015
1012 // The following factory is used to close the frame at a later time. 1016 // The following factory is used to close the frame at a later time.
1013 base::WeakPtrFactory<Browser> weak_factory_; 1017 base::WeakPtrFactory<Browser> weak_factory_;
1014 1018
1015 DISALLOW_COPY_AND_ASSIGN(Browser); 1019 DISALLOW_COPY_AND_ASSIGN(Browser);
1016 }; 1020 };
1017 1021
1018 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1022 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698