From ef3a0f2426d7d5618a7b0503b4b0260c8d616dc9 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Sat, 7 Mar 2009 01:06:38 +0000 Subject: Refactor render view context menu in preparation for porting. * RenderViewContextMenu is now cross platform. Each platform needs to implement an inheritor that fills in the virtual methods. * RenderViewContextMenuController was deleted. Platform agnostic elements from it were added to RenderViewContextMenu, while the Menu::Delegate implemenation was moved to RenderViewContextMenuWin. * Some more (minor) refactoring may need to be performed as the rest of the menu actions are ported. * include clipboard_service.h on all platforms (not sure why it wasn't included before) Review URL: http://codereview.chromium.org/40249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11183 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/renderer_host/resource_message_filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/renderer_host') diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc index 4460c37..4fce635 100644 --- a/chrome/browser/renderer_host/resource_message_filter.cc +++ b/chrome/browser/renderer_host/resource_message_filter.cc @@ -25,6 +25,7 @@ #include "chrome/browser/worker_host/worker_service.h" #include "chrome/common/chrome_plugin_lib.h" #include "chrome/common/chrome_plugin_util.h" +#include "chrome/common/clipboard_service.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" @@ -38,7 +39,6 @@ #if defined(OS_WIN) #include "chrome/browser/printing/print_job_manager.h" #include "chrome/browser/printing/printer_query.h" -#include "chrome/common/clipboard_service.h" #elif defined(OS_MACOSX) || defined(OS_LINUX) // TODO(port) remove this. #include "chrome/common/temp_scaffolding_stubs.h" -- cgit v1.1