Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | |
|
tapted
2015/03/02 04:28:50
nit: import
Andre
2015/03/02 18:47:31
Done.
| |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 12 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
| 12 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" | 13 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" |
| 13 | 14 |
| 14 @class ConstrainedWindowAlert; | 15 @class ConstrainedWindowAlert; |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 class WebContents; | 18 class WebContents; |
| 18 } | 19 } |
| 19 | 20 |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 48 | 49 |
| 49 scoped_ptr<ConstrainedWindowMac> window_; | 50 scoped_ptr<ConstrainedWindowMac> window_; |
| 50 scoped_ptr<TabModalConfirmDialogDelegate> delegate_; | 51 scoped_ptr<TabModalConfirmDialogDelegate> delegate_; |
| 51 base::scoped_nsobject<ConstrainedWindowAlert> alert_; | 52 base::scoped_nsobject<ConstrainedWindowAlert> alert_; |
| 52 base::scoped_nsobject<TabModalConfirmDialogMacBridge> bridge_; | 53 base::scoped_nsobject<TabModalConfirmDialogMacBridge> bridge_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogMac); | 55 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogMac); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_UI_COCOA_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ | 58 #endif // CHROME_BROWSER_UI_COCOA_TAB_MODAL_CONFIRM_DIALOG_MAC_H_ |
| OLD | NEW |