OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/scoped_nsobject.h" | 14 #include "base/scoped_nsobject.h" |
15 #include "chrome/browser/tab_contents/tab_contents_view.h" | |
16 #include "chrome/browser/ui/cocoa/base_view.h" | 15 #include "chrome/browser/ui/cocoa/base_view.h" |
17 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
18 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
| 18 #include "content/browser/tab_contents/tab_contents_view.h" |
19 #include "ui/gfx/size.h" | 19 #include "ui/gfx/size.h" |
20 | 20 |
21 @class FocusTracker; | 21 @class FocusTracker; |
22 @class SadTabController; | 22 @class SadTabController; |
23 class SkBitmap; | 23 class SkBitmap; |
24 class TabContentsViewMac; | 24 class TabContentsViewMac; |
25 @class WebDragSource; | 25 @class WebDragSource; |
26 @class WebDropTarget; | 26 @class WebDropTarget; |
27 namespace gfx { | 27 namespace gfx { |
28 class Point; | 28 class Point; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // visible. | 121 // visible. |
122 scoped_nsobject<SadTabController> sad_tab_; | 122 scoped_nsobject<SadTabController> sad_tab_; |
123 | 123 |
124 // The page content's intrinsic width. | 124 // The page content's intrinsic width. |
125 int preferred_width_; | 125 int preferred_width_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); | 127 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); |
128 }; | 128 }; |
129 | 129 |
130 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 130 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |