Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 155378: Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698