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

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

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 14 matching lines...) Expand all
25 // open links, |email| is the user's email address that is used for sync, 25 // open links, |email| is the user's email address that is used for sync,
26 // and |sync_callback| is called to start sync. 26 // and |sync_callback| is called to start sync.
27 OneClickSigninDialogController( 27 OneClickSigninDialogController(
28 content::WebContents* web_contents, 28 content::WebContents* web_contents,
29 const BrowserWindow::StartSyncCallback& sync_callback, 29 const BrowserWindow::StartSyncCallback& sync_callback,
30 const base::string16& email); 30 const base::string16& email);
31 virtual ~OneClickSigninDialogController(); 31 virtual ~OneClickSigninDialogController();
32 32
33 // ConstrainedWindowMacDelegate implementation. 33 // ConstrainedWindowMacDelegate implementation.
34 virtual void OnConstrainedWindowClosed( 34 virtual void OnConstrainedWindowClosed(
35 ConstrainedWindowMac* window) OVERRIDE; 35 ConstrainedWindowMac* window) override;
36 36
37 ConstrainedWindowMac* constrained_window() const { 37 ConstrainedWindowMac* constrained_window() const {
38 return constrained_window_.get(); 38 return constrained_window_.get();
39 } 39 }
40 40
41 OneClickSigninViewController* view_controller() { return view_controller_; } 41 OneClickSigninViewController* view_controller() { return view_controller_; }
42 42
43 private: 43 private:
44 void PerformClose(); 44 void PerformClose();
45 45
46 scoped_ptr<ConstrainedWindowMac> constrained_window_; 46 scoped_ptr<ConstrainedWindowMac> constrained_window_;
47 base::scoped_nsobject<OneClickSigninViewController> view_controller_; 47 base::scoped_nsobject<OneClickSigninViewController> view_controller_;
48 }; 48 };
49 49
50 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_ 50 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698