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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.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.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index d827865e0da2b054ab3f7f70355c10ebb327f13f..23a308688462c82ee2fdc14b580fd3a49562c4fb 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -62,12 +62,12 @@
#include "chrome/common/url_constants.h"
#include "content/browser/download/download_types.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/browser/renderer_host/render_widget_host_view.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/speech_input_preferences.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
@@ -1876,7 +1876,8 @@ void RenderViewContextMenu::MenuWillShow(ui::SimpleMenuModel* source) {
if (source != &menu_model_)
return;
- RenderWidgetHostView* view = source_web_contents_->GetRenderWidgetHostView();
+ content::RenderWidgetHostView* view =
+ source_web_contents_->GetRenderWidgetHostView();
if (view)
view->SetShowingContextMenu(true);
}
@@ -1886,7 +1887,8 @@ void RenderViewContextMenu::MenuClosed(ui::SimpleMenuModel* source) {
if (source != &menu_model_)
return;
- RenderWidgetHostView* view = source_web_contents_->GetRenderWidgetHostView();
+ content::RenderWidgetHostView* view =
+ source_web_contents_->GetRenderWidgetHostView();
if (view)
view->SetShowingContextMenu(false);
RenderViewHost* rvh = source_web_contents_->GetRenderViewHost();

Powered by Google App Engine
This is Rietveld 408576698