| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/scoped_nsobject.h" | 10 #include "base/scoped_nsobject.h" |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "base/task.h" | 12 #include "base/task.h" |
| 13 #include "base/time.h" | 13 #include "base/time.h" |
| 14 #include "chrome/browser/cocoa/base_view.h" | 14 #include "chrome/browser/cocoa/base_view.h" |
| 15 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 15 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
| 16 | |
| 17 #include "webkit/glue/webcursor.h" | 16 #include "webkit/glue/webcursor.h" |
| 17 #include "webkit/glue/webmenuitem.h" |
| 18 | 18 |
| 19 class RenderWidgetHostViewMac; | 19 class RenderWidgetHostViewMac; |
| 20 class RWHVMEditCommandHelper; | 20 class RWHVMEditCommandHelper; |
| 21 @class ToolTip; | 21 @class ToolTip; |
| 22 | 22 |
| 23 @protocol RenderWidgetHostViewMacOwner | 23 @protocol RenderWidgetHostViewMacOwner |
| 24 - (RenderWidgetHostViewMac*)renderWidgetHostViewMac; | 24 - (RenderWidgetHostViewMac*)renderWidgetHostViewMac; |
| 25 @end | 25 @end |
| 26 | 26 |
| 27 // This is the view that lives in the Cocoa view hierarchy. In Windows-land, | 27 // This is the view that lives in the Cocoa view hierarchy. In Windows-land, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // Factory used to safely scope delayed calls to ShutdownHost(). | 156 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 157 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; | 157 ScopedRunnableMethodFactory<RenderWidgetHostViewMac> shutdown_factory_; |
| 158 | 158 |
| 159 // Used for positioning a popup menu. | 159 // Used for positioning a popup menu. |
| 160 BaseView* parent_view_; | 160 BaseView* parent_view_; |
| 161 | 161 |
| 162 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 162 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 165 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |