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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu_gtk.cc

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu_gtk.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
index 44c080442aecee5669f298e7fc3ab52d9fb34872..b1ec5a26d23c14c633c248df8e989f379b899981 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
@@ -10,7 +10,7 @@
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
-#include "content/browser/renderer_host/render_widget_host_view.h"
+#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/context_menu_params.h"
#include "grit/generated_resources.h"
@@ -76,7 +76,7 @@ GtkWidget* GetMenuItemByID(ui::MenuModel* model,
RenderViewContextMenuGtk::RenderViewContextMenuGtk(
WebContents* web_contents,
const content::ContextMenuParams& params,
- RenderWidgetHostView* view)
+ content::RenderWidgetHostView* view)
: RenderViewContextMenu(web_contents, params) {
GdkEventButton* event = view->GetLastMouseDown();
triggering_event_time_ = event ? event->time : GDK_CURRENT_TIME;
@@ -89,7 +89,7 @@ void RenderViewContextMenuGtk::PlatformInit() {
menu_gtk_.reset(new MenuGtk(this, &menu_model_));
if (params_.is_editable) {
- RenderWidgetHostView* rwhv =
+ content::RenderWidgetHostView* rwhv =
source_web_contents_->GetRenderWidgetHostView();
#if !defined(TOOLKIT_VIEWS)
if (rwhv) {

Powered by Google App Engine
This is Rietveld 408576698