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_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 16 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
17 #include "content/browser/web_contents/web_contents_view.h" | 17 #include "content/browser/web_contents/web_contents_view.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "content/common/drag_event_source_info.h" | 19 #include "content/common/drag_event_source_info.h" |
20 #include "ui/base/cocoa/base_view.h" | 20 #include "ui/base/cocoa/base_view.h" |
21 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
22 | 22 |
23 @class FocusTracker; | 23 @class FocusTracker; |
24 class SkBitmap; | |
25 @class WebDragDest; | 24 @class WebDragDest; |
26 @class WebDragSource; | 25 @class WebDragSource; |
27 | 26 |
28 namespace content { | 27 namespace content { |
29 class PopupMenuHelper; | 28 class PopupMenuHelper; |
30 class WebContentsImpl; | 29 class WebContentsImpl; |
31 class WebContentsViewDelegate; | 30 class WebContentsViewDelegate; |
32 class WebContentsViewMac; | 31 class WebContentsViewMac; |
33 } | 32 } |
34 | 33 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 bool allow_other_views_; | 150 bool allow_other_views_; |
152 | 151 |
153 std::unique_ptr<PopupMenuHelper> popup_menu_helper_; | 152 std::unique_ptr<PopupMenuHelper> popup_menu_helper_; |
154 | 153 |
155 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); | 154 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); |
156 }; | 155 }; |
157 | 156 |
158 } // namespace content | 157 } // namespace content |
159 | 158 |
160 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 159 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |