OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(__OBJC__) | 9 #if defined(__OBJC__) |
10 | 10 |
11 #import <Cocoa/Cocoa.h> | 11 #import <Cocoa/Cocoa.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/memory/scoped_nsobject.h" | 16 #include "base/memory/scoped_nsobject.h" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 class WebContentsViewDelegate; | 147 class WebContentsViewDelegate; |
148 } | 148 } |
149 | 149 |
150 namespace web_contents_view_mac { | 150 namespace web_contents_view_mac { |
151 // Creates a WebContentsViewMac. Takes ownership of |delegate|. | 151 // Creates a WebContentsViewMac. Takes ownership of |delegate|. |
152 CONTENT_EXPORT content::WebContentsView* CreateWebContentsView( | 152 CONTENT_EXPORT content::WebContentsView* CreateWebContentsView( |
153 WebContentsImpl* web_contents, | 153 WebContentsImpl* web_contents, |
154 content::WebContentsViewDelegate* delegate); | 154 content::WebContentsViewDelegate* delegate); |
155 } | 155 } |
156 | 156 |
157 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 157 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |