diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 12:50:27 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 12:50:27 +0000 |
commit | 932b7a1c10095c90986bf5bc2e78ebc18d415c26 (patch) | |
tree | bfa8a3cb5f4f733ee7229913a05092120dc17063 /webkit/glue/context_menu.cc | |
parent | 87353134136c71d0135731e658a6a2b40057e0e2 (diff) | |
download | chromium_src-932b7a1c10095c90986bf5bc2e78ebc18d415c26.zip chromium_src-932b7a1c10095c90986bf5bc2e78ebc18d415c26.tar.gz chromium_src-932b7a1c10095c90986bf5bc2e78ebc18d415c26.tar.bz2 |
Make View frame source work for POST results.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6596015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/context_menu.cc')
-rw-r--r-- | webkit/glue/context_menu.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/context_menu.cc b/webkit/glue/context_menu.cc index 6db5c51..b4f479c 100644 --- a/webkit/glue/context_menu.cc +++ b/webkit/glue/context_menu.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "webkit/glue/context_menu.h" +#include "webkit/glue/glue_serialize.h" namespace webkit_glue { @@ -42,6 +43,11 @@ ContextMenuParams::ContextMenuParams(const WebKit::WebContextMenuData& data) custom_context.is_pepper_menu = false; for (size_t i = 0; i < data.customItems.size(); ++i) custom_items.push_back(WebMenuItem(data.customItems[i])); + + if (!data.frameHistoryItem.isNull()) { + frame_content_state = + webkit_glue::HistoryItemToString(data.frameHistoryItem); + } } ContextMenuParams::~ContextMenuParams() { |