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

Side by Side Diff: public/web/WebContextMenuData.h

Issue 334243004: Use suggested filename for "Save Link As" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments Created 6 years, 6 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 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 // Extra attributes describing media elements. 111 // Extra attributes describing media elements.
112 int mediaFlags; 112 int mediaFlags;
113 113
114 // The raw text of the selection in context. 114 // The raw text of the selection in context.
115 WebString selectedText; 115 WebString selectedText;
116 116
117 // Whether spell checking is enabled. 117 // Whether spell checking is enabled.
118 bool isSpellCheckingEnabled; 118 bool isSpellCheckingEnabled;
119 119
120 // Suggested filename for saving file.
121 WebString suggestedFilename;
122
120 // The editable (possibily) misspelled word. 123 // The editable (possibily) misspelled word.
121 WebString misspelledWord; 124 WebString misspelledWord;
122 125
123 // The identifier of the misspelling. 126 // The identifier of the misspelling.
124 uint32_t misspellingHash; 127 uint32_t misspellingHash;
125 128
126 // If misspelledWord is not empty, holds suggestions from the dictionary. 129 // If misspelledWord is not empty, holds suggestions from the dictionary.
127 WebVector<WebString> dictionarySuggestions; 130 WebVector<WebString> dictionarySuggestions;
128 131
129 // Whether context is editable. 132 // Whether context is editable.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 , isEditable(false) 179 , isEditable(false)
177 , writingDirectionDefault(CheckableMenuItemDisabled) 180 , writingDirectionDefault(CheckableMenuItemDisabled)
178 , writingDirectionLeftToRight(CheckableMenuItemEnabled) 181 , writingDirectionLeftToRight(CheckableMenuItemEnabled)
179 , writingDirectionRightToLeft(CheckableMenuItemEnabled) 182 , writingDirectionRightToLeft(CheckableMenuItemEnabled)
180 , editFlags(0) { } 183 , editFlags(0) { }
181 }; 184 };
182 185
183 } // namespace blink 186 } // namespace blink
184 187
185 #endif 188 #endif
OLDNEW
« Source/web/ContextMenuClientImpl.cpp ('K') | « Source/web/ContextMenuClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698