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

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

Issue 1674063002: Revert of [Reland] Enable AutoResize for Constrained Web Dialogs for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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"
11 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
12 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" 13 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
13 14
14 namespace content { 15 namespace content {
15 class WebContents; 16 class WebContents;
16 } 17 }
17 @class OneClickSigninViewController; 18 @class OneClickSigninViewController;
18 19
19 // After the user signs into chrome this class is used to display a tab modal 20 // After the user signs into chrome this class is used to display a tab modal
20 // signin confirmation dialog. 21 // signin confirmation dialog.
(...skipping 13 matching lines...) Expand all
34 35
35 ConstrainedWindowMac* constrained_window() const { 36 ConstrainedWindowMac* constrained_window() const {
36 return constrained_window_.get(); 37 return constrained_window_.get();
37 } 38 }
38 39
39 OneClickSigninViewController* view_controller() { return view_controller_; } 40 OneClickSigninViewController* view_controller() { return view_controller_; }
40 41
41 private: 42 private:
42 void PerformClose(); 43 void PerformClose();
43 44
44 std::unique_ptr<ConstrainedWindowMac> constrained_window_; 45 scoped_ptr<ConstrainedWindowMac> constrained_window_;
45 base::scoped_nsobject<OneClickSigninViewController> view_controller_; 46 base::scoped_nsobject<OneClickSigninViewController> view_controller_;
46 }; 47 };
47 48
48 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_ 49 #endif // CHROME_BROWSER_UI_COCOA_ONE_CLICK_SIGNIN_DIALOG_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/login_prompt_cocoa.mm ('k') | chrome/browser/ui/cocoa/one_click_signin_dialog_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698