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

Unified Diff: webkit/glue/context_menu.h

Issue 3219002: FBTF: Move code from headers into cc files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | webkit/glue/context_menu.cc » ('j') | webkit/glue/form_field.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/context_menu.h
diff --git a/webkit/glue/context_menu.h b/webkit/glue/context_menu.h
index 764fb9df566288517c1d35810d94813e020cac26..b681a3864d6822d372104c1740950ffce59f5e7e 100644
--- a/webkit/glue/context_menu.h
+++ b/webkit/glue/context_menu.h
@@ -96,34 +96,9 @@ struct ContextMenuParams {
std::vector<WebMenuItem> custom_items;
- ContextMenuParams() {}
-
- ContextMenuParams(const WebKit::WebContextMenuData& data)
- : media_type(data.mediaType),
- x(data.mousePosition.x),
- y(data.mousePosition.y),
- link_url(data.linkURL),
- unfiltered_link_url(data.linkURL),
- src_url(data.srcURL),
- is_image_blocked(data.isImageBlocked),
- page_url(data.pageURL),
- frame_url(data.frameURL),
- media_flags(data.mediaFlags),
- selection_text(UTF16ToWideHack(data.selectedText)),
- misspelled_word(data.misspelledWord),
- spellcheck_enabled(data.isSpellCheckingEnabled),
- is_editable(data.isEditable),
-#if defined(OS_MACOSX)
- writing_direction_default(data.writingDirectionDefault),
- writing_direction_left_to_right(data.writingDirectionLeftToRight),
- writing_direction_right_to_left(data.writingDirectionRightToLeft),
-#endif // OS_MACOSX
- edit_flags(data.editFlags),
- security_info(data.securityInfo),
- frame_charset(data.frameEncoding.utf8()) {
- for (size_t i = 0; i < data.customItems.size(); ++i)
- custom_items.push_back(WebMenuItem(data.customItems[i]));
- }
+ ContextMenuParams();
+ ContextMenuParams(const WebKit::WebContextMenuData& data);
+ ~ContextMenuParams();
};
#endif // WEBKIT_GLUE_CONTEXT_MENU_H_
« no previous file with comments | « no previous file | webkit/glue/context_menu.cc » ('j') | webkit/glue/form_field.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698