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

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

Issue 1126203011: Start displaying title text for HTML elements without links. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « content/public/common/context_menu_params.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/logging.h" 7 #include "base/logging.h"
8 #include "content/common/ssl_status_serialization.h" 8 #include "content/common/ssl_status_serialization.h"
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 14 matching lines...) Expand all
25 params.y = data.mousePosition.y; 25 params.y = data.mousePosition.y;
26 params.link_url = data.linkURL; 26 params.link_url = data.linkURL;
27 params.unfiltered_link_url = data.linkURL; 27 params.unfiltered_link_url = data.linkURL;
28 params.src_url = data.srcURL; 28 params.src_url = data.srcURL;
29 params.has_image_contents = data.hasImageContents; 29 params.has_image_contents = data.hasImageContents;
30 params.page_url = data.pageURL; 30 params.page_url = data.pageURL;
31 params.keyword_url = data.keywordURL; 31 params.keyword_url = data.keywordURL;
32 params.frame_url = data.frameURL; 32 params.frame_url = data.frameURL;
33 params.media_flags = data.mediaFlags; 33 params.media_flags = data.mediaFlags;
34 params.selection_text = data.selectedText; 34 params.selection_text = data.selectedText;
35 params.title_text = data.titleText;
35 params.misspelled_word = data.misspelledWord; 36 params.misspelled_word = data.misspelledWord;
36 params.misspelling_hash = data.misspellingHash; 37 params.misspelling_hash = data.misspellingHash;
37 params.spellcheck_enabled = data.isSpellCheckingEnabled; 38 params.spellcheck_enabled = data.isSpellCheckingEnabled;
38 params.is_editable = data.isEditable; 39 params.is_editable = data.isEditable;
39 params.writing_direction_default = data.writingDirectionDefault; 40 params.writing_direction_default = data.writingDirectionDefault;
40 params.writing_direction_left_to_right = data.writingDirectionLeftToRight; 41 params.writing_direction_left_to_right = data.writingDirectionLeftToRight;
41 params.writing_direction_right_to_left = data.writingDirectionRightToLeft; 42 params.writing_direction_right_to_left = data.writingDirectionRightToLeft;
42 params.edit_flags = data.editFlags; 43 params.edit_flags = data.editFlags;
43 params.frame_charset = data.frameEncoding.utf8(); 44 params.frame_charset = data.frameEncoding.utf8();
44 params.referrer_policy = data.referrerPolicy; 45 params.referrer_policy = data.referrerPolicy;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 &params.security_info.cert_id, &params.security_info.cert_status, 80 &params.security_info.cert_id, &params.security_info.cert_status,
80 &params.security_info.security_bits, 81 &params.security_info.security_bits,
81 &params.security_info.connection_status, 82 &params.security_info.connection_status,
82 &params.security_info.signed_certificate_timestamp_ids); 83 &params.security_info.signed_certificate_timestamp_ids);
83 } 84 }
84 85
85 return params; 86 return params;
86 } 87 }
87 88
88 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/context_menu_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698