summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 18:17:08 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 18:17:08 +0000
commit8d97adeeabe5d28a50711423268168448bf56fd5 (patch)
tree9ef3250afc5c77c3425bb8c3789d7136cc99336b /webkit/glue
parent9e611f644c8043f2cf957af5ed094b1280ee1459 (diff)
downloadchromium_src-8d97adeeabe5d28a50711423268168448bf56fd5.zip
chromium_src-8d97adeeabe5d28a50711423268168448bf56fd5.tar.gz
chromium_src-8d97adeeabe5d28a50711423268168448bf56fd5.tar.bz2
Move a bunch of Chrome specific code out of RenderThread, in preparation of moving it to content.
Review URL: http://codereview.chromium.org/6850003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/context_menu.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/webkit/glue/context_menu.cc b/webkit/glue/context_menu.cc
index 0d68c03..317130e 100644
--- a/webkit/glue/context_menu.cc
+++ b/webkit/glue/context_menu.cc
@@ -5,9 +5,6 @@
#include "webkit/glue/context_menu.h"
#include "webkit/glue/glue_serialize.h"
-// TODO(jam): remove me once WebKit is merged.
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebSpellCheckClient.h"
-
namespace webkit_glue {
const int32 CustomContextMenuContext::kCurrentRenderWidget = kint32max;
@@ -46,11 +43,6 @@ ContextMenuParams::ContextMenuParams(const WebKit::WebContextMenuData& data)
edit_flags(data.editFlags),
security_info(data.securityInfo),
frame_charset(data.frameEncoding.utf8()) {
-#if defined(WEBSPELLCHECKCLIENT_HAS_SUGGESTIONS)
- for (size_t i = 0; i < data.dictionarySuggestions.size(); ++i)
- dictionary_suggestions.push_back(data.dictionarySuggestions[i]);
-#endif
-
custom_context.is_pepper_menu = false;
for (size_t i = 0; i < data.customItems.size(); ++i)
custom_items.push_back(WebMenuItem(data.customItems[i]));