summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 01:06:38 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 01:06:38 +0000
commitef3a0f2426d7d5618a7b0503b4b0260c8d616dc9 (patch)
tree7f8db9ffab7bd9d48420dedea8f0a985a0c8987b /chrome/browser/renderer_host
parent666f176c1156fba64ce6c9c935455fdf526be2e7 (diff)
downloadchromium_src-ef3a0f2426d7d5618a7b0503b4b0260c8d616dc9.zip
chromium_src-ef3a0f2426d7d5618a7b0503b4b0260c8d616dc9.tar.gz
chromium_src-ef3a0f2426d7d5618a7b0503b4b0260c8d616dc9.tar.bz2
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
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.cc2
1 files changed, 1 insertions, 1 deletions
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"