OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/gfx/size.h" | 10 #include "base/gfx/size.h" |
| 11 #include "base/scoped_ptr.h" |
11 #include "base/scoped_cftyperef.h" | 12 #include "base/scoped_cftyperef.h" |
12 #include "chrome/browser/cocoa/base_view.h" | 13 #include "chrome/browser/cocoa/base_view.h" |
13 #include "chrome/browser/tab_contents/web_contents_view.h" | 14 #include "chrome/browser/tab_contents/web_contents_view.h" |
14 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
15 | 16 |
16 class FindBarMac; | 17 class FindBarMac; |
17 @class SadTabView; | 18 @class SadTabView; |
18 class WebContentsViewMac; | 19 class WebContentsViewMac; |
19 | 20 |
20 @interface WebContentsViewCocoa : BaseView { | 21 @interface WebContentsViewCocoa : BaseView { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 NotificationRegistrar registrar_; | 105 NotificationRegistrar registrar_; |
105 | 106 |
106 // Used to render the sad tab. This will be non-NULL only when the sad tab is | 107 // Used to render the sad tab. This will be non-NULL only when the sad tab is |
107 // visible. | 108 // visible. |
108 scoped_cftyperef<SadTabView*> sad_tab_; | 109 scoped_cftyperef<SadTabView*> sad_tab_; |
109 | 110 |
110 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); | 111 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); |
111 }; | 112 }; |
112 | 113 |
113 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 114 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |