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" | 15 #include "chrome/browser/tab_contents/tab_contents_view.h" |
16 #include "chrome/browser/ui/cocoa/base_view.h" | 16 #include "chrome/browser/ui/cocoa/base_view.h" |
17 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
18 #include "gfx/size.h" | 18 #include "ui/gfx/size.h" |
19 | 19 |
20 @class FocusTracker; | 20 @class FocusTracker; |
21 @class SadTabController; | 21 @class SadTabController; |
22 class SkBitmap; | 22 class SkBitmap; |
23 class TabContentsViewMac; | 23 class TabContentsViewMac; |
24 @class WebDragSource; | 24 @class WebDragSource; |
25 @class WebDropTarget; | 25 @class WebDropTarget; |
26 namespace gfx { | 26 namespace gfx { |
27 class Point; | 27 class Point; |
28 } | 28 } |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // visible. | 120 // visible. |
121 scoped_nsobject<SadTabController> sad_tab_; | 121 scoped_nsobject<SadTabController> sad_tab_; |
122 | 122 |
123 // The page content's intrinsic width. | 123 // The page content's intrinsic width. |
124 int preferred_width_; | 124 int preferred_width_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); | 126 DISALLOW_COPY_AND_ASSIGN(TabContentsViewMac); |
127 }; | 127 }; |
128 | 128 |
129 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 129 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |