diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-07 01:06:38 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-07 01:06:38 +0000 |
commit | ef3a0f2426d7d5618a7b0503b4b0260c8d616dc9 (patch) | |
tree | 7f8db9ffab7bd9d48420dedea8f0a985a0c8987b /chrome/common | |
parent | 666f176c1156fba64ce6c9c935455fdf526be2e7 (diff) | |
download | chromium_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/common')
-rw-r--r-- | chrome/common/clipboard_service.h | 13 | ||||
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 4 |
2 files changed, 4 insertions, 13 deletions
diff --git a/chrome/common/clipboard_service.h b/chrome/common/clipboard_service.h index ed34afd..2ebcdd0 100644 --- a/chrome/common/clipboard_service.h +++ b/chrome/common/clipboard_service.h @@ -2,23 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_CLIPBOARD_SERVICE_H__ -#define CHROME_COMMON_CLIPBOARD_SERVICE_H__ - -#include <string> -#include <vector> +#ifndef CHROME_COMMON_CLIPBOARD_SERVICE_H_ +#define CHROME_COMMON_CLIPBOARD_SERVICE_H_ #include "base/clipboard.h" -class SkBitmap; - class ClipboardService : public Clipboard { public: ClipboardService() {} private: - DISALLOW_EVIL_CONSTRUCTORS(ClipboardService); + DISALLOW_COPY_AND_ASSIGN(ClipboardService); }; -#endif // CHROME_COMMON_CLIPBOARD_SERVICE_H__ +#endif // CHROME_COMMON_CLIPBOARD_SERVICE_H_ diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 22b220c..83dbc74 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -175,10 +175,6 @@ void InstallJankometer(const CommandLine&); //--------------------------------------------------------------------------- // These stubs are for BrowserProcessImpl -class ClipboardService : public Clipboard { - public: -}; - class CancelableTask; class ViewMsg_Print_Params; |