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

Side by Side Diff: chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.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_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_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 #include "ui/views/widget/widget_observer.h" 11 #include "ui/views/widget/widget_observer.h"
11 12
12 @class NSWindow; 13 @class NSWindow;
13 @class WrappedConstrainedWindowSheet; 14 @class WrappedConstrainedWindowSheet;
14 15
15 // WebContents dialog manager for a toolkit-views dialog parented off a Cocoa 16 // WebContents dialog manager for a toolkit-views dialog parented off a Cocoa
16 // browser window. Most of the modality behavior is still performed by the Cocoa 17 // browser window. Most of the modality behavior is still performed by the Cocoa
17 // based ConstrainedWindowSheetController. This class bridges the expectations 18 // based ConstrainedWindowSheetController. This class bridges the expectations
18 // of a toolkit-views dialog to the Cocoa ConstrainedWindowSheetController. 19 // of a toolkit-views dialog to the Cocoa ConstrainedWindowSheetController.
(...skipping 30 matching lines...) Expand all
49 web_modal::SingleWebContentsDialogManagerDelegate* delegate_; 50 web_modal::SingleWebContentsDialogManagerDelegate* delegate_;
50 // Weak. Owned by parent window. 51 // Weak. Owned by parent window.
51 web_modal::WebContentsModalDialogHost* host_; 52 web_modal::WebContentsModalDialogHost* host_;
52 53
53 views::Widget* widget_; // Weak. Deletes |this| when closing. 54 views::Widget* widget_; // Weak. Deletes |this| when closing.
54 55
55 DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerViewsMac); 56 DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerViewsMac);
56 }; 57 };
57 58
58 #endif // CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_H _ 59 #endif // CHROME_BROWSER_UI_COCOA_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_MAC_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698