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 <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/mac/scoped_nsobject.h" | 13 #include "base/mac/scoped_nsobject.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 15 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
16 #include "content/browser/web_contents/web_contents_view.h" | 16 #include "content/browser/web_contents/web_contents_view.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "content/common/drag_event_source_info.h" | 18 #include "content/common/drag_event_source_info.h" |
19 #include "ui/base/cocoa/base_view.h" | 19 #include "ui/base/cocoa/base_view.h" |
20 #include "ui/gfx/size.h" | 20 #include "ui/gfx/geometry/size.h" |
21 | 21 |
22 @class FocusTracker; | 22 @class FocusTracker; |
23 class SkBitmap; | 23 class SkBitmap; |
24 @class WebDragDest; | 24 @class WebDragDest; |
25 @class WebDragSource; | 25 @class WebDragSource; |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 class PopupMenuHelper; | 28 class PopupMenuHelper; |
29 class WebContentsImpl; | 29 class WebContentsImpl; |
30 class WebContentsViewDelegate; | 30 class WebContentsViewDelegate; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 bool allow_other_views_; | 144 bool allow_other_views_; |
145 | 145 |
146 scoped_ptr<PopupMenuHelper> popup_menu_helper_; | 146 scoped_ptr<PopupMenuHelper> popup_menu_helper_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); | 148 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace content | 151 } // namespace content |
152 | 152 |
153 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ | 153 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |