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

Side by Side Diff: content/renderer/context_menu_params_builder.cc

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/context_menu_params_builder.h" 5 #include "content/renderer/context_menu_params_builder.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "content/public/common/context_menu_params.h" 9 #include "content/public/common/context_menu_params.h"
10 #include "content/public/renderer/content_renderer_client.h" 10 #include "content/public/renderer/content_renderer_client.h"
(...skipping 13 matching lines...) Expand all
24 params.unfiltered_link_url = data.linkURL; 24 params.unfiltered_link_url = data.linkURL;
25 params.src_url = data.srcURL; 25 params.src_url = data.srcURL;
26 params.has_image_contents = data.hasImageContents; 26 params.has_image_contents = data.hasImageContents;
27 params.page_url = data.pageURL; 27 params.page_url = data.pageURL;
28 params.keyword_url = data.keywordURL; 28 params.keyword_url = data.keywordURL;
29 params.frame_url = data.frameURL; 29 params.frame_url = data.frameURL;
30 params.media_flags = data.mediaFlags; 30 params.media_flags = data.mediaFlags;
31 params.selection_text = data.selectedText; 31 params.selection_text = data.selectedText;
32 params.title_text = data.titleText; 32 params.title_text = data.titleText;
33 params.misspelled_word = data.misspelledWord; 33 params.misspelled_word = data.misspelledWord;
34 params.misspelling_hash = data.misspellingHash;
35 params.spellcheck_enabled = data.isSpellCheckingEnabled; 34 params.spellcheck_enabled = data.isSpellCheckingEnabled;
36 params.is_editable = data.isEditable; 35 params.is_editable = data.isEditable;
37 params.writing_direction_default = data.writingDirectionDefault; 36 params.writing_direction_default = data.writingDirectionDefault;
38 params.writing_direction_left_to_right = data.writingDirectionLeftToRight; 37 params.writing_direction_left_to_right = data.writingDirectionLeftToRight;
39 params.writing_direction_right_to_left = data.writingDirectionRightToLeft; 38 params.writing_direction_right_to_left = data.writingDirectionRightToLeft;
40 params.edit_flags = data.editFlags; 39 params.edit_flags = data.editFlags;
41 params.frame_charset = data.frameEncoding.utf8(); 40 params.frame_charset = data.frameEncoding.utf8();
42 params.referrer_policy = data.referrerPolicy; 41 params.referrer_policy = data.referrerPolicy;
43 params.suggested_filename = data.suggestedFilename; 42 params.suggested_filename = data.suggestedFilename;
44 params.input_field_type = data.inputFieldType; 43 params.input_field_type = data.inputFieldType;
(...skipping 14 matching lines...) Expand all
59 params.frame_page_state = 58 params.frame_page_state =
60 SingleHistoryItemToPageState(data.frameHistoryItem); 59 SingleHistoryItemToPageState(data.frameHistoryItem);
61 } 60 }
62 61
63 params.link_text = data.linkText; 62 params.link_text = data.linkText;
64 63
65 return params; 64 return params;
66 } 65 }
67 66
68 } // namespace content 67 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | third_party/WebKit/Source/core/editing/markers/DocumentMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698