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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 130773004: Start moving context menu code to RenderFrame. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 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
OLDNEW
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_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual RenderWidgetHostView* CreateViewForWidget( 117 virtual RenderWidgetHostView* CreateViewForWidget(
118 RenderWidgetHost* render_widget_host) OVERRIDE; 118 RenderWidgetHost* render_widget_host) OVERRIDE;
119 virtual RenderWidgetHostView* CreateViewForPopupWidget( 119 virtual RenderWidgetHostView* CreateViewForPopupWidget(
120 RenderWidgetHost* render_widget_host) OVERRIDE; 120 RenderWidgetHost* render_widget_host) OVERRIDE;
121 virtual void SetPageTitle(const base::string16& title) OVERRIDE; 121 virtual void SetPageTitle(const base::string16& title) OVERRIDE;
122 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 122 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
123 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE; 123 virtual void RenderViewSwappedIn(RenderViewHost* host) OVERRIDE;
124 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE; 124 virtual void SetOverscrollControllerEnabled(bool enabled) OVERRIDE;
125 125
126 // Overridden from RenderViewHostDelegateView: 126 // Overridden from RenderViewHostDelegateView:
127 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; 127 virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
128 const ContextMenuParams& params) OVERRIDE;
128 virtual void ShowPopupMenu(const gfx::Rect& bounds, 129 virtual void ShowPopupMenu(const gfx::Rect& bounds,
129 int item_height, 130 int item_height,
130 double item_font_size, 131 double item_font_size,
131 int selected_item, 132 int selected_item,
132 const std::vector<MenuItem>& items, 133 const std::vector<MenuItem>& items,
133 bool right_aligned, 134 bool right_aligned,
134 bool allow_multiple_selection) OVERRIDE; 135 bool allow_multiple_selection) OVERRIDE;
135 virtual void StartDragging(const DropData& drop_data, 136 virtual void StartDragging(const DropData& drop_data,
136 blink::WebDragOperationsMask operations, 137 blink::WebDragOperationsMask operations,
137 const gfx::ImageSkia& image, 138 const gfx::ImageSkia& image,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_; 225 scoped_ptr<ShadowLayerDelegate> overscroll_shadow_;
225 226
226 scoped_ptr<TouchEditableImplAura> touch_editable_; 227 scoped_ptr<TouchEditableImplAura> touch_editable_;
227 228
228 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 229 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
229 }; 230 };
230 231
231 } // namespace content 232 } // namespace content
232 233
233 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 234 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698