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

Side by Side Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 years, 11 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_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_ 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_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 "components/web_modal/web_contents_modal_dialog_manager.h" 11 #include "components/web_modal/web_contents_modal_dialog_manager.h"
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 class ConstrainedWindowMac; 16 class ConstrainedWindowMac;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Gets the dialog manager for |web_contents_|. 69 // Gets the dialog manager for |web_contents_|.
70 web_modal::WebContentsModalDialogManager* GetDialogManager(); 70 web_modal::WebContentsModalDialogManager* GetDialogManager();
71 71
72 ConstrainedWindowMacDelegate* delegate_; // weak, owns us. 72 ConstrainedWindowMacDelegate* delegate_; // weak, owns us.
73 SingleWebContentsDialogManagerCocoa* manager_; // weak, owned by WCMDM. 73 SingleWebContentsDialogManagerCocoa* manager_; // weak, owned by WCMDM.
74 content::WebContents* web_contents_; // weak, owned by dialog initiator. 74 content::WebContents* web_contents_; // weak, owned by dialog initiator.
75 base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_; 75 base::scoped_nsprotocol<id<ConstrainedWindowSheet>> sheet_;
76 std::unique_ptr<SingleWebContentsDialogManagerCocoa> native_manager_; 76 std::unique_ptr<SingleWebContentsDialogManagerCocoa> native_manager_;
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_ 79 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698