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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h

Issue 1446623003: [Reland] Enable AutoResize for Constrained Web Dialogs for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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) 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_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ExtensionInstallViewController* view_controller() const { 50 ExtensionInstallViewController* view_controller() const {
51 return view_controller_; 51 return view_controller_;
52 } 52 }
53 53
54 private: 54 private:
55 void OnPromptButtonClicked(ExtensionInstallPrompt::Result result, 55 void OnPromptButtonClicked(ExtensionInstallPrompt::Result result,
56 const char* decision_event); 56 const char* decision_event);
57 57
58 ExtensionInstallPrompt::DoneCallback done_callback_; 58 ExtensionInstallPrompt::DoneCallback done_callback_;
59 base::scoped_nsobject<ExtensionInstallViewController> view_controller_; 59 base::scoped_nsobject<ExtensionInstallViewController> view_controller_;
60 scoped_ptr<ConstrainedWindowMac> constrained_window_; 60 std::unique_ptr<ConstrainedWindowMac> constrained_window_;
61 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; 61 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallDialogController); 63 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallDialogController);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_ 66 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698