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_CONTENTS_SAD_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/mac/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/macros.h" |
11 #include "chrome/browser/ui/sad_tab.h" | 11 #include "chrome/browser/ui/sad_tab.h" |
12 | 12 |
13 #import <Cocoa/Cocoa.h> | 13 #import <Cocoa/Cocoa.h> |
14 | 14 |
15 @class SadTabController; | 15 @class SadTabController; |
16 @class SadTabView; | 16 @class SadTabView; |
17 | 17 |
18 namespace chrome { | 18 namespace chrome { |
19 | 19 |
20 class SadTabCocoa : public SadTab { | 20 class SadTabCocoa : public SadTab { |
(...skipping 26 matching lines...) Expand all Loading... |
47 // Designated initializer. | 47 // Designated initializer. |
48 - (id)initWithWebContents:(content::WebContents*)webContents; | 48 - (id)initWithWebContents:(content::WebContents*)webContents; |
49 | 49 |
50 // Returns a weak reference to the WebContents whose WebContentsView created | 50 // Returns a weak reference to the WebContents whose WebContentsView created |
51 // this SadTabController. | 51 // this SadTabController. |
52 - (content::WebContents*)webContents; | 52 - (content::WebContents*)webContents; |
53 | 53 |
54 @end | 54 @end |
55 | 55 |
56 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ | 56 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |
OLD | NEW |