Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Unified Diff: content/public/common/context_menu_params.h

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index 1d5d9c6b635938f867d086c44e2fae48768c5167..fd455d8f1bc15a71189597a7fbcb5bd21f8e0cc9 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -11,6 +11,7 @@
#include "base/string16.h"
#include "googleurl/src/gurl.h"
#include "content/common/content_export.h"
+#include "content/public/common/page_state.h"
#include "content/public/common/ssl_status.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
@@ -87,9 +88,8 @@ struct CONTENT_EXPORT ContextMenuParams {
// This is the ID of the subframe that the context menu was invoked on.
int64 frame_id;
- // This is the history item state of the subframe that the context menu was
- // invoked on.
- std::string frame_content_state;
+ // This is the page state of the frame on which the context menu was invoked.
+ PageState frame_page_state;
// These are the parameters for the media element that the context menu
// was invoked on.

Powered by Google App Engine
This is Rietveld 408576698