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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ |
7 | 7 |
8 #if defined(TOOLKIT_GTK) | 8 #if defined(TOOLKIT_GTK) |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #elif defined(OS_MACOSX) | 10 #elif defined(OS_MACOSX) |
11 #import <Cocoa/Cocoa.h> | 11 #import <Cocoa/Cocoa.h> |
12 #endif | 12 #endif |
13 | 13 |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/public/common/context_menu_source_type.h" | |
16 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
17 | 16 |
18 #if defined(OS_MACOSX) | 17 #if defined(OS_MACOSX) |
19 @protocol RenderWidgetHostViewMacDelegate; | 18 @protocol RenderWidgetHostViewMacDelegate; |
20 #endif | 19 #endif |
21 | 20 |
22 namespace gfx { | 21 namespace gfx { |
23 class Size; | 22 class Size; |
24 } | 23 } |
25 | 24 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // events on the responder chain. | 77 // events on the responder chain. |
79 virtual NSObject<RenderWidgetHostViewMacDelegate>* | 78 virtual NSObject<RenderWidgetHostViewMacDelegate>* |
80 CreateRenderWidgetHostViewDelegate( | 79 CreateRenderWidgetHostViewDelegate( |
81 RenderWidgetHost* render_widget_host) = 0; | 80 RenderWidgetHost* render_widget_host) = 0; |
82 #endif | 81 #endif |
83 }; | 82 }; |
84 | 83 |
85 } // namespace content | 84 } // namespace content |
86 | 85 |
87 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ | 86 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_WIN_DELEGATE_H_ |
OLD | NEW |