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 #pragma once | |
8 | 7 |
9 #if defined(TOOLKIT_GTK) | 8 #if defined(TOOLKIT_GTK) |
10 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
11 #elif defined(OS_MACOSX) | 10 #elif defined(OS_MACOSX) |
12 #import <Cocoa/Cocoa.h> | 11 #import <Cocoa/Cocoa.h> |
13 #endif | 12 #endif |
14 | 13 |
15 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
16 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
17 | 16 |
(...skipping 60 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 |