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

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

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_
7 7
8 #import "base/mac/scoped_nsobject.h" 8 #import "base/mac/scoped_nsobject.h"
9 #include "base/macros.h"
9 #include "components/web_modal/single_web_contents_dialog_manager.h" 10 #include "components/web_modal/single_web_contents_dialog_manager.h"
10 11
11 class ConstrainedWindowMac; 12 class ConstrainedWindowMac;
12 @protocol ConstrainedWindowSheet; 13 @protocol ConstrainedWindowSheet;
13 14
14 // Cocoa implementation of web_modal::SingleWebContentsDialogManager for showing 15 // Cocoa implementation of web_modal::SingleWebContentsDialogManager for showing
15 // native Cocoa sheet dialogs (of various kinds). 16 // native Cocoa sheet dialogs (of various kinds).
16 class SingleWebContentsDialogManagerCocoa 17 class SingleWebContentsDialogManagerCocoa
17 : public web_modal::SingleWebContentsDialogManager { 18 : public web_modal::SingleWebContentsDialogManager {
18 public: 19 public:
(...skipping 18 matching lines...) Expand all
37 base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_; 38 base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_;
38 // Weak. Owns this. 39 // Weak. Owns this.
39 web_modal::SingleWebContentsDialogManagerDelegate* delegate_; 40 web_modal::SingleWebContentsDialogManagerDelegate* delegate_;
40 // Weak. Owned by parent window. 41 // Weak. Owned by parent window.
41 web_modal::WebContentsModalDialogHost* host_; 42 web_modal::WebContentsModalDialogHost* host_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerCocoa); 44 DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerCocoa);
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_UI_COCOA_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_ 47 #endif // CHROME_BROWSER_UI_COCOA_SINGLE_WEB_CONTENTS_DIALOG_MANAGER_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698