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

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

Issue 2348423002: [Signin Error Dialog] (3/3) Added the triggering code (Closed)
Patch Set: Fix malformed function declaration on mac. Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.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 #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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 409
410 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's 410 // Closes the tab-modal signin flow opened with ShowModalSigninWindow, if it's
411 // open. Does nothing otherwise. 411 // open. Does nothing otherwise.
412 void CloseModalSigninWindow(); 412 void CloseModalSigninWindow();
413 413
414 // Shows the tab modal sync confirmation dialog that informs the user about 414 // Shows the tab modal sync confirmation dialog that informs the user about
415 // sync and gives them a chance to abort signin under the tab modal signin 415 // sync and gives them a chance to abort signin under the tab modal signin
416 // flow. 416 // flow.
417 void ShowModalSyncConfirmationWindow(); 417 void ShowModalSyncConfirmationWindow();
418 418
419 // Shows the tab modal signin error dialog that informs the user about
420 // signin errors.
421 void ShowModalSigninErrorWindow();
422
419 // Used to register a KeepAlive to affect the Chrome lifetime. The KeepAlive 423 // Used to register a KeepAlive to affect the Chrome lifetime. The KeepAlive
420 // is registered when the browser is added to the browser list, and unregisted 424 // is registered when the browser is added to the browser list, and unregisted
421 // when it is removed from it. 425 // when it is removed from it.
422 void RegisterKeepAlive(); 426 void RegisterKeepAlive();
423 void UnregisterKeepAlive(); 427 void UnregisterKeepAlive();
424 428
425 // Interface implementations //////////////////////////////////////////////// 429 // Interface implementations ////////////////////////////////////////////////
426 430
427 // Overridden from content::PageNavigator: 431 // Overridden from content::PageNavigator:
428 content::WebContents* OpenURL(const content::OpenURLParams& params) override; 432 content::WebContents* OpenURL(const content::OpenURLParams& params) override;
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 // The following factory is used for chrome update coalescing. 1006 // The following factory is used for chrome update coalescing.
1003 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1007 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1004 1008
1005 // The following factory is used to close the frame at a later time. 1009 // The following factory is used to close the frame at a later time.
1006 base::WeakPtrFactory<Browser> weak_factory_; 1010 base::WeakPtrFactory<Browser> weak_factory_;
1007 1011
1008 DISALLOW_COPY_AND_ASSIGN(Browser); 1012 DISALLOW_COPY_AND_ASSIGN(Browser);
1009 }; 1013 };
1010 1014
1011 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1015 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698